|
||||||||||
| 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.client.SessionFactory
public class SessionFactory
A factory of client sessions. This class can be used as a way to customize the creation of client sessions.
SshClient.setSessionFactory(SessionFactory)| Field Summary | |
|---|---|
protected SshClient |
client
|
| Constructor Summary | |
|---|---|
SessionFactory()
|
|
| Method Summary | |
|---|---|
protected AbstractSession |
createSession(org.apache.mina.core.session.IoSession ioSession)
|
void |
setClient(SshClient client)
|
| 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 SshClient client
| Constructor Detail |
|---|
public SessionFactory()
| Method Detail |
|---|
public void setClient(SshClient client)
protected AbstractSession createSession(org.apache.mina.core.session.IoSession ioSession)
throws java.lang.Exception
createSession in class AbstractSessionIoHandlerjava.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||