Class AbstractProxyIoHandler
java.lang.Object
org.apache.mina.core.service.IoHandlerAdapter
org.apache.mina.proxy.AbstractProxyIoHandler
- All Implemented Interfaces:
IoHandler
AbstractProxyIoHandler.java -
IoHandler that intercepts events until handshake is complete.- Since:
- MINA 2.0.0-M3
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidproxySessionOpened(IoSession session) Method called only when handshake has completed.final voidsessionOpened(IoSession session) Hooked session opened event.Methods inherited from class IoHandlerAdapter
event, exceptionCaught, inputClosed, messageReceived, messageSent, sessionClosed, sessionCreated, sessionIdle
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER
-
-
Constructor Details
-
AbstractProxyIoHandler
public AbstractProxyIoHandler()
-
-
Method Details
-
proxySessionOpened
-
sessionOpened
Hooked session opened event.- Specified by:
sessionOpenedin interfaceIoHandler- Overrides:
sessionOpenedin classIoHandlerAdapter- Parameters:
session- the io session- Throws:
Exception- If we get an exception while processing the open event
-