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, setupSessionexceptionCaught, messageReceived, sessionClosed, sessionCreatedgetSimplifiedLoggerpublic SessionFactory(ServerFactoryManager server)
public final ServerFactoryManager getServer()
protected ServerSessionImpl doCreateSession(IoSession ioSession) throws Exception
doCreateSession in class AbstractSessionFactory<ServerFactoryManager,ServerSessionImpl>ExceptionCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.