solar.service.pack.filter
Class GE

java.lang.Object
  |
  +--solar.service.pack.PackFilter
        |
        +--solar.service.pack.filter.GE
All Implemented Interfaces:
Identifiable

public class GE
extends PackFilter

The PACK filter implements greater-equal operator.

Version:
$Id: GE.java,v 1.7 2003/10/13 14:53:34 glchen Exp $
Author:
Guanling Chen

Field Summary
protected  java.lang.String _filterAttr
           
protected  int _threshold
           
 
Fields inherited from class solar.service.pack.PackFilter
 
Constructor Summary
GE()
           
 
Method Summary
 void endSession(PackSession session)
          End a packing session.
 boolean filter(Event evt)
          Drop the event on floor if the filter returns false.
 void init(serp.util.Options opts)
          Init the filter with specified arguments.
 void startSession(PackSession session)
          Start a packing session.
 
Methods inherited from class solar.service.pack.PackFilter
getId, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_filterAttr

protected java.lang.String _filterAttr

_threshold

protected int _threshold
Constructor Detail

GE

public GE()
Method Detail

init

public void init(serp.util.Options opts)
          throws java.lang.Exception
Description copied from class: PackFilter
Init the filter with specified arguments.

Specified by:
init in class PackFilter
java.lang.Exception

startSession

public void startSession(PackSession session)
Description copied from class: PackFilter
Start a packing session.

Specified by:
startSession in class PackFilter

filter

public boolean filter(Event evt)
               throws java.lang.Exception
Description copied from class: PackFilter
Drop the event on floor if the filter returns false.

Specified by:
filter in class PackFilter
java.lang.Exception

endSession

public void endSession(PackSession session)
Description copied from class: PackFilter
End a packing session.

Specified by:
endSession in class PackFilter