Filter¶
-
public interface
Filter¶ Interfaces for classes that indicate whether a received
Eventshall be dispatched or not. Filters must be immutable because parameters updates at runtime are not supported.- Author
jwienke, swrede
Methods¶
match¶
-
boolean
match(Event event)¶ Tells whether the given event matches the filter and hence shall be dispatched or not.
- Parameters
event – the event to test, not
null- Returns
trueif the event matches the restrictions specified by this filter and hence can be delivered to the client,falseto remove the event from the stream.