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, setupSession
exceptionCaught, messageReceived, sessionClosed, sessionCreated
public SessionFactory(ClientFactoryManager client)
public final ClientFactoryManager getClient()
protected ClientSessionImpl doCreateSession(IoSession ioSession) throws Exception
doCreateSession
in class AbstractSessionFactory<ClientFactoryManager,ClientSessionImpl>
Exception
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.