Enable/disable sending of notifications on subscriptions.
Disable publishing of NotificationMessages of the subscription doesn't discontinue the sending of keep-alive messages, nor change the monitoring mode.
- See also
- https://reference.opcfoundation.org/Core/Part4/v105/docs/5.13.4
◆ setPublishingMode() [1/2]
◆ setPublishingMode() [2/2]
Result< void > opcua::services::setPublishingMode |
( |
Client & | connection, |
|
|
uint32_t | subscriptionId, |
|
|
bool | publishing ) |
|
noexcept |
Enable/disable publishing of notification messages.
- Parameters
-
connection | Instance of type Client |
subscriptionId | Identifier of the subscription returned by createSubscription |
publishing | Enable/disable publishing |