|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectrice.Continuation.NamedContinuation
Continuation class which takes a provided string as it's name, and returns that String when toString() is called.
| Nested Class Summary |
| Field Summary | |
protected java.lang.String |
name
DESCRIBE THE FIELD |
protected Continuation |
parent
DESCRIBE THE FIELD |
| Constructor Summary | |
Continuation.NamedContinuation(java.lang.String name,
Continuation command)
Builds a new NamedContinuation given the name and the wrapped continuation |
|
| Method Summary | |
void |
receiveException(java.lang.Exception result)
Called when an execption occured as a result of the previous command. |
void |
receiveResult(java.lang.Object result)
Called when an the result is availble. |
java.lang.String |
toString()
Returns the name of this continuation |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected Continuation parent
protected java.lang.String name
| Constructor Detail |
public Continuation.NamedContinuation(java.lang.String name,
Continuation command)
name - The namecommand - The parent continuation| Method Detail |
public void receiveResult(java.lang.Object result)
receiveResult in interface Continuationresult - The resultpublic void receiveException(java.lang.Exception result)
receiveException in interface Continuationresult - The exception which was caused.public java.lang.String toString()
|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||