public abstract class AbstractProxyIoHandler extends IoHandlerAdapter
IoHandler
that intercepts events until handshake is complete.构造器和说明 |
---|
AbstractProxyIoHandler() |
限定符和类型 | 方法和说明 |
---|---|
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 java.lang.Exception
session
- the io sessionjava.lang.Exception
- If the proxy session can't be openedpublic final void sessionOpened(IoSession session) throws java.lang.Exception
sessionOpened
在接口中 IoHandler
sessionOpened
在类中 IoHandlerAdapter
session
- the io sessionjava.lang.Exception
- If we get an exception while processing the open event