Interface SwitchConnectionProvider

    • Method Detail

      • getConfiguration

        ConnectionConfiguration getConfiguration()
        Returns the connection configuration.
        Returns:
        configuration [protocol, port, address and supported features]
      • shutdown

        com.google.common.util.concurrent.ListenableFuture<Boolean> shutdown()
        Stop listening to switches.
        Returns:
        future, triggered to true, when all listening channels are down
      • setSwitchConnectionHandler

        void setSwitchConnectionHandler​(SwitchConnectionHandler switchConHandler)
        Sets the SwitchConnectionHandler.
        Parameters:
        switchConHandler - instance being informed when new switch connects