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