Revision d1358fe...

Go back to digest for 4th August 2013

Features in KDE-PIM

Dan Vratil committed changes in [akonadi] /:

Implement server-side notification filtering

Clients can use the new DBus methods in NotificationSource interface to
configure the filter. The server will then emit each notification only
to clients that are actually interested in.

This decreases DBus traffic generated by the server a lot and reduces
CPU use, because clients don't have to do the filtering anymore.

Clients that don't subscribe with new subscribeV2() method will be
delivered all notifications and have to do the filtering themselves
(backward compatibility)

(Merged and squashed from serverside-monitor branch)

REVIEW: 111816

File Changes

Added 1 files
  • server/tests/unittest/notificationmanagertest.cpp
Modified 9 files
  •   interfaces/org.freedesktop.Akonadi.NotificationManager.xml
  •   interfaces/org.freedesktop.Akonadi.NotificationSource.xml
  •   libs/notificationmessagev2.cpp
  •   libs/notificationmessagev2_p.h
  •   server/src/notificationmanager.cpp
  •   server/src/notificationmanager.h
  •   server/src/notificationsource.cpp
  •   server/src/notificationsource.h
  •   server/tests/unittest/CMakeLists.txt
10 files changed in total