org.codehaus.gpars

groovyx.gpars.dataflow.expression
[Java] Class DataflowInvocationExpression

java.lang.Object
  groovyx.gpars.serial.WithSerialId
      groovyx.gpars.dataflow.expression.DataflowExpression
          groovyx.gpars.dataflow.expression.DataflowComplexExpression
              groovyx.gpars.dataflow.expression.DataflowInvocationExpression

public class DataflowInvocationExpression
extends DataflowComplexExpression

A dataflow expression, which invokes a method after the receiver as well as all the arguments become available

Authors:
Alex Tkachman


Field Summary
private java.lang.String methodName

private java.lang.Object receiver

private static long serialVersionUID

 
Fields inherited from class DataflowComplexExpression
args, serialVersionUID
 
Fields inherited from class DataflowExpression
ATTACHMENT, A_DATAFLOW_VARIABLE_CAN_ONLY_BE_ASSIGNED_ONCE_ONLY_RE_ASSIGNMENTS_TO_AN_EQUAL_VALUE_ARE_ALLOWED, CANNOT_FIRE_BIND_ERRORS_THE_THREAD_HAS_BEEN_INTERRUPTED, RESULT, S_INITIALIZED, S_INITIALIZING, S_NOT_INITIALIZED, dummyWaitingThread, error, eventManager, metaClass, serialVersionUID, state, value, waiting
 
Fields inherited from class WithSerialId
serialHandle, serialVersionUID
 
Constructor Summary
DataflowInvocationExpression(java.lang.Object receiver, java.lang.String methodName, java.lang.Object[] args)

 
Method Summary
protected java.lang.Object evaluate()

protected void subscribe(DataflowExpressionsCollector listener)

 
Methods inherited from class DataflowComplexExpression
evaluate, subscribe
 
Methods inherited from class DataflowExpression
DataflowExpression, binaryChoice, binaryChoice, binaryChoice, binaryChoice, binaryChoice, binaryChoice, bind, bindError, bindSafely, bindUnique, chainWith, chainWith, chainWith, chainWith, chainWith, chainWith, choice, choice, choice, choice, choice, choice, createEventManager, doBind, doBindImpl, doBindRemote, doThenForkAndJoin, evaluate, filter, filter, filter, filter, filter, filter, fireBindError, fireBindError, fireOnMessage, getBindErrorManager, getEventManager, getMetaClass, getProperty, getVal, getVal, getValAsync, getValAsync, handleInterruption, into, into, into, into, into, into, invokeMethod, isBound, join, join, length, merge, merge, merge, merge, merge, merge, merge, merge, merge, merge, merge, merge, notifyRemote, or, or, poll, rightShift, scheduleCallback, separate, separate, separate, separate, separate, separate, setMetaClass, setProperty, split, split, split, split, split, split, split, split, split, split, split, split, subscribe, subscribe, tap, tap, tap, tap, tap, tap, then, then, then, thenForkAndJoin, thenForkAndJoin, thenForkAndJoin, toString, transform, whenBound, whenBound, whenBound, whenBound, wheneverBound, wheneverBound
 
Methods inherited from class WithSerialId
createRemoteHandle, getOrCreateSerialHandle, getRemoteClass, writeReplace
 

Field Detail

methodName

private final java.lang.String methodName


receiver

private java.lang.Object receiver


serialVersionUID

private static final long serialVersionUID


 
Constructor Detail

DataflowInvocationExpression

public DataflowInvocationExpression(java.lang.Object receiver, java.lang.String methodName, java.lang.Object[] args)


 
Method Detail

evaluate

@java.lang.Overridesuper.subscribe(listener);
@java.lang.SuppressWarnings}
}
protected java.lang.Object evaluate()


subscribe

@java.lang.Override
protected void subscribe(DataflowExpressionsCollector listener)


 

Copyright © 2008–2013 Václav Pech. All Rights Reserved.