|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectrice.Continuation.ListenerContinuation
This class is a Continuation provided for simplicity which listens for any errors and ignores any success values. This Continuation is provided for testing convience only and should *NOT* be used in production environment.
| Nested Class Summary |
| Field Summary | |
protected Logger |
logger
DESCRIBE THE FIELD |
protected java.lang.String |
name
The name of this continuation |
| Constructor Summary | |
Continuation.ListenerContinuation(java.lang.String name,
Environment env)
Constructor which takes in a name |
|
| 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 a previously requested result is now availble. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.String name
protected Logger logger
| Constructor Detail |
public Continuation.ListenerContinuation(java.lang.String name,
Environment env)
name - A name which uniquely identifies this contiuation for
debugging purposesenv - DESCRIBE THE PARAMETER| 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.
|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||