Top Description Fields Constructors Methods
org.apache.sshd.common.session.helpers

public abstract Class AbstractSessionFactory<M extends FactoryManager, S extends AbstractSession>

extends AbstractSessionIoHandler
Class Inheritance
Known Direct Subclasses
org.apache.sshd.server.session.SessionFactory, org.apache.sshd.client.session.SessionFactory
Type Parameters
<M>
Type of FactoryManager
<S>
Type of AbstractSession
Imports
java.util.Objects, org.apache.sshd.common.FactoryManager, org.apache.sshd.common.io.IoSession

An abstract base factory of sessions.
Author
Apache MINA SSHD Project

Field Summary

Modifier and TypeField and Description
private final M

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
protected S
protected abstract S
public M
protected S
setupSession(S session)

Inherited from org.apache.sshd.common.session.helpers.AbstractSessionIoHandler:
exceptionCaughtmessageReceivedsessionClosedsessionCreated

Field Detail

managerback to summary
private final M manager

Constructor Detail

AbstractSessionFactoryback to summary
protected AbstractSessionFactory(M manager)

Method Detail

createSessionback to summary
protected S createSession(IoSession ioSession) throws Exception

Implements abstract org.apache.sshd.common.session.helpers.AbstractSessionIoHandler.createSession.

Annotations
@Override
doCreateSessionback to summary
protected abstract S doCreateSession(IoSession ioSession) throws Exception
getFactoryManagerback to summary
public M getFactoryManager()
setupSessionback to summary
protected S setupSession(S session) throws Exception