Top Description Constructors Methods
org.apache.sshd.client.session

public Class SessionFactory

extends AbstractSessionFactory<ClientFactoryManager, ClientSessionImpl>
Class Inheritance
Imports
org.apache.sshd.client.ClientFactoryManager, org.apache.sshd.common.io.IoSession, org.apache.sshd.common.session.helpers.AbstractSessionFactory

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
org.apache.sshd.client.SshClient#setSessionFactory(SessionFactory)

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected ClientSessionImpl
public final ClientFactoryManager
Inherited from org.apache.sshd.common.session.helpers.AbstractSessionFactory:
createSessiongetFactoryManagersetupSession

Constructor Detail

SessionFactoryback to summary
public SessionFactory(ClientFactoryManager client)

Method Detail

doCreateSessionback to summary
protected ClientSessionImpl doCreateSession(IoSession ioSession) throws Exception

Implements abstract org.apache.sshd.common.session.helpers.AbstractSessionFactory.doCreateSession.

Annotations
@Override
getClientback to summary
public final ClientFactoryManager getClient()