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 and Description |
---|
WebSocket08Channel(org.xnio.StreamConnection channel, ByteBufferPool bufferPool, String wsUrl, String subProtocols, boolean client, boolean allowExtensions, ExtensionFunction extensionFunction, Set<WebSocketChannel> openConnections, org.xnio.OptionMap options) |
Modifier and Type | Method and Description |
---|---|
WebSocketVersion | getVersion() Return the WebSocketVersion which is used |
closeSubChannels, createStreamSinkChannel, markReadsBroken, receiveFrame
areExtensionsSupported, createChannel, createIdleTimeoutChannel, getAttribute, getCloseCode, getCloseReason, getDestinationAddress, getExtensionFunction, getFramePriority, getPeerConnections, getRequestScheme, getSourceAddress, getSubProtocol, getSubProtocols, getUrl, handleBrokenSinkChannel, handleBrokenSourceChannel, isClient, isCloseFrameReceived, isCloseFrameSent, isCloseInitiatedByRemotePeer, isLastFrameReceived, isLastFrameSent, isReadsBroken, isSecure, lastDataRead, parseFrame, send, sendClose, setAttribute, setCloseCode, setCloseReason
addCloseTask, close, flushSenders, getBufferPool, getCloseSetter, getIdleTimeout, getIoThread, getLocalAddress, getLocalAddress, getOption, getPeerAddress, getPeerAddress, getReceiveSetter, getUnderlyingConnection, getWorker, isOpen, isReceivesResumed, isWritesBroken, markWritesBroken, queueFrame, recalculateHeldFrames, receive, resumeReceives, setIdleTimeout, setOption, supportsOption, suspendReceives, toString, writeExceptionHandler
public WebSocket08Channel(org.xnio.StreamConnection channel, ByteBufferPool bufferPool, String wsUrl, String subProtocols, boolean client, boolean allowExtensions, ExtensionFunction extensionFunction, Set<WebSocketChannel> openConnections, org.xnio.OptionMap options)
public WebSocketVersion getVersion()
WebSocketChannel
WebSocketVersion
which is usedgetVersion
in class WebSocketChannel
WebSocketVersion
which is in useCopyright © 2015 JBoss by Red Hat. All rights reserved.