Cisco Systems, Inc.

com.pcube.apps.engage.policy
Class ProtocolFilter

java.lang.Object
  extended by com.pcube.apps.engage.policy.ProtocolFilter
All Implemented Interfaces:
com.pcube.apps.framework.commons.Filter

public abstract class ProtocolFilter
extends java.lang.Object
implements com.pcube.apps.framework.commons.Filter


Field Summary
static ProtocolFilter GENERIC_AND_SIG_BASED_PROTOCOL_FILTER
           
static ProtocolFilter GENERIC_PROTOCOL_FILTER
          Comment for GENERIC_PROTOCOL_FILTER
static ProtocolFilter IP_PROTOCOL_FILTER
          Comment for IP_PROTOCOL_FILTER
static ProtocolFilter NULL_FILTER
          Comment for NULL_FILTER
static ProtocolFilter PORT_BASED_PROTOCOL_FILTER
          Comment for PORT_BASED_PROTOCOL_FILTER
static ProtocolFilter SIG_BASED_PROTOCOL_FILTER
          Comment for SIG_BASED_PROTOCOL_FILTER
 
Constructor Summary
ProtocolFilter()
           
 
Method Summary
 boolean accept(java.lang.Object p)
           
abstract  boolean accept(Protocol p)
           
 com.pcube.apps.framework.commons.Filter chain(com.pcube.apps.framework.commons.Filter f)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL_FILTER

public static final ProtocolFilter NULL_FILTER
Comment for NULL_FILTER


GENERIC_PROTOCOL_FILTER

public static final ProtocolFilter GENERIC_PROTOCOL_FILTER
Comment for GENERIC_PROTOCOL_FILTER


IP_PROTOCOL_FILTER

public static final ProtocolFilter IP_PROTOCOL_FILTER
Comment for IP_PROTOCOL_FILTER


PORT_BASED_PROTOCOL_FILTER

public static final ProtocolFilter PORT_BASED_PROTOCOL_FILTER
Comment for PORT_BASED_PROTOCOL_FILTER


SIG_BASED_PROTOCOL_FILTER

public static final ProtocolFilter SIG_BASED_PROTOCOL_FILTER
Comment for SIG_BASED_PROTOCOL_FILTER


GENERIC_AND_SIG_BASED_PROTOCOL_FILTER

public static final ProtocolFilter GENERIC_AND_SIG_BASED_PROTOCOL_FILTER
Constructor Detail

ProtocolFilter

public ProtocolFilter()
Method Detail

accept

public abstract boolean accept(Protocol p)
Parameters:
p -
Returns:

accept

public boolean accept(java.lang.Object p)
Specified by:
accept in interface com.pcube.apps.framework.commons.Filter

chain

public com.pcube.apps.framework.commons.Filter chain(com.pcube.apps.framework.commons.Filter f)
Specified by:
chain in interface com.pcube.apps.framework.commons.Filter

Cisco Systems, Inc.

Copyright © 2013 Cisco Systems, Inc. Confidential.