On Fri, Aug 7, 2009 at 11:03, Thomas Mortagne<[email protected]> wrote:
Hi,
For network event distribution I need to be able to receive all events (because it's not done by ObservationManager itself but by an external module).
Currently ObservationManager only match events with the exact same class so it's impossible to match all events or event several events of same subject like documents event for example.
I don't have time to design a generic multievent matcher and a redesign of the OM is already started for activity stream so for now I propose to introduce a special AllEvent event ObservationManager will trait as a particular case when returned by a listener (with lots of comments of course).
WDYT ?
here is my +1
The other choice was to use null instead of a special AllEvent event but it does not sounds very clean (just in case some would prefer this).
-- Thomas Mortagne
-- Thomas Mortagne