public abstract class AbstractSessionIoHandler extends Object implements IoHandler
| Constructor and Description |
|---|
AbstractSessionIoHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract AbstractSession |
createSession(IoSession ioSession) |
void |
exceptionCaught(IoSession ioSession,
Throwable cause) |
void |
messageReceived(IoSession ioSession,
Readable message) |
void |
sessionClosed(IoSession ioSession) |
void |
sessionCreated(IoSession ioSession) |
protected abstract AbstractSession createSession(IoSession ioSession) throws Exception
Exceptionpublic void sessionCreated(IoSession ioSession) throws Exception
sessionCreated in interface IoHandlerExceptionpublic void sessionClosed(IoSession ioSession) throws Exception
sessionClosed in interface IoHandlerExceptionpublic void exceptionCaught(IoSession ioSession, Throwable cause) throws Exception
exceptionCaught in interface IoHandlerExceptionCopyright © 2008–2015 The Apache Software Foundation. All rights reserved.