Class JGitSshClient.JGitSessionFactory

java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.common.session.helpers.AbstractSessionIoHandler
org.apache.sshd.common.session.helpers.AbstractSessionFactory<org.apache.sshd.client.ClientFactoryManager,org.apache.sshd.client.session.ClientSessionImpl>
org.apache.sshd.client.session.SessionFactory
org.eclipse.jgit.internal.transport.sshd.JGitSshClient.JGitSessionFactory
All Implemented Interfaces:
org.apache.sshd.common.io.IoHandler
Enclosing class:
JGitSshClient

private static class JGitSshClient.JGitSessionFactory extends org.apache.sshd.client.session.SessionFactory
A SessionFactory to create our own specialized JGitClientSessions.
  • Field Summary

    Fields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean

    log
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.apache.sshd.client.session.ClientSessionImpl
    doCreateSession(org.apache.sshd.common.io.IoSession ioSession)
     

    Methods inherited from class org.apache.sshd.client.session.SessionFactory

    getClient

    Methods inherited from class org.apache.sshd.common.session.helpers.AbstractSessionFactory

    createSession, getFactoryManager, setupSession

    Methods inherited from class org.apache.sshd.common.session.helpers.AbstractSessionIoHandler

    exceptionCaught, messageReceived, sessionClosed, sessionCreated

    Methods inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean

    debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warn

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JGitSessionFactory

      public JGitSessionFactory(JGitSshClient client)
  • Method Details

    • doCreateSession

      protected org.apache.sshd.client.session.ClientSessionImpl doCreateSession(org.apache.sshd.common.io.IoSession ioSession) throws Exception
      Overrides:
      doCreateSession in class org.apache.sshd.client.session.SessionFactory
      Throws:
      Exception