Class NullMessage

    • Constructor Summary

      Constructors 
      Constructor Description
      NullMessage()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void appendFrame​(java.nio.ByteBuffer framePayload, boolean isLast)
      Append the frame payload to the message.
      void messageComplete()
      Notification that message is to be considered complete.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NullMessage

        public NullMessage()
    • Method Detail

      • appendFrame

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

        public void messageComplete()
        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