public class ClientToProxyIoHandler extends AbstractProxyIoHandler
OTHER_IO_SESSION| 构造器和说明 |
|---|
ClientToProxyIoHandler(IoConnector connector,
java.net.SocketAddress remoteAddress) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
sessionOpened(IoSession session)
Invoked when a connection has been opened.
|
messageReceived, sessionClosed, sessionCreatedexceptionCaught, inputClosed, messageSent, sessionIdlepublic ClientToProxyIoHandler(IoConnector connector, java.net.SocketAddress remoteAddress)
public void sessionOpened(IoSession session) throws java.lang.Exception
IoHandlerAdapterIoHandler.sessionCreated(IoSession). The biggest difference from
IoHandler.sessionCreated(IoSession) is that it's invoked from other thread
than an I/O processor thread once thread model is configured properly.sessionOpened 在接口中 IoHandlersessionOpened 在类中 IoHandlerAdaptersession - The session being openedjava.lang.Exception - If we get an exception while processing the open event