public class ClientToProxyIoHandler extends AbstractProxyIoHandler
OTHER_IO_SESSION
Constructor and Description |
---|
ClientToProxyIoHandler(IoConnector connector,
SocketAddress remoteAddress) |
Modifier and Type | Method and Description |
---|---|
void |
sessionOpened(IoSession session)
Invoked when a connection has been opened.
|
messageReceived, sessionClosed, sessionCreated
exceptionCaught, inputClosed, messageSent, sessionIdle
public ClientToProxyIoHandler(IoConnector connector, SocketAddress remoteAddress)
public void sessionOpened(IoSession session) throws Exception
IoHandler
IoHandler.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
in interface IoHandler
sessionOpened
in class IoHandlerAdapter
Exception
Copyright © 2004–2014 Apache MINA Project. All rights reserved.