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) |
public void sessionCreated(IoSession ioSession) throws java.lang.Exception
sessionCreated
in interface IoHandler
java.lang.Exception
public void sessionClosed(IoSession ioSession) throws java.lang.Exception
sessionClosed
in interface IoHandler
java.lang.Exception
public void exceptionCaught(IoSession ioSession, java.lang.Throwable cause) throws java.lang.Exception
exceptionCaught
in interface IoHandler
java.lang.Exception
public void messageReceived(IoSession ioSession, Readable message) throws java.lang.Exception
messageReceived
in interface IoHandler
java.lang.Exception
protected abstract AbstractSession createSession(IoSession ioSession) throws java.lang.Exception
java.lang.Exception