|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IIntroscopeClientRegisterer
This interface provides the ability to add/remove the IIntroscopeClient objects. An IIntroscopeClient object maps to an Enterprise Manager Connection. It also provides the following functionalities: -Pause Subscription for a list of given topics for an EM Connection. -Resume Subscription for a list of topics for an EM Connection. -Add/remove Consumers for the Webservice for alert related inventory updates. -Add/remove Consumers for the Webservice for alert related status updates. -Exposes functionalities for Metric/Event consumers to be added that can be implemented as the need arises. -Add/Remove Introscope life cycle event listeners.
Method Summary | |
---|---|
void |
addAlertInventoryUpdatesConsumer(IAlertInventoryUpdatesConsumer consumer)
SDK user can call this method to add a consumer interested in receiving Alert Inventory Updates for all registered Introscope EMs. |
void |
addAlertStatusUpdatesConsumer(IAlertStatusUpdatesConsumer consumer)
SDK user can call this method to add a consumer interested in receiving Alert Status Updates for all registered Introscope EMs. |
void |
addIntroscopeClient(IIntroscopeClient iscopeClient)
This method needs to be called by the SDK user after creating an instance of IIntroscopeClient. |
void |
addIscopeLifeCycleListener(IIntroscopeLifecycleListener listener)
SDK user can call this method to add a listener interested in receiving EM lifecycle events (start/stop/heartbeat) for all registered Introscope EMs. |
void |
pauseSubscription(IIntroscopeClient iscopeClient,
IIntroscopeTopic[] topics)
SDK user can call this method to pause subscription for specified topics on the Introscope EM referred to by the iscopeClient object. |
void |
removeAlertInventoryUpdatesConsumer(IAlertInventoryUpdatesConsumer consumer)
SDK user can call this method to remove a listener listening for changes in Alert Definition Inventory Updates. |
void |
removeAlertStatusUpdatesConsumer(IAlertStatusUpdatesConsumer listener)
Method to remove a listener listening for changes in Alert Status Updates. |
void |
removeIntroscopeClient(IIntroscopeClient iscopeClient)
This method needs to be called by the SDK user after a particular IIntroscopeClient is destroyed or no longer needed. |
void |
removeIscopeLifeCycleListener(IIntroscopeLifecycleListener listener)
SDK user can call this method to remove a registered listener. |
void |
resumeSubscription(IIntroscopeClient iscopeClient,
IIntroscopeTopic[] topics)
SDK user can call this method to resume subscription for specified topics on the Introscope EM referred to by the iscopeClient object. |
void |
setConsumerSpecifier(IConsumerSpecifier specifier)
This method needs to be called by the SDK user only once after the TOMCAT starts up. |
Method Detail |
---|
void setConsumerSpecifier(IConsumerSpecifier specifier)
specifier
- void addIntroscopeClient(IIntroscopeClient iscopeClient) throws java.lang.Exception
iscopeClient
-
java.lang.Exception
void removeIntroscopeClient(IIntroscopeClient iscopeClient) throws java.lang.Exception
iscopeClient
-
java.lang.Exception
void pauseSubscription(IIntroscopeClient iscopeClient, IIntroscopeTopic[] topics) throws java.lang.Exception
iscopeClient
- topics
-
java.lang.Exception
void resumeSubscription(IIntroscopeClient iscopeClient, IIntroscopeTopic[] topics) throws java.lang.Exception
iscopeClient
- topics
-
java.lang.Exception
void addIscopeLifeCycleListener(IIntroscopeLifecycleListener listener)
listener
- void removeIscopeLifeCycleListener(IIntroscopeLifecycleListener listener)
listener
- void addAlertInventoryUpdatesConsumer(IAlertInventoryUpdatesConsumer consumer)
consumer
- void removeAlertInventoryUpdatesConsumer(IAlertInventoryUpdatesConsumer consumer)
consumer
- void addAlertStatusUpdatesConsumer(IAlertStatusUpdatesConsumer consumer)
consumer
- void removeAlertStatusUpdatesConsumer(IAlertStatusUpdatesConsumer listener)
listener
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |