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 protectedAbstractSessionIoHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract AbstractSessioncreateSession(IoSession ioSession)voidexceptionCaught(IoSession ioSession, Throwable cause)voidmessageReceived(IoSession ioSession, Readable message)voidsessionClosed(IoSession ioSession)voidsessionCreated(IoSession ioSession)
-
-
-
Method Detail
-
sessionCreated
public void sessionCreated(IoSession ioSession) throws Exception
- Specified by:
sessionCreatedin interfaceIoHandler- Throws:
Exception
-
sessionClosed
public void sessionClosed(IoSession ioSession) throws Exception
- Specified by:
sessionClosedin interfaceIoHandler- Throws:
Exception
-
exceptionCaught
public void exceptionCaught(IoSession ioSession, Throwable cause) throws Exception
- Specified by:
exceptionCaughtin interfaceIoHandler- Throws:
Exception
-
messageReceived
public void messageReceived(IoSession ioSession, Readable message) throws Exception
- Specified by:
messageReceivedin interfaceIoHandler- Throws:
Exception
-
createSession
protected abstract AbstractSession createSession(IoSession ioSession) throws Exception
- Throws:
Exception
-
-