public abstract class AbstractProxyIoHandler extends IoHandlerAdapter
IoHandler
classes which handle
proxied connections.Modifier and Type | Field and Description |
---|---|
static String |
OTHER_IO_SESSION |
Constructor and Description |
---|
AbstractProxyIoHandler() |
Modifier and Type | Method and Description |
---|---|
void |
messageReceived(IoSession session,
Object message)
Invoked when a message is received.
|
void |
sessionClosed(IoSession session)
Invoked when a connection is closed.
|
void |
sessionCreated(IoSession session)
Invoked from an I/O processor thread when a new connection has been created.
|
exceptionCaught, inputClosed, messageSent, sessionIdle, sessionOpened
public static final String OTHER_IO_SESSION
public void sessionCreated(IoSession session) throws Exception
IoHandler
sessionCreated
in interface IoHandler
sessionCreated
in class IoHandlerAdapter
Exception
public void sessionClosed(IoSession session) throws Exception
IoHandler
sessionClosed
in interface IoHandler
sessionClosed
in class IoHandlerAdapter
Exception
public void messageReceived(IoSession session, Object message) throws Exception
IoHandler
messageReceived
in interface IoHandler
messageReceived
in class IoHandlerAdapter
Exception
Copyright © 2004–2014 Apache MINA Project. All rights reserved.