java.io.Closeable
, java.lang.AutoCloseable
, java.nio.channels.Channel
, java.nio.channels.InterruptibleChannel
, org.xnio.channels.BoundChannel
, org.xnio.channels.CloseableChannel
, org.xnio.channels.Configurable
, org.xnio.channels.ConnectedChannel
public class WebSocket08Channel extends WebSocket07Channel
WebSocketChannel
which is used for WebSocketVersion.V08
WebSocketChannel.PartialFrame
OPCODE_BINARY, OPCODE_CLOSE, OPCODE_CONT, OPCODE_PING, OPCODE_PONG, OPCODE_TEXT
extensionFunction, extensionsSupported, fragmentedChannel, hasReservedOpCode
Constructor | Description |
---|---|
WebSocket08Channel(org.xnio.StreamConnection channel,
ByteBufferPool bufferPool,
java.lang.String wsUrl,
java.lang.String subProtocols,
boolean client,
boolean allowExtensions,
ExtensionFunction extensionFunction,
java.util.Set<WebSocketChannel> openConnections,
org.xnio.OptionMap options) |
Modifier and Type | Method | Description |
---|---|---|
WebSocketVersion |
getVersion() |
Return the
WebSocketVersion which is used |
addCloseTask, close, flush, flushSenders, getBufferPool, getCloseSetter, getIdleTimeout, getIoThread, getLocalAddress, getLocalAddress, getOption, getPeerAddress, getPeerAddress, getReceiveSetter, getSettings, getUnderlyingConnection, getWorker, isOpen, isReceivesResumed, isRequireExplicitFlush, isWritesBroken, markWritesBroken, queueFrame, recalculateHeldFrames, receive, resumeReceives, setIdleTimeout, setOption, setRequireExplicitFlush, supportsOption, suspendReceives, toString, writeExceptionHandler
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
closeSubChannels, createStreamSinkChannel, markReadsBroken, receiveFrame
areExtensionsSupported, createChannel, createIdleTimeoutChannel, getAttribute, getCloseCode, getCloseReason, getDestinationAddress, getExtensionFunction, getFramePriority, getPeerConnections, getReceivers, getRequestScheme, getSourceAddress, getSubProtocol, getSubProtocols, getUrl, handleBrokenSinkChannel, handleBrokenSourceChannel, isClient, isCloseFrameReceived, isCloseFrameSent, isCloseInitiatedByRemotePeer, isLastFrameReceived, isLastFrameSent, isReadsBroken, isSecure, lastDataRead, parseFrame, send, sendClose, setAttribute, setCloseCode, setCloseReason
public WebSocket08Channel(org.xnio.StreamConnection channel, ByteBufferPool bufferPool, java.lang.String wsUrl, java.lang.String subProtocols, boolean client, boolean allowExtensions, ExtensionFunction extensionFunction, java.util.Set<WebSocketChannel> openConnections, org.xnio.OptionMap options)
public WebSocketVersion getVersion()
WebSocketChannel
WebSocketVersion
which is usedgetVersion
in class WebSocketChannel
WebSocketVersion
which is in useCopyright © 2018. All rights reserved.