public static class AbstractIoServiceTest.ServerHandler extends IoHandlerAdapter
Constructor and Description |
---|
ServerHandler() |
Modifier and Type | Method and Description |
---|---|
void |
exceptionCaught(IoSession session,
Throwable cause) |
void |
messageReceived(IoSession session,
Object message) |
inputClosed, messageSent, sessionClosed, sessionCreated, sessionIdle, sessionOpened
public ServerHandler()
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–2016 Apache MINA Project. All rights reserved.