public abstract class AbstractSessionIoHandler extends java.lang.Object implements IoHandler
| Constructor and Description |
|---|
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) |
protected abstract AbstractSession createSession(IoSession ioSession) throws java.lang.Exception
java.lang.Exceptionpublic 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.ExceptionCopyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.