public abstract class AbstractSessionIoHandler extends AbstractLoggingBean implements IoHandler
log| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSessionIoHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract AbstractSession |
createSession(IoSession ioSession) |
void |
exceptionCaught(IoSession ioSession,
java.lang.Throwable cause) |
void |
messageReceived(IoSession ioSession,
Readable message) |
void |
sessionClosed(IoSession ioSession) |
void |
sessionCreated(IoSession ioSession) |
getSimplifiedLoggerpublic void sessionCreated(IoSession ioSession) throws java.lang.Exception
sessionCreated in interface IoHandlerjava.lang.Exceptionpublic void sessionClosed(IoSession ioSession) throws java.lang.Exception
sessionClosed in interface IoHandlerjava.lang.Exceptionpublic void exceptionCaught(IoSession ioSession, java.lang.Throwable cause) throws java.lang.Exception
exceptionCaught in interface IoHandlerjava.lang.Exceptionpublic void messageReceived(IoSession ioSession, Readable message) throws java.lang.Exception
messageReceived in interface IoHandlerjava.lang.Exceptionprotected abstract AbstractSession createSession(IoSession ioSession) throws java.lang.Exception
java.lang.Exception