Interface RouterListener


  • public interface RouterListener
    A RouterListener can be registered at CLI to receive router availability events. If a router changes his states (becomes available/unavailable), CLI will fire a router event and will call the onRouterEvent method of all registered listeners. Note that the event notification takes place asynchronous.
    Since:
    1.2
    Author:
    IIT GmbH, Bremen/Germany
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onRouterEvent​(java.lang.String routerName, boolean available)
      Notification method to be invoked from CLI if a router changes his states (becomes available/unavailable).
    • Method Detail

      • onRouterEvent

        void onRouterEvent​(java.lang.String routerName,
                           boolean available)
        Notification method to be invoked from CLI if a router changes his states (becomes available/unavailable).
        Parameters:
        routerName - router name
        available - true/false