ePOST API

rice
Class Continuation.SimpleContinuation

java.lang.Object
  extended by rice.Continuation.SimpleContinuation
All Implemented Interfaces:
Continuation
Enclosing interface:
Continuation

public abstract static class Continuation.SimpleContinuation
extends java.lang.Object
implements Continuation

This class is a Continuation provided for simplicity which passes both results and exceptions to the receiveResult() method.


Nested Class Summary
 
Nested classes/interfaces inherited from interface rice.Continuation
Continuation.ErrorContinuation, Continuation.ExternalContinuation, Continuation.ExternalContinuationRunnable, Continuation.ExternalRunnable, Continuation.ListenerContinuation, Continuation.MultiContinuation, Continuation.NamedContinuation, Continuation.SimpleContinuation, Continuation.StandardContinuation
 
Constructor Summary
Continuation.SimpleContinuation()
           
 
Method Summary
 void receiveException(java.lang.Exception result)
          Called when an execption occured as a result of the previous command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface rice.Continuation
receiveResult
 

Constructor Detail

Continuation.SimpleContinuation

public Continuation.SimpleContinuation()
Method Detail

receiveException

public void receiveException(java.lang.Exception result)
Called when an execption occured as a result of the previous command. Simply prints an error message to the screen.

Specified by:
receiveException in interface Continuation
Parameters:
result - The exception which was caused.

ePOST API

Copyright © 2001-2005 - Rice Pastry.