com.swiftmq.admin.cli.event
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
 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

public 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