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
Exception
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
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.