org.apache.sshd.client
Class SessionFactory
java.lang.Object
org.apache.mina.core.service.IoHandlerAdapter
org.apache.sshd.common.AbstractSessionIoHandler
org.apache.sshd.common.session.AbstractSessionFactory
org.apache.sshd.client.SessionFactory
- All Implemented Interfaces:
- org.apache.mina.core.service.IoHandler
public class SessionFactory
- extends 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:
SshClient.setSessionFactory(SessionFactory)
Methods inherited from class org.apache.mina.core.service.IoHandlerAdapter |
messageSent, sessionIdle, sessionOpened |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
client
protected SshClient client
SessionFactory
public SessionFactory()
setClient
public void setClient(SshClient client)
doCreateSession
protected AbstractSession doCreateSession(org.apache.mina.core.session.IoSession ioSession)
throws Exception
- Specified by:
doCreateSession
in class AbstractSessionFactory
- Throws:
Exception
Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.