Interface MessageHandler

    • Method Detail

      • handleMessage

        void handleMessage​(byte[] msg,
                           int msglen)
                    throws java.io.IOException
        Handle message.
        Parameters:
        msg - the msg
        msglen - the msglen
        Throws:
        java.io.IOException - the io exception
      • handleEndMessage

        void handleEndMessage​(java.lang.Throwable cause)
                       throws java.io.IOException
        Called to inform that no more messages will be delivered.
        Parameters:
        cause - For diagnosis, the reason that caused the transport to close down.
        Throws:
        java.io.IOException - the io exception