The POCO C++ Libraries are powerful cross-platform C++ libraries for building network- and internet-based applications that run on desktop, server, mobile, IoT, and embedded systems.
existing functionality is only broken in the (now deprecated) AbstractObserver::accepts()
This was a "quick and dirty" external path to the goal of filtering notifications by name (in addition to type-filtering)
optional _matcher is added to NObserver
(defaults to null and does not break existing functionality)
4414
Summary:
NObserver
(defaults to null and does not break existing functionality)dynamic_cast
performance hit is takennotify()
can cast staticallyAsyncObserver
is child ofNObserver
and runs its own thread to decouple Notification posting from handlingAsyncNotificationCenter
, a child class of theNotificationCenter
; currently, there is a problem with default static version of this observer on windows: https://github.com/pocoproject/poco/blob/71560b0f1c3b68990a554d4aba59759c87590f2e/Foundation/testsuite/src/NotificationCenterTest.cpp#L252-L255