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,
Throwable cause) |
void |
messageReceived(IoSession ioSession,
Readable message) |
void |
sessionClosed(IoSession ioSession) |
void |
sessionCreated(IoSession ioSession) |
public 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 IoHandlerExceptionpublic void messageReceived(IoSession ioSession, Readable message) throws Exception
messageReceived in interface IoHandlerExceptionprotected abstract AbstractSession createSession(IoSession ioSession) throws Exception
ExceptionCopyright © 2008–2021 The Apache Software Foundation. All rights reserved.