public interface MessageSender<T>
Modifier and Type | Method and Description |
---|---|
void |
sendMessage(T message)
Called to send given message to the other side of RPC.
|
void sendMessage(T message) throws java.io.IOException
java.io.IOException
- if message could not be sent.