Class AbstractSessionIoHandler
- java.lang.Object
-
- org.apache.sshd.common.util.logging.AbstractLoggingBean
-
- org.apache.sshd.common.session.helpers.AbstractSessionIoHandler
-
- All Implemented Interfaces:
IoHandler
- Direct Known Subclasses:
AbstractSessionFactory
public abstract class AbstractSessionIoHandler extends AbstractLoggingBean implements IoHandler
TODO Add javadoc- Author:
- Apache MINA SSHD Project
-
-
Field Summary
-
Fields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
log
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractSessionIoHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
sessionCreated
public void sessionCreated(IoSession ioSession) throws Exception
- Specified by:
sessionCreated
in interfaceIoHandler
- Throws:
Exception
-
sessionClosed
public void sessionClosed(IoSession ioSession) throws Exception
- Specified by:
sessionClosed
in interfaceIoHandler
- Throws:
Exception
-
exceptionCaught
public void exceptionCaught(IoSession ioSession, Throwable cause) throws Exception
- Specified by:
exceptionCaught
in interfaceIoHandler
- Throws:
Exception
-
messageReceived
public void messageReceived(IoSession ioSession, Readable message) throws Exception
- Specified by:
messageReceived
in interfaceIoHandler
- Throws:
Exception
-
createSession
protected abstract AbstractSession createSession(IoSession ioSession) throws Exception
- Throws:
Exception
-
-