public interface MessageHandler
Modifier and Type | Method and Description |
---|---|
void |
handleEndMessage(java.lang.Throwable cause)
Called to inform that no more messages will be delivered.
|
void |
handleMessage(byte[] msg,
int msglen) |
void handleMessage(byte[] msg, int msglen) throws java.io.IOException
java.io.IOException
void handleEndMessage(java.lang.Throwable cause) throws java.io.IOException
cause
- For diagnosis, the reason that caused the transport to close down.java.io.IOException