public interface BlockingSender
Modifier and Type | Interface and Description |
---|---|
static class |
BlockingSender.NoResponseException
Exception indicating that the server chose to send no response back
to a
blockingSend(Message) . |
Modifier and Type | Method and Description |
---|---|
Message |
blockingSend(Message message)
Send the given message and await a response.
|
void |
shutdown()
Cleanly shut down the
Sender . |
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
.Copyright © 2000-2014. All Rights Reserved.