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 IoHandler
Exception
public void sessionClosed(IoSession ioSession) throws Exception
sessionClosed
in interface IoHandler
Exception
public void exceptionCaught(IoSession ioSession, Throwable cause) throws Exception
exceptionCaught
in interface IoHandler
Exception
public void messageReceived(IoSession ioSession, Readable message) throws Exception
messageReceived
in interface IoHandler
Exception
protected abstract AbstractSession createSession(IoSession ioSession) throws Exception
Exception
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.