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