Package org.apache.mina.proxy
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 org.apache.mina.core.service.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
Method called only when handshake has completed.- Parameters:
session- the io session- Throws:
Exception- If the proxy session can't be opened
-
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
-