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

Comparing projects/cms/source/server/uk/org/iscream/cms/server/filter/plugins/EnforceEssentialData__Plugin.java (file contents):
Revision 1.14 by tdb, Wed Feb 5 16:43:47 2003 UTC vs.
Revision 1.15 by tdb, Mon Feb 24 20:18:49 2003 UTC

# Line 55 | Line 55 | public class EnforceEssentialData__Plugin implements P
55      // apply the filter and return true if successful.
56      public boolean runFilter(XMLPacket packet){
57          
58        // return true if a heartbeat packet seems ok
59        if (packet.getParam("packet.attributes.type").equals("heartbeat")
60                && packet.getParam("packet.attributes.date") != null
61                && packet.getParam("packet.attributes.ip") != null
62                && packet.getParam("packet.attributes.machine_name") != null){
63            return true;
64        }
65        
58          // return true if a queueStat packet seems ok
59          if (packet.getParam("packet.attributes.type").equals("queueStat")
60                  && packet.getParam("packet.attributes.date") != null

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines