Class AbstractProxyIoHandler

  • All Implemented Interfaces:
    IoHandler

    public abstract class AbstractProxyIoHandler
    extends IoHandlerAdapter
    AbstractProxyIoHandler.java - IoHandler that intercepts events until handshake is complete.
    Since:
    MINA 2.0.0-M3
    • Field Detail

      • LOGGER

        private static final org.slf4j.Logger LOGGER
    • Constructor Detail

      • AbstractProxyIoHandler

        public AbstractProxyIoHandler()
    • Method Detail

      • proxySessionOpened

        public abstract void proxySessionOpened​(IoSession session)
                                         throws java.lang.Exception
        Method called only when handshake has completed.
        Parameters:
        session - the io session
        Throws:
        java.lang.Exception - If the proxy session can't be opened
      • sessionOpened

        public final void sessionOpened​(IoSession session)
                                 throws java.lang.Exception
        Hooked session opened event.
        Specified by:
        sessionOpened in interface IoHandler
        Overrides:
        sessionOpened in class IoHandlerAdapter
        Parameters:
        session - the io session
        Throws:
        java.lang.Exception - If we get an exception while processing the open event