Class UnisonClientReceiveListener
java.lang.Object
io.undertow.websockets.core.AbstractReceiveListener
com.tremolosecurity.proxy.undertow.UnisonClientReceiveListener
- All Implemented Interfaces:
EventListener
,org.xnio.ChannelListener<io.undertow.websockets.core.WebSocketChannel>
public class UnisonClientReceiveListener
extends io.undertow.websockets.core.AbstractReceiveListener
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionUnisonClientReceiveListener
(io.undertow.websockets.core.WebSocketChannel client) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
onBinary
(io.undertow.websockets.core.WebSocketChannel webSocketChannel, io.undertow.websockets.core.StreamSourceFrameChannel messageChannel) protected void
onClose
(io.undertow.websockets.core.WebSocketChannel webSocketChannel, io.undertow.websockets.core.StreamSourceFrameChannel channel) protected void
onCloseMessage
(io.undertow.websockets.core.CloseMessage cm, io.undertow.websockets.core.WebSocketChannel channel) protected void
protected void
onFullBinaryMessage
(io.undertow.websockets.core.WebSocketChannel channel, io.undertow.websockets.core.BufferedBinaryMessage message) protected void
onFullCloseMessage
(io.undertow.websockets.core.WebSocketChannel channel, io.undertow.websockets.core.BufferedBinaryMessage message) protected void
onFullPingMessage
(io.undertow.websockets.core.WebSocketChannel channel, io.undertow.websockets.core.BufferedBinaryMessage message) protected void
onFullPongMessage
(io.undertow.websockets.core.WebSocketChannel channel, io.undertow.websockets.core.BufferedBinaryMessage message) protected void
onFullTextMessage
(io.undertow.websockets.core.WebSocketChannel channel, io.undertow.websockets.core.BufferedTextMessage message) 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) protected void
onText
(io.undertow.websockets.core.WebSocketChannel webSocketChannel, io.undertow.websockets.core.StreamSourceFrameChannel messageChannel) Methods inherited from class io.undertow.websockets.core.AbstractReceiveListener
bufferFullMessage, getMaxBinaryBufferSize, getMaxCloseBufferSize, getMaxPingBufferSize, getMaxPongBufferSize, getMaxTextBufferSize, handleEvent
-
Constructor Details
-
UnisonClientReceiveListener
public UnisonClientReceiveListener(io.undertow.websockets.core.WebSocketChannel client)
-
-
Method Details
-
onPing
protected void onPing(io.undertow.websockets.core.WebSocketChannel webSocketChannel, io.undertow.websockets.core.StreamSourceFrameChannel channel) throws IOException - Overrides:
onPing
in classio.undertow.websockets.core.AbstractReceiveListener
- Throws:
IOException
-
onClose
protected void onClose(io.undertow.websockets.core.WebSocketChannel webSocketChannel, io.undertow.websockets.core.StreamSourceFrameChannel channel) throws IOException - Overrides:
onClose
in classio.undertow.websockets.core.AbstractReceiveListener
- Throws:
IOException
-
onPong
protected void onPong(io.undertow.websockets.core.WebSocketChannel webSocketChannel, io.undertow.websockets.core.StreamSourceFrameChannel messageChannel) throws IOException - Overrides:
onPong
in classio.undertow.websockets.core.AbstractReceiveListener
- Throws:
IOException
-
onText
protected void onText(io.undertow.websockets.core.WebSocketChannel webSocketChannel, io.undertow.websockets.core.StreamSourceFrameChannel messageChannel) throws IOException - Overrides:
onText
in classio.undertow.websockets.core.AbstractReceiveListener
- Throws:
IOException
-
onBinary
protected void onBinary(io.undertow.websockets.core.WebSocketChannel webSocketChannel, io.undertow.websockets.core.StreamSourceFrameChannel messageChannel) throws IOException - Overrides:
onBinary
in classio.undertow.websockets.core.AbstractReceiveListener
- Throws:
IOException
-
onError
- Overrides:
onError
in classio.undertow.websockets.core.AbstractReceiveListener
-
onFullTextMessage
protected void onFullTextMessage(io.undertow.websockets.core.WebSocketChannel channel, io.undertow.websockets.core.BufferedTextMessage message) throws IOException - Overrides:
onFullTextMessage
in classio.undertow.websockets.core.AbstractReceiveListener
- Throws:
IOException
-
onFullBinaryMessage
protected void onFullBinaryMessage(io.undertow.websockets.core.WebSocketChannel channel, io.undertow.websockets.core.BufferedBinaryMessage message) throws IOException - Overrides:
onFullBinaryMessage
in classio.undertow.websockets.core.AbstractReceiveListener
- Throws:
IOException
-
onFullPingMessage
protected void onFullPingMessage(io.undertow.websockets.core.WebSocketChannel channel, io.undertow.websockets.core.BufferedBinaryMessage message) throws IOException - Overrides:
onFullPingMessage
in classio.undertow.websockets.core.AbstractReceiveListener
- Throws:
IOException
-
onFullPongMessage
protected void onFullPongMessage(io.undertow.websockets.core.WebSocketChannel channel, io.undertow.websockets.core.BufferedBinaryMessage message) throws IOException - Overrides:
onFullPongMessage
in classio.undertow.websockets.core.AbstractReceiveListener
- Throws:
IOException
-
onFullCloseMessage
protected void onFullCloseMessage(io.undertow.websockets.core.WebSocketChannel channel, io.undertow.websockets.core.BufferedBinaryMessage message) throws IOException - Overrides:
onFullCloseMessage
in classio.undertow.websockets.core.AbstractReceiveListener
- Throws:
IOException
-
onCloseMessage
protected void onCloseMessage(io.undertow.websockets.core.CloseMessage cm, io.undertow.websockets.core.WebSocketChannel channel) - Overrides:
onCloseMessage
in classio.undertow.websockets.core.AbstractReceiveListener
-