Interface NetconfSessionFactory

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface NetconfSessionFactory
    Abstract interface for the creation of a NETCONF session.
    • Method Detail

      • createNetconfSession

        NetconfSession createNetconfSession​(NetconfDeviceInfo netconfDeviceInfo,
                                            NetconfController netconfController)
                                     throws NetconfException
        Creates a new NETCONF session for the specified device.
        Parameters:
        netconfDeviceInfo - information of the device to create the session for.
        netconfController - netconf controller object
        Returns:
        Instance of NetconfSession.
        Throws:
        NetconfException - when problems arise establishing the connection.