The NotificationLogger stores Notifications and provides an interface to retrieve them.
More...
#include <INotificationLoggerService2.hpp>
|
static IRscServiceProxyFactory & | GetProxyFactory (void) |
|
static IRscServiceProxyFactory & | GetProxyFactory (void) |
| Returns a reference to service proxy factory to create a proxy instance of the service More...
|
|
The NotificationLogger stores Notifications and provides an interface to retrieve them.
This service is defined in library Arp.Services.NotificationLogger.
◆ INotificationLoggerService2()
Arp::Services::NotificationLogger::Services::INotificationLoggerService2::INotificationLoggerService2 |
( |
void |
| ) |
|
|
default |
◆ DeleteNotifications()
virtual int32 Arp::Services::NotificationLogger::Services::INotificationLoggerService2::DeleteNotifications |
( |
const std::vector< RscString< 64 >> & |
archives, |
|
|
const NotificationFilter2 & |
filter |
|
) |
| |
|
pure virtual |
Remove notifications mathing the filter from the given archives
- Parameters
-
archives | List of archives to delete notifications from. Empty list deletes from all. |
filter | Filter specification, matching notifications are removed |
- Returns
- Number of deleted notifications
◆ GetArchiveNames()
virtual std::vector<RscString<64> > Arp::Services::NotificationLogger::Services::INotificationLoggerService2::GetArchiveNames |
( |
| ) |
|
|
pure virtual |
◆ ReadStoredNotifications()
virtual void Arp::Services::NotificationLogger::Services::INotificationLoggerService2::ReadStoredNotifications |
( |
const std::vector< RscString< 64 >> & |
archives, |
|
|
const NotificationFilter2 & |
filter, |
|
|
int32 |
limit, |
|
|
SortOrder |
sortOrder, |
|
|
boolean |
includePayloadXml, |
|
|
ReadStoredNotificationsResultDelegate |
resultDelegate |
|
) |
| |
|
pure virtual |
Queries notifications matching the supplied filter from the mentioned archives and returns them as StoredNotification2 objects
- Parameters
-
archives | List of archives to query. Empty list queries all. |
filter | Filter specifications |
limit | Maximum number of returned notifications |
sortOrder | Sorting to apply |
includePayloadXml | If true , payload as XML is included in result |
- Returns
- Collection of notifications
Corresponds to QueryStoredNotifications
of Arp.Services.NotificationLogger.Services.INotificationLoggerService
The documentation for this class was generated from the following file: