java.io.Closeable
, java.lang.AutoCloseable
, java.nio.channels.Channel
, java.nio.channels.GatheringByteChannel
, java.nio.channels.InterruptibleChannel
, java.nio.channels.WritableByteChannel
, org.xnio.channels.CloseableChannel
, org.xnio.channels.Configurable
, org.xnio.channels.StreamSinkChannel
, org.xnio.channels.SuspendableWriteChannel
public abstract class WebSocket07FrameSinkChannel extends StreamSinkFrameChannel
StreamSinkFrameChannel
implementation for writing WebSocket Frames on WebSocketVersion.V08
connectionsModifier and Type | Field | Description |
---|---|---|
protected ExtensionFunction |
extensionFunction |
Modifier | Constructor | Description |
---|---|---|
protected |
WebSocket07FrameSinkChannel(WebSocket07Channel wsChannel,
WebSocketFrameType type) |
Modifier and Type | Method | Description |
---|---|---|
protected SendFrameHeader |
createFrameHeader() |
|
protected void |
handleFlushComplete(boolean finalFrame) |
|
protected PooledByteBuffer |
preWriteTransform(PooledByteBuffer body) |
awaitWritable, awaitWritable, channelForciblyClosed, close, flush, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
areExtensionsSupported, getRsv, getType, getWebSocketChannel, isFinalFragment, isFragmentationSupported, isLastFrame, setRsv
protected final ExtensionFunction extensionFunction
protected WebSocket07FrameSinkChannel(WebSocket07Channel wsChannel, WebSocketFrameType type)
protected void handleFlushComplete(boolean finalFrame)
protected SendFrameHeader createFrameHeader()
protected PooledByteBuffer preWriteTransform(PooledByteBuffer body)
Copyright © 2018. All rights reserved.