Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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 Detail

      • JGitSessionFactory

        public JGitSessionFactory​(JGitSshClient client)
    • Method Detail

      • doCreateSession

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