|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--rice.Continuation.StandardContinuation
This class is a Continuation provided for simplicity which passes any errors up to the parent Continuation which it is constructed with. Subclasses should implement the receiveResult() method with the appropriate behavior.
| Nested Class Summary |
| Nested classes inherited from class rice.Continuation |
Continuation.ExternalContinuation, Continuation.ListenerContinuation, Continuation.StandardContinuation |
| Field Summary | |
protected rice.Continuation |
parent
The parent continuation |
| Constructor Summary | |
Continuation.StandardContinuation(rice.Continuation continuation)
Constructor which takes in the parent continuation for this continuation. |
|
| 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 |
| Field Detail |
protected rice.Continuation parent
| Constructor Detail |
public Continuation.StandardContinuation(rice.Continuation continuation)
continuation - The parent of this continuation| Method Detail |
public void receiveException(java.lang.Exception result)
receiveException in interface Continuationresult - The exception which was caused.
|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||