|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.p2p.past.testing.PastRegrTest.TestExceptionCommand
protected class PastRegrTest.TestExceptionCommand
Common superclass for test commands which should throw an exception
Nested Class Summary |
---|
Constructor Summary | |
---|---|
protected |
PastRegrTest.TestExceptionCommand()
|
Method Summary | |
---|---|
void |
receive(java.lang.Object result)
|
void |
receiveException(java.lang.Exception e)
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 |
Constructor Detail |
---|
protected PastRegrTest.TestExceptionCommand()
Method Detail |
---|
public void receiveResult(java.lang.Object result)
Continuation
receiveResult
in interface Continuation
result
- The result of the command.public void receive(java.lang.Object result) throws java.lang.Exception
java.lang.Exception
public void receiveException(java.lang.Exception e)
Continuation
receiveException
in interface Continuation
e
- The exception which was caused.
|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |