--- projects/cms/source/server/uk/org/iscream/cms/server/filter/plugins/EnforceEssentialData__Plugin.java 2003/02/05 16:43:47 1.14 +++ projects/cms/source/server/uk/org/iscream/cms/server/filter/plugins/EnforceEssentialData__Plugin.java 2003/02/24 20:18:49 1.15 @@ -33,7 +33,7 @@ import uk.org.iscream.cms.server.componentmanager.*; * contain all of the 'essential' data. * * @author $Author: tdb $ - * @version $Id: EnforceEssentialData__Plugin.java,v 1.14 2003/02/05 16:43:47 tdb Exp $ + * @version $Id: EnforceEssentialData__Plugin.java,v 1.15 2003/02/24 20:18:49 tdb Exp $ */ public class EnforceEssentialData__Plugin implements PluginFilter { @@ -42,7 +42,7 @@ public class EnforceEssentialData__Plugin implements P /** * The current CVS revision of this class */ - public final String REVISION = "$Revision: 1.14 $"; + public final String REVISION = "$Revision: 1.15 $"; public final String DESC = "Rejects packets that do not have an ip, machine_name, seq_no, date and type specified as attributes of the root packet tag."; @@ -54,14 +54,6 @@ public class EnforceEssentialData__Plugin implements P // apply the filter and return true if successful. public boolean runFilter(XMLPacket packet){ - - // return true if a heartbeat packet seems ok - if (packet.getParam("packet.attributes.type").equals("heartbeat") - && packet.getParam("packet.attributes.date") != null - && packet.getParam("packet.attributes.ip") != null - && packet.getParam("packet.attributes.machine_name") != null){ - return true; - } // return true if a queueStat packet seems ok if (packet.getParam("packet.attributes.type").equals("queueStat")