Class AbstractDecodedMessageSink

    • Constructor Detail

      • AbstractDecodedMessageSink

        public AbstractDecodedMessageSink​(CoreSession coreSession,
                                          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.
        Specified by:
        accept in interface MessageSink
        Parameters:
        frame - the frame, its payload (and fin state) to append
        callback - the callback for how the frame was consumed