edu.uci.isr.yancees.filter
Class AbstractFilterManager.ResponseCollectorFilter
java.lang.Object
edu.uci.isr.yancees.filter.AbstractFilter
edu.uci.isr.yancees.filter.AbstractFilterManager.ResponseCollectorFilter
- All Implemented Interfaces:
- FilterInterface
- Enclosing class:
- AbstractFilterManager
public class AbstractFilterManager.ResponseCollectorFilter
- extends AbstractFilter
This "dummy" filter only collects the event posted to it by the chain of
responsibilty of filters
It is used to collect the resultant event generated by the multiple filtering
performed in this class.
- Author:
- rsilvafi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractFilterManager.ResponseCollectorFilter
public AbstractFilterManager.ResponseCollectorFilter()
getCollectedEvents
public EventInterface[] getCollectedEvents()
doFilterEvent
public EventInterface[] doFilterEvent(EventInterface evt)
- Description copied from class:
AbstractFilter
- This method should be implemented by the subclasses of the AbstractFilter
in order to process the messages being passed through this filter.
A filter uses this method to receive the message and process it. The filter
must then select which events to let go to the next filter or subscriber.
These events are returned in the method.
- Specified by:
doFilterEvent
in class AbstractFilter
- Parameters:
evt
- is the event to be filtered
- Returns:
- is the list of events resulted from the filtering
doFilterEventList
public EventInterface[] doFilterEventList(EventInterface[] evtList)
- Description copied from class:
AbstractFilter
- This method should be implemented by the subclasses of the AbstractFilter
in order to process the messages being passed through this filter.
A filter uses this method to receive the message and process it. The filter
must then select which events to let go to the next filter or subscriber.
These events are returned in the method.
- Specified by:
doFilterEventList
in class AbstractFilter
- Parameters:
evtList
- is a list of events to be filtered as a "burst"
- Returns:
- is the list of events resulted from the filtering