public class WebSocket08Channel extends WebSocket07Channel
WebSocketChannel which is used for WebSocketVersion.V08WebSocketChannel.PartialFrame, WebSocketChannel.StreamSourceChannelControlOPCODE_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, receiveFrameareExtensionsSupported, 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, suspendReceivespublic WebSocket08Channel(org.xnio.StreamConnection channel,
org.xnio.Pool<ByteBuffer> bufferPool,
String wsUrl,
Set<String> subProtocols,
boolean client,
boolean allowExtensions)
public WebSocketVersion getVersion()
WebSocketChannelWebSocketVersion which is usedgetVersion in class WebSocketChannelWebSocketVersion which is in useCopyright © 2013 JBoss by Red Hat. All Rights Reserved.