SSF.OS.NetFlow.Filter
Class NumericRange

java.lang.Object
  |
  +--SSF.OS.NetFlow.Filter.NumericRange
All Implemented Interfaces:
Range

public class NumericRange
extends java.lang.Object
implements Range

Basically, given a number, it checks whether the number is within a range or not.


Constructor Summary
NumericRange()
           
 
Method Summary
 void config(com.renesys.raceway.DML.Configuration cfg, byte dataType)
          config the range, decide the min and max value min -- min value max -- max value
 boolean inRange(java.lang.Object data, byte dataType)
          check whether given data is within the range
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumericRange

public NumericRange()
Method Detail

config

public void config(com.renesys.raceway.DML.Configuration cfg,
                   byte dataType)
            throws com.renesys.raceway.DML.configException
config the range, decide the min and max value

Specified by:
config in interface Range
com.renesys.raceway.DML.configException

inRange

public boolean inRange(java.lang.Object data,
                       byte dataType)
check whether given data is within the range

Specified by:
inRange in interface Range