rice.p2p.past.testing
Class RawPastRegrTest.TestCommand

java.lang.Object
  extended by rice.p2p.past.testing.RawPastRegrTest.TestCommand
All Implemented Interfaces:
Continuation
Enclosing class:
RawPastRegrTest

protected class RawPastRegrTest.TestCommand
extends Object
implements Continuation

Common superclass for test commands.


Nested Class Summary
 
Nested classes/interfaces inherited from interface rice.Continuation
Continuation.ErrorContinuation<R,E extends Exception>, Continuation.ExternalContinuation<R,E extends Exception>, Continuation.ExternalContinuationRunnable<R,E extends Exception>, Continuation.ExternalRunnable, Continuation.ListenerContinuation<R,E extends Exception>, Continuation.MultiContinuation, Continuation.NamedContinuation, Continuation.SimpleContinuation, Continuation.StandardContinuation<R,E extends Exception>
 
Constructor Summary
protected RawPastRegrTest.TestCommand()
           
 
Method Summary
 void receive(Object result)
           
 void receiveException(Exception e)
          Called when an exception occurred as a result of the previous command.
 void receiveResult(Object result)
          Called when a previously requested result is now available.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RawPastRegrTest.TestCommand

protected RawPastRegrTest.TestCommand()
Method Detail

receiveResult

public void receiveResult(Object result)
Description copied from interface: Continuation
Called when a previously requested result is now available.

Specified by:
receiveResult in interface Continuation
Parameters:
result - The result of the command.

receive

public void receive(Object result)
             throws Exception
Throws:
Exception

receiveException

public void receiveException(Exception e)
Description copied from interface: Continuation
Called when an exception occurred as a result of the previous command.

Specified by:
receiveException in interface Continuation


Copyright © 2010. All Rights Reserved.