edu.uci.isr.yancees.server.filter
Class AbstractFilterManager.ResponseCollectorFilter

java.lang.Object
  extended byedu.uci.isr.yancees.server.filter.AbstractFilter
      extended byedu.uci.isr.yancees.server.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

Constructor Summary
AbstractFilterManager.ResponseCollectorFilter()
           
 
Method Summary
 void doFilterEvent(EventInterface evt)
          This method should be implemented by the superclass of the AbstractFilter in order to process the messages being passed through this filter
 void doFilterEventList(EventInterface[] evtList)
          This method should be implemented by the superclass of the AbstractFilter in order to process the messages being passed through this filter
 EventInterface[] getCollectedEvents()
           
 
Methods inherited from class edu.uci.isr.yancees.server.filter.AbstractFilter
addSuccessor, getName, getSuccessor, handleMessage, handleMessage, removeSuccessor, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractFilterManager.ResponseCollectorFilter

public AbstractFilterManager.ResponseCollectorFilter()
Method Detail

getCollectedEvents

public EventInterface[] getCollectedEvents()

doFilterEvent

public void doFilterEvent(EventInterface evt)
Description copied from class: AbstractFilter
This method should be implemented by the superclass of the AbstractFilter in order to process the messages being passed through this filter

Specified by:
doFilterEvent in class AbstractFilter

doFilterEventList

public void doFilterEventList(EventInterface[] evtList)
Description copied from class: AbstractFilter
This method should be implemented by the superclass of the AbstractFilter in order to process the messages being passed through this filter

Specified by:
doFilterEventList in class AbstractFilter
Parameters:
evtList - is a list of events to be filtered as a "burst"