Package | Description |
---|---|
io.undertow.websockets.core | |
io.undertow.websockets.extensions |
Modifier and Type | Field and Description |
---|---|
protected StreamSourceFrameChannel | WebSocketChannel.fragmentedChannel |
Modifier and Type | Method and Description |
---|---|
protected StreamSourceFrameChannel | WebSocketChannel.createChannel(FrameHeaderData frameHeaderData, PooledByteBuffer frameData) |
StreamSourceFrameChannel | WebSocketChannel.PartialFrame.getChannel(PooledByteBuffer data) |
Modifier and Type | Method and Description |
---|---|
protected void | AbstractReceiveListener.bufferFullMessage(StreamSourceFrameChannel messageChannel) Utility method that reads a full text or binary message, including all fragmented parts. |
static void | WebSocketUtils.echoFrame(WebSocketChannel channel, StreamSourceFrameChannel ws) Echo back the frame to the sender |
protected void | AbstractReceiveListener.onBinary(WebSocketChannel webSocketChannel, StreamSourceFrameChannel messageChannel) |
protected void | AbstractReceiveListener.onClose(WebSocketChannel webSocketChannel, StreamSourceFrameChannel channel) |
protected void | AbstractReceiveListener.onPing(WebSocketChannel webSocketChannel, StreamSourceFrameChannel channel) |
protected void | AbstractReceiveListener.onPong(WebSocketChannel webSocketChannel, StreamSourceFrameChannel messageChannel) |
protected void | AbstractReceiveListener.onText(WebSocketChannel webSocketChannel, StreamSourceFrameChannel messageChannel) |
void | BufferedBinaryMessage.read(StreamSourceFrameChannel channel, WebSocketCallback<BufferedBinaryMessage> callback) |
void | BufferedTextMessage.read(StreamSourceFrameChannel channel, WebSocketCallback<BufferedTextMessage> callback) |
void | BufferedTextMessage.readBlocking(StreamSourceFrameChannel channel) |
void | BufferedBinaryMessage.readBlocking(StreamSourceFrameChannel channel) |
Modifier and Type | Method and Description |
---|---|
PooledByteBuffer | PerMessageDeflateFunction.transformForRead(PooledByteBuffer pooledBuffer, StreamSourceFrameChannel channel, boolean lastFragmentOfMessage) |
PooledByteBuffer | NoopExtensionFunction.transformForRead(PooledByteBuffer pooledBuffer, StreamSourceFrameChannel channel, boolean lastFragmentOfFrame) |
PooledByteBuffer | ExtensionFunction.transformForRead(PooledByteBuffer pooledBuffer, StreamSourceFrameChannel channel, boolean lastFragmentOfMessage) Transform the supplied buffer per this extension. |
PooledByteBuffer | CompositeExtensionFunction.transformForRead(PooledByteBuffer pooledBuffer, StreamSourceFrameChannel channel, boolean lastFragementOfMessage) |
Copyright © 2017 JBoss by Red Hat. All rights reserved.