Class StringMessageSink

    • Constructor Summary

      Constructors 
      Constructor Description
      StringMessageSink​(CoreSession session, java.lang.invoke.MethodHandle methodHandle)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void accept​(Frame frame, Callback callback)
      Consume the frame payload to the message.
      • Methods inherited from class java.lang.Object

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

      • StringMessageSink

        public StringMessageSink​(CoreSession session,
                                 java.lang.invoke.MethodHandle methodHandle)
    • Method Detail

      • accept

        public void accept​(Frame frame,
                           Callback callback)
        Description copied from interface: MessageSink
        Consume the frame payload to the message.
        Parameters:
        frame - the frame, its payload (and fin state) to append
        callback - the callback for how the frame was consumed