Class WebSocket07FrameSinkChannel
java.lang.Object
io.undertow.server.protocol.framed.AbstractFramedStreamSinkChannel<WebSocketChannel,StreamSourceFrameChannel,StreamSinkFrameChannel>
io.undertow.websockets.core.StreamSinkFrameChannel
io.undertow.websockets.core.protocol.version07.WebSocket07FrameSinkChannel
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Channel
,GatheringByteChannel
,InterruptibleChannel
,WritableByteChannel
,org.xnio.channels.CloseableChannel
,org.xnio.channels.Configurable
,org.xnio.channels.StreamSinkChannel
,org.xnio.channels.SuspendableWriteChannel
StreamSinkFrameChannel
implementation for writing WebSocket Frames on WebSocketVersion.V08
connections- Author:
- Norman Maurer
-
Field Summary
FieldsFields inherited from interface org.xnio.channels.Configurable
EMPTY
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
WebSocket07FrameSinkChannel
(WebSocket07Channel wsChannel, WebSocketFrameType type) -
Method Summary
Modifier and TypeMethodDescriptionprotected SendFrameHeader
protected void
handleFlushComplete
(boolean finalFrame) protected PooledByteBuffer
Methods inherited from class io.undertow.websockets.core.StreamSinkFrameChannel
areExtensionsSupported, getRsv, getType, getWebSocketChannel, isFinalFragment, isFragmentationSupported, isLastFrame, setRsv
Methods inherited from class io.undertow.server.protocol.framed.AbstractFramedStreamSinkChannel
awaitWritable, awaitWritable, channelForciblyClosed, close, flush, getAwaitWritableTimeout, getBuffer, getChannel, getCloseSetter, getIoThread, getOption, getWorker, getWriteSetter, getWriteThread, isBroken, isBufferFull, isFinalFrameQueued, isFirstDataWritten, isFlushRequiredOnEmptyBuffer, isOpen, isReadyForFlush, isWriteResumed, isWritesShutdown, markBroken, resumeWrites, resumeWritesInternal, safeToSend, send, sendInternal, setOption, shutdownWrites, supportsOption, suspendWrites, transferFrom, transferFrom, wakeupWrites, write, write, write, writeFinal, writeFinal, writeFinal
-
Field Details
-
extensionFunction
-
-
Constructor Details
-
WebSocket07FrameSinkChannel
-
-
Method Details
-
handleFlushComplete
protected void handleFlushComplete(boolean finalFrame) -
createFrameHeader
-
preWriteTransform
-