|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.mina.core.service.IoHandlerAdapter
org.apache.sshd.common.AbstractSessionIoHandler
org.apache.sshd.common.session.AbstractSessionFactory
org.apache.sshd.server.session.SessionFactory
public class SessionFactory
A factory of server sessions. This class can be used as a way to customize the creation of server sessions.
SshServer.setSessionFactory(SessionFactory)| Field Summary | |
|---|---|
protected SshServer |
server
|
| Fields inherited from class org.apache.sshd.common.session.AbstractSessionFactory |
|---|
listeners |
| Constructor Summary | |
|---|---|
SessionFactory()
|
|
| Method Summary | |
|---|---|
protected AbstractSession |
doCreateSession(org.apache.mina.core.session.IoSession ioSession)
|
void |
setServer(SshServer server)
|
| Methods inherited from class org.apache.sshd.common.session.AbstractSessionFactory |
|---|
addListener, createSession, removeListener |
| Methods inherited from class org.apache.sshd.common.AbstractSessionIoHandler |
|---|
exceptionCaught, messageReceived, sessionClosed, sessionCreated |
| Methods inherited from class org.apache.mina.core.service.IoHandlerAdapter |
|---|
messageSent, sessionIdle, sessionOpened |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected SshServer server
| Constructor Detail |
|---|
public SessionFactory()
| Method Detail |
|---|
public void setServer(SshServer server)
protected AbstractSession doCreateSession(org.apache.mina.core.session.IoSession ioSession)
throws java.lang.Exception
doCreateSession in class AbstractSessionFactoryjava.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||