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

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

public class TestAlertInventoryUpdatesConsumer
extends java.lang.Object
implements IAlertInventoryUpdatesConsumer

This is a test implementation of the IAlertInventoryConsumer interface that receives callback on inventory related updates that are published by the EM Alerts Subscriptions Web Service.


Constructor Summary
TestAlertInventoryUpdatesConsumer()
          Default Constructor
 
Method Summary
 void addAgent(DEMConfig emconfig, DMgmtModuleAgentSnapshot messageObject)
          Sample implementation - prints out the notification received when an agent is picked up under any Management Module in a given Introscope Enterprise Manager.
 void addAlertDefn(DEMConfig emconfig, DMgmtModuleAlertDefnSnapshot messageObject)
          Sample implementation - prints out the notification received when an Alert Definition is added in the context of a Management Module and an agent in a given Introscope Enterprise Manager.
 void addManagementModule(DEMConfig emconfig, DMgmtModuleSnapshot messageObject)
          Sample implementation - prints out the notification received when addition of any Management Module happens within a given Introscope Enterprise Manager.
 void removeAgent(DEMConfig emconfig, DMgmtModuleAgentSnapshot messageObject)
          Sample implementation - prints out the notification received when an agent is remove from under any Management Module in a given Introscope Enterprise Manager.
 void removeAlertDefn(DEMConfig emconfig, DMgmtModuleAlertDefnSnapshot messageObject)
          Sample implementation - prints out the notification received when an Alert Definition is no longer available in the context of a Management Module and an agent in a given Introscope Enterprise Manager.
 void removeManagementModule(DEMConfig emconfig, DMgmtModuleSnapshot messageObject)
          Sample implementation - prints out the notification received when removal of any Management Module happens within a given Introscope Enterprise Manager.
 void updateAlertDefn(DEMConfig emconfig, DMgmtModuleAlertDefnSnapshot messageObject)
          Sample implementation - prints out the notification received when an Alert Definition is updated in the context of a Management Module and an agent in 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

TestAlertInventoryUpdatesConsumer

public TestAlertInventoryUpdatesConsumer()
Default Constructor

Method Detail

addManagementModule

public void addManagementModule(DEMConfig emconfig,
                                DMgmtModuleSnapshot messageObject)
Sample implementation - prints out the notification received when addition of any Management Module happens within a given Introscope Enterprise Manager.

Specified by:
addManagementModule in interface IAlertInventoryUpdatesConsumer
Parameters:
emconfig -
messageObject -

removeManagementModule

public void removeManagementModule(DEMConfig emconfig,
                                   DMgmtModuleSnapshot messageObject)
Sample implementation - prints out the notification received when removal of any Management Module happens within a given Introscope Enterprise Manager.

Specified by:
removeManagementModule in interface IAlertInventoryUpdatesConsumer
Parameters:
emconfig -
messageObject -

addAgent

public void addAgent(DEMConfig emconfig,
                     DMgmtModuleAgentSnapshot messageObject)
Sample implementation - prints out the notification received when an agent is picked up under any Management Module in a given Introscope Enterprise Manager.

Specified by:
addAgent in interface IAlertInventoryUpdatesConsumer
Parameters:
emconfig -
messageObject -

removeAgent

public void removeAgent(DEMConfig emconfig,
                        DMgmtModuleAgentSnapshot messageObject)
Sample implementation - prints out the notification received when an agent is remove from under any Management Module in a given Introscope Enterprise Manager.

Specified by:
removeAgent in interface IAlertInventoryUpdatesConsumer
Parameters:
emconfig -
messageObject -

addAlertDefn

public void addAlertDefn(DEMConfig emconfig,
                         DMgmtModuleAlertDefnSnapshot messageObject)
Sample implementation - prints out the notification received when an Alert Definition is added in the context of a Management Module and an agent in a given Introscope Enterprise Manager.

Specified by:
addAlertDefn in interface IAlertInventoryUpdatesConsumer
Parameters:
emconfig -
messageObject -

removeAlertDefn

public void removeAlertDefn(DEMConfig emconfig,
                            DMgmtModuleAlertDefnSnapshot messageObject)
Sample implementation - prints out the notification received when an Alert Definition is no longer available in the context of a Management Module and an agent in a given Introscope Enterprise Manager.

Specified by:
removeAlertDefn in interface IAlertInventoryUpdatesConsumer
Parameters:
emconfig -
messageObject -

updateAlertDefn

public void updateAlertDefn(DEMConfig emconfig,
                            DMgmtModuleAlertDefnSnapshot messageObject)
Sample implementation - prints out the notification received when an Alert Definition is updated in the context of a Management Module and an agent in a given Introscope Enterprise Manager.

Specified by:
updateAlertDefn in interface IAlertInventoryUpdatesConsumer
Parameters:
emconfig -
messageObject -


Copyright © 2007 CA Inc. All Rights Reserved.