Class NetconfSessionFactory

  • All Implemented Interfaces:
    org.opendaylight.netconf.shaded.sshd.common.io.IoHandler

    @Beta
    public class NetconfSessionFactory
    extends org.opendaylight.netconf.shaded.sshd.client.session.SessionFactory
    A SessionFactory which creates NetconfClientSessionImpls.
    • Field Summary

      • Fields inherited from class org.opendaylight.netconf.shaded.sshd.common.util.logging.AbstractLoggingBean

        log
    • Constructor Summary

      Constructors 
      Constructor Description
      NetconfSessionFactory​(org.opendaylight.netconf.shaded.sshd.client.ClientFactoryManager client)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected NetconfClientSessionImpl doCreateSession​(org.opendaylight.netconf.shaded.sshd.common.io.IoSession ioSession)  
      • Methods inherited from class org.opendaylight.netconf.shaded.sshd.client.session.SessionFactory

        getClient
      • Methods inherited from class org.opendaylight.netconf.shaded.sshd.common.session.helpers.AbstractSessionFactory

        createSession, getFactoryManager, setupSession
      • Methods inherited from class org.opendaylight.netconf.shaded.sshd.common.session.helpers.AbstractSessionIoHandler

        exceptionCaught, messageReceived, sessionClosed, sessionCreated
      • Methods inherited from class org.opendaylight.netconf.shaded.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
    • Constructor Detail

      • NetconfSessionFactory

        public NetconfSessionFactory​(org.opendaylight.netconf.shaded.sshd.client.ClientFactoryManager client)
    • Method Detail

      • doCreateSession

        protected NetconfClientSessionImpl doCreateSession​(org.opendaylight.netconf.shaded.sshd.common.io.IoSession ioSession)
                                                    throws Exception
        Overrides:
        doCreateSession in class org.opendaylight.netconf.shaded.sshd.client.session.SessionFactory
        Throws:
        Exception