Next: Wait, There's More to
Up: Monitoring
Previous: Get Metrics
  Contents
After getting from a Monitorable a List of Metric instances and deciding that you want to monitor one or
the other of these metrics, what do you do then? Simply put you register with the Monitorable to obtain
notification if anything interesting happens. This is done by calling the function AddMetricListener
on the Monitorable. Unlike most spam lists you can actually get of the notification list for a Monitorable.
All one has to do to stop receiving notification of this Monitorable's state changes is to call the
function RemoveMetricListener on the Monitorable.
Andre Merzky
2004-05-13
|