public class SessionFactory extends AbstractSessionFactory
SshServer.setSessionFactory(SessionFactory)listeners| Constructor and Description |
|---|
SessionFactory() |
SessionFactory(ServerFactoryManager manager) |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractSession |
doCreateSession(IoSession ioSession) |
ServerFactoryManager |
getServer() |
void |
setServer(ServerFactoryManager server) |
addListener, createSession, removeListenerexceptionCaught, messageReceived, sessionClosed, sessionCreatedpublic SessionFactory()
public SessionFactory(ServerFactoryManager manager)
public ServerFactoryManager getServer()
public void setServer(ServerFactoryManager server)
protected AbstractSession doCreateSession(IoSession ioSession) throws Exception
doCreateSession in class AbstractSessionFactoryExceptionCopyright © 2008–2015 The Apache Software Foundation. All rights reserved.