Class AbstractSessionFactory<M extends FactoryManager,S extends AbstractSession>
java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.common.session.helpers.AbstractSessionIoHandler
org.apache.sshd.common.session.helpers.AbstractSessionFactory<M,S>
- Type Parameters:
M- Type ofFactoryManagerS- Type ofAbstractSession
- All Implemented Interfaces:
IoHandler
- Direct Known Subclasses:
SessionFactory,SessionFactory
public abstract class AbstractSessionFactory<M extends FactoryManager,S extends AbstractSession>
extends AbstractSessionIoHandler
An abstract base factory of sessions.
-
Field Summary
FieldsFields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ScreateSession(IoSession ioSession) protected abstract SdoCreateSession(IoSession ioSession) protected SsetupSession(S session) Methods inherited from class org.apache.sshd.common.session.helpers.AbstractSessionIoHandler
exceptionCaught, messageReceived, sessionClosed, sessionCreated
-
Field Details
-
manager
-
-
Constructor Details
-
AbstractSessionFactory
-
-
Method Details
-
getFactoryManager
-
createSession
- Specified by:
createSessionin classAbstractSessionIoHandler- Throws:
Exception
-
doCreateSession
- Throws:
Exception
-
setupSession
- Throws:
Exception
-