public class SessionFactory extends AbstractSessionFactory
SshServer.setSessionFactory(SessionFactory)
Modifier and Type | Field and Description |
---|---|
protected SshServer |
server |
listeners
Constructor and Description |
---|
SessionFactory() |
Modifier and Type | Method and Description |
---|---|
protected AbstractSession |
doCreateSession(org.apache.mina.core.session.IoSession ioSession) |
void |
setServer(SshServer server) |
addListener, createSession, removeListener
exceptionCaught, messageReceived, sessionClosed, sessionCreated
protected SshServer server
public void setServer(SshServer server)
protected AbstractSession doCreateSession(org.apache.mina.core.session.IoSession ioSession) throws Exception
doCreateSession
in class AbstractSessionFactory
Exception
Copyright © 2008-2013 The Apache Software Foundation. All Rights Reserved.