org.atmosphere.wasync
Class FunctionWrapper

java.lang.Object
  extended by org.atmosphere.wasync.FunctionWrapper

public class FunctionWrapper
extends Object

A tuple which contains a Function and its associated functionName. The values are passed from


     socket.on("message, new Function<String>() {
         ....
     }
 
This class is only used by Transport implementation.

Author:
Jeanfrancois Arcand

Constructor Summary
FunctionWrapper(String functionName, Function<?> function)
           
 
Method Summary
 Function<?> function()
           
 String functionName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FunctionWrapper

public FunctionWrapper(String functionName,
                       Function<?> function)
Method Detail

function

public Function<?> function()

functionName

public String functionName()


Copyright © 2013. All Rights Reserved.