IoHandler
public abstract class AbstractProxyIoHandler extends IoHandlerAdapter
IoHandler
that intercepts events until handshake is complete.Constructor | Description |
---|---|
AbstractProxyIoHandler() |
Modifier and Type | Method | Description |
---|---|---|
abstract void |
proxySessionOpened(IoSession session) |
Method called only when handshake has completed.
|
void |
sessionOpened(IoSession session) |
Hooked session opened event.
|
exceptionCaught, inputClosed, messageReceived, messageSent, sessionClosed, sessionCreated, sessionIdle
public abstract void proxySessionOpened(IoSession session) throws Exception
session
- the io sessionException
- If the proxy session can't be openedpublic final void sessionOpened(IoSession session) throws Exception
sessionOpened
in interface IoHandler
sessionOpened
in class IoHandlerAdapter
session
- the io sessionException
- If we get an exception while processing the open eventCopyright © 2004–2018 Apache MINA Project. All rights reserved.