solar.service.pack.filter
Class EVEN
java.lang.Object
|
+--solar.service.pack.PackFilter
|
+--solar.service.pack.filter.EVEN
- All Implemented Interfaces:
- Identifiable
- public class EVEN
- extends PackFilter
The PACK filter throws events whose value is not odd.
- Version:
- $Id: EVEN.java,v 1.3 2003/10/13 14:53:34 glchen Exp $
- Author:
- Guanling Chen
Fields inherited from class solar.service.pack.PackFilter |
|
Constructor Summary |
EVEN()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_filterAttr
protected java.lang.String _filterAttr
EVEN
public EVEN()
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