public class WebSocket08Channel extends WebSocket07Channel
WebSocketChannel
which is used for WebSocketVersion.V08
WebSocketChannel.PartialFrame, WebSocketChannel.StreamSourceChannelControl
OPCODE_BINARY, OPCODE_CLOSE, OPCODE_CONT, OPCODE_PING, OPCODE_PONG, OPCODE_TEXT
Constructor and Description |
---|
WebSocket08Channel(org.xnio.StreamConnection channel,
org.xnio.Pool<ByteBuffer> bufferPool,
String wsUrl,
Set<String> subProtocols,
boolean client,
boolean allowExtensions) |
Modifier and Type | Method and Description |
---|---|
WebSocketVersion |
getVersion()
Return the
WebSocketVersion which is used |
createStreamSinkChannel, receiveFrame
areExtensionsSupported, close, getAttribute, getBufferPool, getCloseSetter, getDestinationAddress, getIdleTimeout, getIoThread, getLocalAddress, getLocalAddress, getOption, getPeerAddress, getPeerAddress, getReceiveSetter, getRequestScheme, getSourceAddress, getSubProtocols, getUrl, getWorker, isClient, isCloseFrameReceived, isCloseFrameSent, isOpen, isSecure, receive, resumeReceives, send, sendClose, sendFragmentedBinary, sendFragmentedText, setAttribute, setIdleTimeout, setOption, supportsOption, suspendReceives
public WebSocket08Channel(org.xnio.StreamConnection channel, org.xnio.Pool<ByteBuffer> bufferPool, String wsUrl, Set<String> subProtocols, boolean client, boolean allowExtensions)
public WebSocketVersion getVersion()
WebSocketChannel
WebSocketVersion
which is usedgetVersion
in class WebSocketChannel
WebSocketVersion
which is in useCopyright © 2013 JBoss by Red Hat. All rights reserved.