public class SessionFactory extends AbstractSessionFactory
SshServer.setSessionFactory(SessionFactory)
Modifier and Type | Field and Description |
---|---|
protected ServerFactoryManager |
server |
listeners
Constructor and Description |
---|
SessionFactory() |
Modifier and Type | Method and Description |
---|---|
protected AbstractSession |
doCreateSession(IoSession ioSession) |
void |
setServer(ServerFactoryManager server) |
addListener, createSession, removeListener
exceptionCaught, messageReceived, sessionClosed, sessionCreated
protected ServerFactoryManager server
public void setServer(ServerFactoryManager server)
protected AbstractSession doCreateSession(IoSession ioSession) throws Exception
doCreateSession
in class AbstractSessionFactory
Exception
Copyright © 2008–2014 The Apache Software Foundation. All rights reserved.