Class SessionFactory
java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.common.session.helpers.AbstractSessionIoHandler
org.apache.sshd.common.session.helpers.AbstractSessionFactory<ClientFactoryManager, ClientSessionImpl>
org.apache.sshd.client.session.SessionFactory
- All Implemented Interfaces:
org.apache.sshd.common.io.IoHandler
A factory of client sessions. This class can be used as a way to customize the creation of client sessions.
- Author:
- Apache MINA SSHD Project
- See Also:
-
Field Summary
Fields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ClientSessionImpldoCreateSession(org.apache.sshd.common.io.IoSession ioSession) final ClientFactoryManagerMethods inherited from class AbstractSessionFactory
createSession, getFactoryManager, setupSessionMethods inherited from class AbstractSessionIoHandler
exceptionCaught, messageReceived, sessionClosed, sessionCreatedMethods inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warn
-
Constructor Details
-
SessionFactory
-
-
Method Details
-
getClient
-
doCreateSession
protected ClientSessionImpl doCreateSession(org.apache.sshd.common.io.IoSession ioSession) throws Exception - Specified by:
doCreateSessionin classAbstractSessionFactory<ClientFactoryManager, ClientSessionImpl>- Throws:
Exception
-