Class AbstractProxyIoHandler

java.lang.Object
org.apache.mina.core.service.IoHandlerAdapter
org.apache.mina.proxy.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 Details

    • LOGGER

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

    • AbstractProxyIoHandler

      public AbstractProxyIoHandler()
  • Method Details

    • proxySessionOpened

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

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