public class UtWsChannelListener
extends io.undertow.websockets.core.AbstractReceiveListener
| Constructor and Description |
|---|
UtWsChannelListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
handleEvent(io.undertow.websockets.core.WebSocketChannel channel) |
protected void |
onClose(io.undertow.websockets.core.WebSocketChannel channel,
io.undertow.websockets.core.StreamSourceFrameChannel frameChannel) |
protected void |
onError(io.undertow.websockets.core.WebSocketChannel channel,
Throwable error) |
protected void |
onFullBinaryMessage(io.undertow.websockets.core.WebSocketChannel channel,
io.undertow.websockets.core.BufferedBinaryMessage msg) |
protected void |
onFullTextMessage(io.undertow.websockets.core.WebSocketChannel channel,
io.undertow.websockets.core.BufferedTextMessage msg) |
void |
onOpen(io.undertow.websockets.spi.WebSocketHttpExchange exchange,
io.undertow.websockets.core.WebSocketChannel channel) |
protected void |
onPing(io.undertow.websockets.core.WebSocketChannel webSocketChannel,
io.undertow.websockets.core.StreamSourceFrameChannel channel) |
protected void |
onPong(io.undertow.websockets.core.WebSocketChannel webSocketChannel,
io.undertow.websockets.core.StreamSourceFrameChannel messageChannel) |
bufferFullMessage, getMaxBinaryBufferSize, getMaxCloseBufferSize, getMaxPingBufferSize, getMaxPongBufferSize, getMaxTextBufferSize, onBinary, onCloseMessage, onFullCloseMessage, onFullPingMessage, onFullPongMessage, onTextpublic void handleEvent(io.undertow.websockets.core.WebSocketChannel channel)
handleEvent in interface org.xnio.ChannelListener<io.undertow.websockets.core.WebSocketChannel>handleEvent in class io.undertow.websockets.core.AbstractReceiveListenerpublic void onOpen(io.undertow.websockets.spi.WebSocketHttpExchange exchange,
io.undertow.websockets.core.WebSocketChannel channel)
protected void onFullBinaryMessage(io.undertow.websockets.core.WebSocketChannel channel,
io.undertow.websockets.core.BufferedBinaryMessage msg)
throws IOException
onFullBinaryMessage in class io.undertow.websockets.core.AbstractReceiveListenerIOExceptionprotected void onFullTextMessage(io.undertow.websockets.core.WebSocketChannel channel,
io.undertow.websockets.core.BufferedTextMessage msg)
throws IOException
onFullTextMessage in class io.undertow.websockets.core.AbstractReceiveListenerIOExceptionprotected void onClose(io.undertow.websockets.core.WebSocketChannel channel,
io.undertow.websockets.core.StreamSourceFrameChannel frameChannel)
throws IOException
onClose in class io.undertow.websockets.core.AbstractReceiveListenerIOExceptionprotected void onPing(io.undertow.websockets.core.WebSocketChannel webSocketChannel,
io.undertow.websockets.core.StreamSourceFrameChannel channel)
throws IOException
onPing in class io.undertow.websockets.core.AbstractReceiveListenerIOExceptionprotected void onPong(io.undertow.websockets.core.WebSocketChannel webSocketChannel,
io.undertow.websockets.core.StreamSourceFrameChannel messageChannel)
throws IOException
onPong in class io.undertow.websockets.core.AbstractReceiveListenerIOExceptionprotected void onError(io.undertow.websockets.core.WebSocketChannel channel,
Throwable error)
onError in class io.undertow.websockets.core.AbstractReceiveListenerCopyright © 2025. All rights reserved.