Package com.swiftmq.admin.cli.event
Interface RouterListener
-
public interface RouterListenerA 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 voidonRouterEvent(java.lang.String routerName, boolean available)Notification method to be invoked from CLI if a router changes his states (becomes available/unavailable).
-