public class ClientDynamicDispatchFunction extends java.lang.Object implements Function
| Constructor and Description |
|---|
ClientDynamicDispatchFunction() |
ClientDynamicDispatchFunction(java.lang.String name,
Function func) |
| Modifier and Type | Method and Description |
|---|---|
void |
connect(CommonContext context,
InteractionListener updateListener)
Gives the function a chance to connect itself to things, if necessary.
|
Function |
copy()
Creates a copy of this function.
|
void |
disconnect()
Tells the function to disconnect from anything it was connected to.
|
QualifiedValue |
execute(Expression[] args)
Execute this function, and return the function's qualified value.
|
java.lang.String |
getArgDocString()
Returns a string to be used in the auto-generated function documentation.
|
java.lang.String |
getFunctionName() |
java.lang.Class<?> |
getType()
Returns the type of Object that this function will generate with execute
|
void |
initArgs(Expression[] args)
Initialize this function with the given arguments.
|
void |
setFunctionName(java.lang.String functionName) |
void |
shutdown()
Tells the function to shutdown any polling operations.
|
void |
startup()
Tells the function to startup any polling operations.
|
public ClientDynamicDispatchFunction()
public ClientDynamicDispatchFunction(java.lang.String name,
Function func)
public java.lang.String getFunctionName()
public void setFunctionName(java.lang.String functionName)
public QualifiedValue execute(Expression[] args) throws ExpressionException
Functionexecute in interface FunctionExpressionExceptionpublic void initArgs(Expression[] args)
Functionpublic java.lang.Class<?> getType()
Functionpublic java.lang.String getArgDocString()
FunctiongetArgDocString in interface Functionpublic Function copy()
Functionpublic void connect(CommonContext context, InteractionListener updateListener)
Functionpublic void disconnect()
Functiondisconnect in interface Functionpublic void startup()
Function