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/monitors/UserCount__Monitor.java
(Generate patch)

Comparing projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/UserCount__Monitor.java (file contents):
Revision 1.6 by tdb, Wed Feb 5 16:43:46 2003 UTC vs.
Revision 1.7 by tdb, Thu Jan 15 13:41:48 2004 UTC

# Line 63 | Line 63 | public class UserCount__Monitor extends MonitorSkeleto
63      public void analysePacket(XMLPacket packet) {
64          // what host are we looking at
65          String source = packet.getParam("packet.attributes.machine_name");
66 +        if(!checkBooleanConfig(source, "Monitor." + _name + ".enable")) {
67 +            return;
68 +        }
69          
70          // if we don't have an entry in our HashMap, make one
71          if (!_hosts.containsKey(source)) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines