|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BlockingSender
Interface for classes that manage the sending of messages.
| Nested Class Summary | |
|---|---|
static class |
BlockingSender.NoResponseException
Exception indicating that the server chose to send no response back to a blockingSend(Message). |
| Method Summary | |
|---|---|
Message |
blockingSend(Message message)
Send the given message and await a response. |
void |
shutdown()
Cleanly shut down the Sender. |
| Method Detail |
|---|
Message blockingSend(Message message)
throws CommunicationException
The input stream is implementation dependent. This should only be used where the sender can guarantee that the input stream will be free for exclusive use.
message - A Message.
CommunicationException - If an error occurs.void shutdown()
Sender.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||