Skip to content
Snippets Groups Projects
Commit 634ed0f4 authored by Hank Grabowski's avatar Hank Grabowski Committed by Luc Maisonobe
Browse files

Added a DetectorEventHandler interface.

This interface is aimed at handling only the event occurrence part in
propagation. This allows:

 - to separate the event detection itself (which is declared by the
   EventDetector interface) from the action to perform once the event
   has been detected,
 - to avoid subclassing of events, which was cumbersome,
 - to share a single handler for several events.

The previous behavior with eventOccurred and resetState declared at
detector level and subclassing is still available but is deprecated and
will be removed in the next major release.

Thanks to Hank Grabowski for this new feature.
parent d3e2072e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment