|
Rice Pastry API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrice.Continuation.StandardContinuation
public abstract static class 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 |
|---|
| Field Summary | |
|---|---|
protected Continuation |
parent
The parent continuation |
| Constructor Summary | |
|---|---|
Continuation.StandardContinuation(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 Continuation parent
| Constructor Detail |
|---|
public Continuation.StandardContinuation(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 | |||||||||