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, 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>