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
fragmentedChannel
Constructor and Description |
---|
WebSocket08Channel(org.xnio.StreamConnection channel,
org.xnio.Pool<ByteBuffer> bufferPool,
String wsUrl,
String subProtocols,
boolean client,
boolean allowExtensions) |
Modifier and Type | Method and Description |
---|---|
WebSocketVersion |
getVersion()
Return the
WebSocketVersion which is used |
createStreamSinkChannel, markReadsBroken, receiveFrame
areExtensionsSupported, createChannel, getAttribute, getDestinationAddress, getFramePriority, getRequestScheme, getSourceAddress, getSubProtocol, getSubProtocols, getUrl, handleBrokenSinkChannel, handleBrokenSourceChannel, isClient, isCloseFrameReceived, isCloseFrameSent, isLastFrameReceived, isLastFrameSent, isReadsBroken, isSecure, parseFrame, send, send, sendClose, setAttribute
close, flushSenders, getBufferPool, getCloseSetter, getIdleTimeout, getIoThread, getLocalAddress, getLocalAddress, getOption, getPeerAddress, getPeerAddress, getReceiveSetter, getWorker, isOpen, isReceivesResumed, isWritesBroken, markWritesBroken, queueFrame, receive, resumeReceives, setIdleTimeout, setOption, supportsOption, suspendReceives, toString
public WebSocket08Channel(org.xnio.StreamConnection channel, org.xnio.Pool<ByteBuffer> bufferPool, String wsUrl, String subProtocols, boolean client, boolean allowExtensions)
public WebSocketVersion getVersion()
WebSocketChannel
WebSocketVersion
which is usedgetVersion
in class WebSocketChannel
WebSocketVersion
which is in useCopyright © 2014 JBoss by Red Hat. All rights reserved.