Class AbstractDecodedMessageSink

java.lang.Object
org.eclipse.jetty.websocket.javax.common.messages.AbstractDecodedMessageSink
All Implemented Interfaces:
MessageSink
Direct Known Subclasses:
AbstractDecodedMessageSink.Basic, AbstractDecodedMessageSink.Stream

public abstract class AbstractDecodedMessageSink extends Object implements MessageSink
  • Constructor Details

    • AbstractDecodedMessageSink

      public AbstractDecodedMessageSink(CoreSession coreSession, MethodHandle methodHandle)
  • Method Details

    • 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