Alert Manager

Purpose: Holds list of all alerts.

Properties:

LinkedList alerts

List of alerts that we need to watch for. These are, of course, defined by the user.

Public Methods:

void addAlert(Alert alertToAdd)

Adds a new alert to the alerts list.

void removeAlert(Alert alertToKill)

Removes the alertToKill from the alerts list.

iterator getAlerts()

Returns an iterator into the list of alerts so that one can search through all the alerts if needed.

void checkAlerts()

Checks all alerts to see if the condition has been met. If so, this will trigger the alerts action, if not, nothing happens,

Private Methods:

2004-02-29T11:12:51