public class HaikuValidatorIoHandler extends IoHandlerAdapter
构造器和说明 |
---|
HaikuValidatorIoHandler() |
限定符和类型 | 方法和说明 |
---|---|
void |
messageReceived(IoSession session,
java.lang.Object message)
Invoked when a message is received.
|
exceptionCaught, inputClosed, messageSent, sessionClosed, sessionCreated, sessionIdle, sessionOpened
public void messageReceived(IoSession session, java.lang.Object message) throws java.lang.Exception
IoHandlerAdapter
messageReceived
在接口中 IoHandler
messageReceived
在类中 IoHandlerAdapter
session
- The session that is receiving a messagemessage
- The received messagejava.lang.Exception
- If we get an exception while processing the received message