public class WebSocket13Channel extends WebSocket07Channel
WebSocketChannel.PartialFrame
OPCODE_BINARY, OPCODE_CLOSE, OPCODE_CONT, OPCODE_PING, OPCODE_PONG, OPCODE_TEXT
extensionFunction, extensionsSupported, fragmentedChannel, hasReservedOpCode
Constructor and Description |
---|
WebSocket13Channel(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, 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
public WebSocket13Channel(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 © 2017 JBoss by Red Hat. All rights reserved.