MatchAndDispatchTask¶
Constructors¶
MatchAndDispatchTask¶
-
MatchAndDispatchTask
(Handler handler, Set<Filter> filters, Event event, Map<Handler, Set<MatchAndDispatchTask>> handlerTasks)¶ Constructor.
- Parameters
handler – handler to dispatch a received event to
filters – filter to apply before dispatching
event – the event to filter and eventually dispatch
handlerTasks – internal map of handlers and their associated tasks to remove this instance from once completed