Class ByteBufferMessageSink
java.lang.Object
org.eclipse.jetty.websocket.core.internal.messages.AbstractMessageSink
org.eclipse.jetty.websocket.core.internal.messages.ByteBufferMessageSink
- All Implemented Interfaces:
MessageSink
-
Field Summary
Fields inherited from class org.eclipse.jetty.websocket.core.internal.messages.AbstractMessageSink
methodHandle, session
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ByteBufferMessageSink
-
-
Method Details
-
accept
Description copied from interface:MessageSink
Consume the frame payload to the message.- Parameters:
frame
- the frame, its payload (and fin state) to appendcallback
- the callback for how the frame was consumed
-
fail
Description copied from interface:MessageSink
Fail the message sink.
Release any resources and fail all stored callbacks as
MessageSink.accept(Frame, Callback)
will never be called again.- Specified by:
fail
in interfaceMessageSink
- Overrides:
fail
in classAbstractMessageSink
- Parameters:
failure
- the failure that occurred.
-