Adapter for INonBlockingNotificationSending with additional functions
More...
#include <NonBlockingNotificationSendingAdapter.hpp>
|
| NonBlockingNotificationSendingAdapter (NotificationManager &nm) |
|
NotificationNameIdType | RegisterNotification (const String ¬ificationName, const String &senderName, Severity severity, PayloadTypeIdType payloadTypeId) |
|
Future< NotificationNameIdType > | NonBlockingRegisterNotification (const String ¬ificationName, const String &senderName, Severity severity, PayloadTypeIdType payloadTypeId) override |
| Registers a new Notification (non-blocking) More...
|
|
void | NonBlockingRegisterNotification (const String ¬ificationName, const String &senderName, Severity severity, PayloadTypeIdType payloadTypeId, Future< NotificationNameIdType > result) |
|
Future< void > | NonBlockingUnregisterNotification (NotificationNameIdType notificationNameId) override |
| Unregisters a Nototification (non-blocking) More...
|
|
void | NonBlockingUnregisterNotification (NotificationNameIdType notificationNameId, Future< void > result) |
|
Future< NotificationIdType > | NonBlockingSendNotification (NotificationNameIdType notificationNameId, Arp::DateTime timestamp, const RawPayloadType &payload) override |
| Sends a notification (non-blocking) More...
|
|
Future< NotificationIdType > | NonBlockingSendNotification (NotificationNameIdType notificationNameId, Arp::DateTime timestamp, const IPayload &payload) override |
| Sends a notification (non-blocking) More...
|
|
void | NonBlockingSendNotification (NotificationNameIdType notificationNameId, Arp::DateTime timestamp, std::function< RawPayloadType()> createPayloadFunctor, Future< NotificationIdType > result) |
|
void | NonBlockingSendNotification (NotificationNameIdType notificationNameId, Arp::DateTime timestamp, CreatePayloadFunctor createPayloadFunctor, CreatePayloadFunctorArg createPayloadFunctorArg, Future< NotificationIdType > result) |
|
Adapter for INonBlockingNotificationSending with additional functions
This class adapts the interface INonBlockingNotificationSending to support additional functions of the NotificationManager. It is intended only to be used by NonBlockingNotificationRegistration.
◆ NonBlockingRegisterNotification()
Registers a new Notification (non-blocking)
- Parameters
-
notificationName | name of the notification (e.g. Arp.System.Nm.SomethingInterestingHappened) |
senderName | name of the sender of the notification |
severity | severity of the notification |
payloadTypeId | id of the payload type |
- Returns
- NotificationNameId (Future), necessary for sending and unregistering
Implements Arp::System::Nm::INonBlockingNotificationSending.
◆ NonBlockingSendNotification() [1/2]
◆ NonBlockingSendNotification() [2/2]
◆ NonBlockingUnregisterNotification()
Future<void> Arp::System::Nm::NonBlockingNotificationSendingAdapter::NonBlockingUnregisterNotification |
( |
NotificationNameIdType |
notificationNameId | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following file: