open62541pp 0.15.0
C++ wrapper of open62541
Loading...
Searching...
No Matches
SetPublishingMode service
Collaboration diagram for SetPublishingMode service:

Detailed Description

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

Functions

SetPublishingModeResponse opcua::services::setPublishingMode (Client &connection, const SetPublishingModeRequest &request) noexcept
 
Result< void > opcua::services::setPublishingMode (Client &connection, uint32_t subscriptionId, bool publishing) noexcept
 

Function Documentation

◆ setPublishingMode() [1/2]

SetPublishingModeResponse opcua::services::setPublishingMode ( Client & connection,
const SetPublishingModeRequest & request )
noexcept

Enable/disable publishing of notification messages.

Parameters
connectionInstance of type Client
requestSet publishing mode request

Referenced by opcua::Subscription< Connection >::setPublishingMode().

◆ setPublishingMode() [2/2]

Result< void > opcua::services::setPublishingMode ( Client & connection,
uint32_t subscriptionId,
bool publishing )
noexcept

Enable/disable publishing of notification messages.

Parameters
connectionInstance of type Client
subscriptionIdIdentifier of the subscription returned by createSubscription
publishingEnable/disable publishing