Class MessageReader

    • Constructor Detail

      • MessageReader

        public MessageReader​(Session session)
        Deprecated.
    • Method Detail

      • appendFrame

        public void appendFrame​(ByteBuffer payload,
                                boolean isLast)
                         throws IOException
        Deprecated.
        Description copied from interface: MessageAppender
        Append the frame payload to the message.
        Specified by:
        appendFrame in interface MessageAppender
        Parameters:
        payload - the frame payload to append.
        isLast - flag indicating if this is the last part of the message or not.
        Throws:
        IOException - if unable to append the frame payload
      • messageComplete

        public void messageComplete()
        Deprecated.
        Description copied from interface: MessageAppender
        Notification that message is to be considered complete.

        Any cleanup or final actions should be taken here.

        Specified by:
        messageComplete in interface MessageAppender
      • handlerComplete

        public void handlerComplete()
        Deprecated.