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, sessionIdlepublic 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 在接口中 IoHandlersessionOpened 在类中 IoHandlerAdaptersession - the io sessionjava.lang.Exception - If we get an exception while processing the open event