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(BaseContext 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
Function
execute
in interface Function
ExpressionException
public void initArgs(Expression[] args)
Function
public java.lang.Class<?> getType()
Function
public java.lang.String getArgDocString()
Function
getArgDocString
in interface Function
public Function copy()
Function
public void connect(BaseContext context, InteractionListener updateListener)
Function
public void disconnect()
Function
disconnect
in interface Function
public void startup()
Function