com.wily.introscope.client.wssdk.testimpl
Class TestAlertStatusUpdatesConsumer

java.lang.Object
  extended by com.wily.introscope.client.wssdk.testimpl.TestAlertStatusUpdatesConsumer
All Implemented Interfaces:
IAlertStatusUpdatesConsumer

public class TestAlertStatusUpdatesConsumer
extends java.lang.Object
implements IAlertStatusUpdatesConsumer

This is a test implementation of the IAlertStatusUpdatesConsumer interface that receives notifications on status related updates that are published by the Alerts Subscriptions Web Service on an Introscope Enterprise Manager.


Constructor Summary
TestAlertStatusUpdatesConsumer()
          Default Constructor
 
Method Summary
 void alertMessagesTriggered(DEMConfig emconfig, DMgmtModuleAlertMessage messageObjects)
          Sample implementation - prints out the notification received when alert notifications happen within a given Introscope Enterprise Manager.
 void updateAgentStatus(DEMConfig emconfig, DMgmtModuleAgentSnapshot messageObject)
          Sample implementation - prints out the notification received when updates for the status of an Agent happens ( this is the rolled up status obtained from all the alerts associated with an agent) within a given Introscope Enterprise Manager.
 void updateAlertDefnStatus(DEMConfig emconfig, DMgmtModuleAlertDefnSnapshot messageObject)
          Sample implementation - prints out the notification received when updates happen for the status of an Alert Definition within a given Introscope Enterprise Manager.
 void updateManagementModuleStatus(DEMConfig emconfig, DMgmtModuleSnapshot messageObject)
          Sample implementation - prints out the notification received when updates for the status of a Management Module happen ( this is the rolled up status obtained from all the alerts within an agent and all the agents that are configured for alerts and are hence associated with a given Management Module) within a given Introscope Enterprise Manager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestAlertStatusUpdatesConsumer

public TestAlertStatusUpdatesConsumer()
Default Constructor

Method Detail

updateManagementModuleStatus

public void updateManagementModuleStatus(DEMConfig emconfig,
                                         DMgmtModuleSnapshot messageObject)
Sample implementation - prints out the notification received when updates for the status of a Management Module happen ( this is the rolled up status obtained from all the alerts within an agent and all the agents that are configured for alerts and are hence associated with a given Management Module) within a given Introscope Enterprise Manager.

Specified by:
updateManagementModuleStatus in interface IAlertStatusUpdatesConsumer
Parameters:
emconfig -
messageObject -

updateAgentStatus

public void updateAgentStatus(DEMConfig emconfig,
                              DMgmtModuleAgentSnapshot messageObject)
Sample implementation - prints out the notification received when updates for the status of an Agent happens ( this is the rolled up status obtained from all the alerts associated with an agent) within a given Introscope Enterprise Manager.

Specified by:
updateAgentStatus in interface IAlertStatusUpdatesConsumer
Parameters:
emconfig -
messageObject -

updateAlertDefnStatus

public void updateAlertDefnStatus(DEMConfig emconfig,
                                  DMgmtModuleAlertDefnSnapshot messageObject)
Sample implementation - prints out the notification received when updates happen for the status of an Alert Definition within a given Introscope Enterprise Manager.

Specified by:
updateAlertDefnStatus in interface IAlertStatusUpdatesConsumer
Parameters:
emconfig -
messageObject -

alertMessagesTriggered

public void alertMessagesTriggered(DEMConfig emconfig,
                                   DMgmtModuleAlertMessage messageObjects)
Sample implementation - prints out the notification received when alert notifications happen within a given Introscope Enterprise Manager.

Specified by:
alertMessagesTriggered in interface IAlertStatusUpdatesConsumer
Parameters:
emconfig -
messageObjects -


Copyright © 2007 CA Inc. All Rights Reserved.