org.codehaus.gpars

groovyx.gpars.dataflow
[Java] Class DataflowInvocationExpression

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

public class DataflowInvocationExpression
extends DataflowComplexExpression

Data flow expression which invokes method of object after receiver and all arguments became 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, RESULT, S_INITIALIZED, S_INITIALIZING, S_NOT_INITIALIZED, dummyWaitingThread, metaClass, serialVersionUID, state, stateUpdater, value, waiting, waitingUpdater
 
Fields inherited from class WithSerialId
serialHandle, serialVersionUID
 
Constructor Summary
DataflowInvocationExpression(java.lang.Object receiver, java.lang.String methodName, 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, bind, bindSafely, bindUnique, doBind, doBindImpl, doBindRemote, evaluate, getMetaClass, getProperty, getVal, getVal, getValAsync, getValAsync, handleInterruption, invokeMethod, isBound, join, join, notifyRemote, poll, rightShift, scheduleCallback, setMetaClass, setProperty, subscribe, subscribe, toString, transform, whenBound, whenBound, whenBound, whenBound, wheneverBound, wheneverBound
 
Methods inherited from class WithSerialId
createRemoteHandle, getOrCreateSerialHandle, getRemoteClass, writeReplace
 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

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, Object[] args)


 
Method Detail

evaluate

@Override
@SuppressWarnings("unchecked")
protected java.lang.Object evaluate()


subscribe

@Override
protected void subscribe(DataflowExpressionsCollector listener)


 

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