open62541pp 0.16.0
C++ wrapper of open62541
|
Delete subscriptions.
Functions | |
DeleteSubscriptionsResponse | opcua::services::deleteSubscriptions (Client &connection, const DeleteSubscriptionsRequest &request) noexcept |
template<typename CompletionToken > | |
auto | opcua::services::deleteSubscriptionsAsync (Client &connection, const DeleteSubscriptionsRequest &request, CompletionToken &&token) |
StatusCode | opcua::services::deleteSubscription (Client &connection, uint32_t subscriptionId) noexcept |
template<typename CompletionToken > | |
auto | opcua::services::deleteSubscriptionAsync (Client &connection, uint32_t subscriptionId, CompletionToken &&token) |
|
noexcept |
Delete subscriptions.
connection | Instance of type Client |
request | Delete subscriptions request |
Referenced by opcua::services::deleteSubscription(), and opcua::services::deleteSubscriptions().
auto opcua::services::deleteSubscriptionsAsync | ( | Client & | connection, |
const DeleteSubscriptionsRequest & | request, | ||
CompletionToken && | token ) |
Delete subscriptions.
connection | Instance of type Client |
request | Delete subscriptions 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(DeleteSubscriptionsResponse&)
UA_DeleteSubscriptionsResponse wrapper class. Definition types_composed.hpp:2370 |
void
if token
is a callback function (object)std::future<DeleteSubscriptionsResponse>
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 337 of file subscription.hpp.
Referenced by opcua::services::deleteSubscriptionAsync(), and opcua::services::deleteSubscriptionsAsync().
|
inlinenoexcept |
Delete a single subscription.
connection | Instance of type Client |
subscriptionId | Identifier of the subscription returned by createSubscription |
Definition at line 357 of file subscription.hpp.
Referenced by opcua::services::deleteSubscription(), and opcua::Subscription< Connection >::deleteSubscription().
auto opcua::services::deleteSubscriptionAsync | ( | Client & | connection, |
uint32_t | subscriptionId, | ||
CompletionToken && | token ) |
Delete a single subscription.
connection | Instance of type Client |
subscriptionId | Identifier of the subscription returned by createSubscription |
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 371 of file subscription.hpp.
Referenced by opcua::services::deleteSubscriptionAsync().