ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/uk/org/iscream/cms/server/client/AlerterSkeleton.java
(Generate patch)

Comparing projects/cms/source/server/uk/org/iscream/cms/server/client/AlerterSkeleton.java (file contents):
Revision 1.3 by ajm, Fri Mar 23 01:09:16 2001 UTC vs.
Revision 1.4 by ajm, Fri Mar 23 01:32:38 2001 UTC

# Line 54 | Line 54 | public abstract class AlerterSkeleton extends Thread i
54  
55   //---PUBLIC METHODS---
56  
57 +    /**
58 +     * Reads the next alert from the alerter queue for this
59 +     * alerter.  It then looks up Alerter.<alerter name>.level in
60 +     * the configuration to determine the lowest level of alert
61 +     * the extending alerter should send.  If the alert is
62 +     * above this level, or if the alert is an OK for an alert
63 +     * escalation which did rise above this alerters level, it then
64 +     * calls sendAlert to tell the alerter to send the alert.  If it
65 +     * isn't above this level, it ignores the alert.
66 +     */
67      public void run() {
68          while(_running) {
69              try {
# Line 172 | Line 182 | public abstract class AlerterSkeleton extends Thread i
182      protected ConfigurationProxy _cp = ConfigurationProxy.getInstance();
183  
184      /**
185 <     * A reference to the LocalClient alerter queue, into which
185 >     * A reference to the Alerter queue, into which
186       * all new alerts will be placed.
187       */
188 <    protected Queue _alerterQueue = ClientMain._alerterQueue;
188 >    protected Queue _alerterQueue = AlerterManager.getInstance().getQueue();
189      
190      /**
191       * The ID of the queue the alerter will use.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines