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
ConstructorsConstructorDescriptionUnisonClientReceiveListener(io.undertow.websockets.core.WebSocketChannel client) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidonBinary(io.undertow.websockets.core.WebSocketChannel webSocketChannel, io.undertow.websockets.core.StreamSourceFrameChannel messageChannel) protected voidonClose(io.undertow.websockets.core.WebSocketChannel webSocketChannel, io.undertow.websockets.core.StreamSourceFrameChannel channel) protected voidonCloseMessage(io.undertow.websockets.core.CloseMessage cm, io.undertow.websockets.core.WebSocketChannel channel) protected voidprotected voidonFullBinaryMessage(io.undertow.websockets.core.WebSocketChannel channel, io.undertow.websockets.core.BufferedBinaryMessage message) protected voidonFullCloseMessage(io.undertow.websockets.core.WebSocketChannel channel, io.undertow.websockets.core.BufferedBinaryMessage message) protected voidonFullPingMessage(io.undertow.websockets.core.WebSocketChannel channel, io.undertow.websockets.core.BufferedBinaryMessage message) protected voidonFullPongMessage(io.undertow.websockets.core.WebSocketChannel channel, io.undertow.websockets.core.BufferedBinaryMessage message) protected voidonFullTextMessage(io.undertow.websockets.core.WebSocketChannel channel, io.undertow.websockets.core.BufferedTextMessage message) protected voidonPing(io.undertow.websockets.core.WebSocketChannel webSocketChannel, io.undertow.websockets.core.StreamSourceFrameChannel channel) protected voidonPong(io.undertow.websockets.core.WebSocketChannel webSocketChannel, io.undertow.websockets.core.StreamSourceFrameChannel messageChannel) protected voidonText(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:
onPingin 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:
onClosein 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:
onPongin 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:
onTextin 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:
onBinaryin classio.undertow.websockets.core.AbstractReceiveListener- Throws:
IOException
-
onError
- Overrides:
onErrorin classio.undertow.websockets.core.AbstractReceiveListener
-
onFullTextMessage
protected void onFullTextMessage(io.undertow.websockets.core.WebSocketChannel channel, io.undertow.websockets.core.BufferedTextMessage message) throws IOException - Overrides:
onFullTextMessagein 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:
onFullBinaryMessagein 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:
onFullPingMessagein 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:
onFullPongMessagein 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:
onFullCloseMessagein classio.undertow.websockets.core.AbstractReceiveListener- Throws:
IOException
-
onCloseMessage
protected void onCloseMessage(io.undertow.websockets.core.CloseMessage cm, io.undertow.websockets.core.WebSocketChannel channel) - Overrides:
onCloseMessagein classio.undertow.websockets.core.AbstractReceiveListener
-