public class SessionFactory extends AbstractSessionFactory<ServerFactoryManager,ServerSessionImpl>
SshServer.setSessionFactory(SessionFactory)
log
Constructor and Description |
---|
SessionFactory(ServerFactoryManager server) |
Modifier and Type | Method and Description |
---|---|
protected ServerSessionImpl |
doCreateSession(IoSession ioSession) |
ServerFactoryManager |
getServer() |
createSession, getFactoryManager, setupSession
exceptionCaught, messageReceived, sessionClosed, sessionCreated
public SessionFactory(ServerFactoryManager server)
public final ServerFactoryManager getServer()
protected ServerSessionImpl doCreateSession(IoSession ioSession) throws Exception
doCreateSession
in class AbstractSessionFactory<ServerFactoryManager,ServerSessionImpl>
Exception
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.