|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ReplyInterface
A ReplyInterface holds the reply to a request. Reply interfaces are created two-ways invocations are performed.
| Method Summary | |
|---|---|
boolean |
available()
Returns true if a (possibly exceptional) reply has arrived. |
UnMarshaller |
listen()
Returns a message containing the reply to the request. |
| Method Detail |
|---|
UnMarshaller listen()
throws ServerException,
ForwardException,
JonathanException
This method blocks until the reply is available. It is the responsibility of the caller to make sure that the returned message will be properly .
ServerException - if the server has thrown an application level
exception;
ForwardException - if the server has moved;
JonathanException - if another exception has been raised.boolean available()
If available returns true, a call to
listen is non-blocking.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||