org.apache.sshd.server.session
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.server.session.SessionFactory
- All Implemented Interfaces:
- org.apache.mina.core.service.IoHandler
public class SessionFactory
- extends AbstractSessionFactory
A factory of server sessions.
This class can be used as a way to customize the creation of server sessions.
- Author:
- Apache MINA SSHD Project
- See Also:
SshServer.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 |
server
protected SshServer server
SessionFactory
public SessionFactory()
setServer
public void setServer(SshServer server)
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.