public interface MessageHandler
| Modifier and Type | Method and Description |
|---|---|
void |
handleEndMessage(Throwable cause)
Called to inform that no more messages will be delivered.
|
void |
handleMessage(byte[] msg,
int msglen)
Handle message.
|
void handleMessage(byte[] msg,
int msglen)
throws IOException
msg - the msgmsglen - the msglenIOException - the io exceptionvoid handleEndMessage(Throwable cause) throws IOException
cause - For diagnosis, the reason that caused the transport to close down.IOException - the io exceptionCopyright © 2018. All rights reserved.