games.strategy.engine.message
Class InvocationInProgress

java.lang.Object
  extended by games.strategy.engine.message.InvocationInProgress

public class InvocationInProgress
extends java.lang.Object

We are waiting for the results of a remote invocation.

Author:
sgb

Constructor Summary
InvocationInProgress(INode waitingOn, HubInvoke methodCalls, INode methodCallsFrom)
           
 
Method Summary
 INode getCaller()
           
 HubInvoke getMethodCall()
           
 GUID getMethodCallID()
           
 games.strategy.engine.message.RemoteMethodCallResults getResults()
           
 boolean isWaitingOn(INode node)
           
 boolean process(HubInvocationResults hubresults, INode from)
           
 boolean shouldSendResults()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvocationInProgress

public InvocationInProgress(INode waitingOn,
                            HubInvoke methodCalls,
                            INode methodCallsFrom)
Method Detail

isWaitingOn

public boolean isWaitingOn(INode node)

process

public boolean process(HubInvocationResults hubresults,
                       INode from)
Returns:
true if there are no more results to process

getMethodCall

public HubInvoke getMethodCall()

getCaller

public INode getCaller()

getResults

public games.strategy.engine.message.RemoteMethodCallResults getResults()

getMethodCallID

public GUID getMethodCallID()

shouldSendResults

public boolean shouldSendResults()