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) |
void handleMessage(byte[] msg, int msglen) throws IOException
IOException
void handleEndMessage(Throwable cause) throws IOException
cause
- For diagnosis, the reason that caused the transport to close down.IOException
Copyright © 2015. All rights reserved.