public class TelnetSessionHandler extends AbstractProxyIoHandler
Constructor and Description |
---|
TelnetSessionHandler()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
exceptionCaught(IoSession session,
Throwable cause) |
void |
messageReceived(IoSession session,
Object message) |
void |
proxySessionOpened(IoSession session) |
void |
sessionClosed(IoSession session) |
void |
sessionCreated(IoSession session) |
sessionOpened
inputClosed, messageSent, sessionIdle
public TelnetSessionHandler()
public void sessionCreated(IoSession session) throws Exception
sessionCreated
in interface IoHandler
sessionCreated
in class IoHandlerAdapter
Exception
public void proxySessionOpened(IoSession session) throws Exception
proxySessionOpened
in class AbstractProxyIoHandler
Exception
public void messageReceived(IoSession session, Object message)
messageReceived
in interface IoHandler
messageReceived
in class IoHandlerAdapter
public void sessionClosed(IoSession session) throws Exception
sessionClosed
in interface IoHandler
sessionClosed
in class IoHandlerAdapter
Exception
public void exceptionCaught(IoSession session, Throwable cause)
exceptionCaught
in interface IoHandler
exceptionCaught
in class IoHandlerAdapter
Copyright © 2004–2016 Apache MINA Project. All rights reserved.