groovyx.gpars.dataflow
Class DataFlowInvocationExpression
java.lang.Object
groovyx.gpars.serial.WithSerialId
groovyx.gpars.dataflow.DataFlowExpression<T>
groovyx.gpars.dataflow.DataFlowComplexExpression<java.lang.Object>
groovyx.gpars.dataflow.DataFlowInvocationExpression
- All Implemented Interfaces:
- groovy.lang.GroovyObject, DataFlowReadChannel<java.lang.Object>, java.io.Serializable
public class DataFlowInvocationExpression
- extends DataFlowComplexExpression<java.lang.Object>
Data flow expression which invokes method of object after receiver and all arguments became available
- Author:
- Alex Tkachman
- See Also:
- Serialized Form
Methods inherited from class groovyx.gpars.dataflow.DataFlowExpression |
bind, bindSafely, bindUnique, doBindRemote, getMetaClass, getProperty, getVal, getVal, getValAsync, getValAsync, invokeMethod, isBound, join, join, poll, rightShift, setMetaClass, setProperty, subscribe, toString, transform, whenBound, whenBound, wheneverBound, wheneverBound |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
receiver
private java.lang.Object receiver
methodName
private final java.lang.String methodName
DataFlowInvocationExpression
public DataFlowInvocationExpression(java.lang.Object receiver,
java.lang.String methodName,
java.lang.Object[] args)
evaluate
protected java.lang.Object evaluate()
- Description copied from class:
DataFlowExpression
- Evaluate expression after the ones we depend on are ready
- Overrides:
evaluate
in class DataFlowComplexExpression<java.lang.Object>
- Returns:
- value to bind
subscribe
protected void subscribe(DataFlowExpression.DataFlowExpressionsCollector listener)
- Overrides:
subscribe
in class DataFlowComplexExpression<java.lang.Object>