public class SessionFactory extends AbstractSessionFactory
SshClient.setSessionFactory(SessionFactory)
Modifier and Type | Field and Description |
---|---|
protected ClientFactoryManager |
client |
listeners
Constructor and Description |
---|
SessionFactory() |
Modifier and Type | Method and Description |
---|---|
protected AbstractSession |
doCreateSession(IoSession ioSession) |
void |
setClient(ClientFactoryManager client) |
addListener, createSession, removeListener
exceptionCaught, messageReceived, sessionClosed, sessionCreated
protected ClientFactoryManager client
public void setClient(ClientFactoryManager client)
protected AbstractSession doCreateSession(IoSession ioSession) throws Exception
doCreateSession
in class AbstractSessionFactory
Exception
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.