open62541pp 0.16.0
C++ wrapper of open62541
|
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.
Functions | |
SetPublishingModeResponse | opcua::services::setPublishingMode (Client &connection, const SetPublishingModeRequest &request) noexcept |
template<typename CompletionToken > | |
auto | opcua::services::setPublishingModeAsync (Client &connection, const SetPublishingModeRequest &request, CompletionToken &&token) |
StatusCode | opcua::services::setPublishingMode (Client &connection, uint32_t subscriptionId, bool publishing) noexcept |
template<typename CompletionToken > | |
auto | opcua::services::setPublishingModeAsync (Client &connection, uint32_t subscriptionId, bool publishing, CompletionToken &&token) |
|
noexcept |
Enable/disable publishing of notification messages of subscriptions.
connection | Instance of type Client |
request | Set publishing mode request |
Referenced by opcua::services::setPublishingMode(), opcua::services::setPublishingMode(), and opcua::Subscription< Connection >::setPublishingMode().
auto opcua::services::setPublishingModeAsync | ( | Client & | connection, |
const SetPublishingModeRequest & | request, | ||
CompletionToken && | token ) |
Enable/disable publishing of notification messages of subscriptions.
connection | Instance of type Client |
request | Set publishing mode request |
token | The completion token that will be used to produce a completion handler, which will be called when the operation completes. Potential completion tokens include useFuture, useDeferred, useDetached, or a function (object) with the correct completion signature. The function signature of the completion handler must be: void(SetPublishingModeResponse&)
UA_SetPublishingModeResponse wrapper class. Definition types_composed.hpp:2322 |
void
if token
is a callback function (object)std::future<SetPublishingModeResponse>
if token
is of type UseFutureTokenauto(auto&& token)
callable for deferred execution if token
is of type UseDeferredTokenvoid
if token
is of type UseDetachedToken Definition at line 270 of file subscription.hpp.
Referenced by opcua::services::setPublishingModeAsync(), and opcua::services::setPublishingModeAsync().
|
inlinenoexcept |
Enable/disable publishing of notification messages of a single subscription.
connection | Instance of type Client |
subscriptionId | Identifier of the subscription returned by createSubscription |
publishing | Enable/disable publishing |
Definition at line 284 of file subscription.hpp.
auto opcua::services::setPublishingModeAsync | ( | Client & | connection, |
uint32_t | subscriptionId, | ||
bool | publishing, | ||
CompletionToken && | token ) |
Enable/disable publishing of notification messages of a single subscription.
connection | Instance of type Client |
subscriptionId | Identifier of the subscription returned by createSubscription |
publishing | Enable/disable publishing |
token | The completion token that will be used to produce a completion handler, which will be called when the operation completes. Potential completion tokens include useFuture, useDeferred, useDetached, or a function (object) with the correct completion signature. The function signature of the completion handler must be: void(StatusCode)
|
void
if token
is a callback function (object)std::future<StatusCode>
if token
is of type UseFutureTokenauto(auto&& token)
callable for deferred execution if token
is of type UseDeferredTokenvoid
if token
is of type UseDetachedToken Definition at line 299 of file subscription.hpp.