public class SessionFactory extends AbstractSessionFactory<ClientFactoryManager,ClientSessionImpl>
SshClient.setSessionFactory(SessionFactory)log| Constructor and Description |
|---|
SessionFactory(ClientFactoryManager client) |
| Modifier and Type | Method and Description |
|---|---|
protected ClientSessionImpl |
doCreateSession(IoSession ioSession) |
ClientFactoryManager |
getClient() |
createSession, getFactoryManager, setupSessionexceptionCaught, messageReceived, sessionClosed, sessionCreatedpublic SessionFactory(ClientFactoryManager client)
public final ClientFactoryManager getClient()
protected ClientSessionImpl doCreateSession(IoSession ioSession) throws Exception
doCreateSession in class AbstractSessionFactory<ClientFactoryManager,ClientSessionImpl>ExceptionCopyright © 2008–2021 The Apache Software Foundation. All rights reserved.