All Implemented Interfaces:
- Enclosing interface:
public abstract static class Continuation.ErrorContinuation
- extends java.lang.Object
- implements Continuation
This class is a Continuation provided for simplicity which
passes any results up to the parent Continuation which it
is constructed with. Subclasses should implement the
receiveException() method with the appropriate behavior.
Called when an the result is availble.
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected Continuation parent
- The parent continuation
public Continuation.ErrorContinuation(Continuation continuation)
- Constructor which takes in the parent continuation
for this continuation.
continuation - The parent of this continuation
public void receiveResult(java.lang.Object result)
- Called when an the result is availble. Simply passes the result
to the parent;
- Specified by:
receiveResult in interface
result - The result
Copyright © 2001-2005 - Rice Pastry.