--- projects/cms/source/server/uk/org/iscream/cms/server/filter/plugins/TypeChecker__Plugin.java 2003/02/05 16:43:47 1.8 +++ projects/cms/source/server/uk/org/iscream/cms/server/filter/plugins/TypeChecker__Plugin.java 2003/02/24 20:18:49 1.9 @@ -32,7 +32,7 @@ import uk.org.iscream.cms.server.componentmanager.*; * This plugin is designed to check the type of incoming packets. * * @author $Author: tdb $ - * @version $Id: TypeChecker__Plugin.java,v 1.8 2003/02/05 16:43:47 tdb Exp $ + * @version $Id: TypeChecker__Plugin.java,v 1.9 2003/02/24 20:18:49 tdb Exp $ */ public class TypeChecker__Plugin implements PluginFilter { @@ -41,7 +41,7 @@ public class TypeChecker__Plugin implements PluginFilt /** * The current CVS revision of this class */ - public final String REVISION = "$Revision: 1.8 $"; + public final String REVISION = "$Revision: 1.9 $"; public final String DESC = "Checks the type attribute in the packet attributes. This must be correctly specified to allow the packet through."; @@ -56,8 +56,7 @@ public class TypeChecker__Plugin implements PluginFilt // return false if one of the predetermined types is not set. if(packet.getParam("packet.attributes.type") == null - || (!packet.getParam("packet.attributes.type").equals("heartbeat") - && !packet.getParam("packet.attributes.type").equals("queueStat") + || (!packet.getParam("packet.attributes.type").equals("queueStat") && !packet.getParam("packet.attributes.type").equals("data"))){ return false; }