Class ProxyClientEndpoint

  • All Implemented Interfaces:
    java.util.EventListener, org.xnio.ChannelListener<io.undertow.websockets.core.WebSocketChannel>

    public class ProxyClientEndpoint
    extends io.undertow.websockets.core.AbstractReceiveListener
    Created by josh on 3/8/17. Internal use only, delegates to parent class to free consume bytes and so on
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.xnio.ChannelListener

        org.xnio.ChannelListener.Setter<T extends java.nio.channels.Channel>, org.xnio.ChannelListener.SimpleSetter<T extends java.nio.channels.Channel>
    • Method Summary

      Modifier and Type Method Description
      protected void onCloseMessage​(io.undertow.websockets.core.CloseMessage cm, io.undertow.websockets.core.WebSocketChannel channel)  
      void onConnect​(io.undertow.websockets.core.WebSocketChannel channel)  
      protected void onError​(io.undertow.websockets.core.WebSocketChannel channel, java.lang.Throwable error)  
      protected void onFullBinaryMessage​(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)  
      • Methods inherited from class io.undertow.websockets.core.AbstractReceiveListener

        bufferFullMessage, getMaxBinaryBufferSize, getMaxCloseBufferSize, getMaxPingBufferSize, getMaxPongBufferSize, getMaxTextBufferSize, handleEvent, onBinary, onClose, onFullCloseMessage, onPing, onPong, onText
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onConnect

        public void onConnect​(io.undertow.websockets.core.WebSocketChannel channel)
      • onFullTextMessage

        protected void onFullTextMessage​(io.undertow.websockets.core.WebSocketChannel channel,
                                         io.undertow.websockets.core.BufferedTextMessage message)
                                  throws java.io.IOException
        Overrides:
        onFullTextMessage in class io.undertow.websockets.core.AbstractReceiveListener
        Throws:
        java.io.IOException
      • onFullBinaryMessage

        protected void onFullBinaryMessage​(io.undertow.websockets.core.WebSocketChannel channel,
                                           io.undertow.websockets.core.BufferedBinaryMessage message)
                                    throws java.io.IOException
        Overrides:
        onFullBinaryMessage in class io.undertow.websockets.core.AbstractReceiveListener
        Throws:
        java.io.IOException
      • onFullPingMessage

        protected void onFullPingMessage​(io.undertow.websockets.core.WebSocketChannel channel,
                                         io.undertow.websockets.core.BufferedBinaryMessage message)
                                  throws java.io.IOException
        Overrides:
        onFullPingMessage in class io.undertow.websockets.core.AbstractReceiveListener
        Throws:
        java.io.IOException
      • onFullPongMessage

        protected void onFullPongMessage​(io.undertow.websockets.core.WebSocketChannel channel,
                                         io.undertow.websockets.core.BufferedBinaryMessage message)
                                  throws java.io.IOException
        Overrides:
        onFullPongMessage in class io.undertow.websockets.core.AbstractReceiveListener
        Throws:
        java.io.IOException
      • onCloseMessage

        protected void onCloseMessage​(io.undertow.websockets.core.CloseMessage cm,
                                      io.undertow.websockets.core.WebSocketChannel channel)
        Overrides:
        onCloseMessage in class io.undertow.websockets.core.AbstractReceiveListener
      • onError

        protected void onError​(io.undertow.websockets.core.WebSocketChannel channel,
                               java.lang.Throwable error)
        Overrides:
        onError in class io.undertow.websockets.core.AbstractReceiveListener