PLCnext API Documentation
22.9.0.33
|
Interface for non blocking sending of Notifications More...
#include <INonBlockingNotificationSending.hpp>
Public Member Functions | |
virtual Future< NotificationNameIdType > | NonBlockingRegisterNotification (const String ¬ificationName, const String &senderName, Severity severity, PayloadTypeIdType payloadTypeId)=0 |
Registers a new Notification (non-blocking) More... | |
virtual Future< void > | NonBlockingUnregisterNotification (NotificationNameIdType notificationNameId)=0 |
Unregisters a Nototification (non-blocking) More... | |
virtual Future< NotificationIdType > | NonBlockingSendNotification (NotificationNameIdType notificationNameId, Arp::DateTime timestamp, const RawPayloadType &payload)=0 |
Sends a notification (non-blocking) More... | |
virtual Future< NotificationIdType > | NonBlockingSendNotification (NotificationNameIdType notificationNameId, Arp::DateTime timestamp, const IPayload &payload)=0 |
Sends a notification (non-blocking) More... | |
Interface for non blocking sending of Notifications
All function of this interface are executed asynchronously and returns a Future to access the return value.
|
pure virtual |
Registers a new Notification (non-blocking)
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 |
Implemented in Arp::System::Nm::NotificationManager, and Arp::System::Nm::NonBlockingNotificationSendingAdapter.
|
pure virtual |
Sends a notification (non-blocking)
notificationNameId | id of the NotificationName to send |
timestamp | Current timestamp |
payload | payload to send |
Implemented in Arp::System::Nm::NotificationManager, and Arp::System::Nm::NonBlockingNotificationSendingAdapter.
|
pure virtual |
Sends a notification (non-blocking)
notificationNameId | id of the NotificationName to send |
timestamp | Current timestamp |
payload | payload to send |
Implemented in Arp::System::Nm::NotificationManager, and Arp::System::Nm::NonBlockingNotificationSendingAdapter.
|
pure virtual |
Unregisters a Nototification (non-blocking)
notificationNameId | id of the NotificationName to unregister |
Implemented in Arp::System::Nm::NotificationManager, and Arp::System::Nm::NonBlockingNotificationSendingAdapter.