net.sourceforge.hiveevents
Interface Filter<T>

All Known Implementing Classes:
ConstraintFilter, FiltersChain, PassAllFilter

public interface Filter<T>

Generic event filter. This is used by event Channels to determine if a consumer must be notified of an event or not.

Author:
Jean-Francois Poilpret

Method Summary
 boolean passEvent(T event)
          Check if an event must pass to the consumer or not.
 

Method Detail

passEvent

boolean passEvent(T event)
Check if an event must pass to the consumer or not.

Parameters:
event - the event to be checked
Returns:
true if the event must be notified to the consumer