Class ByteBufferMessageSink

    • Constructor Detail

      • ByteBufferMessageSink

        public ByteBufferMessageSink​(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