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

Detailed Description

Delete subscriptions.

See also
https://reference.opcfoundation.org/Core/Part4/v105/docs/5.13.8

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)
 

Function Documentation

◆ deleteSubscriptions()

DeleteSubscriptionsResponse opcua::services::deleteSubscriptions ( Client & connection,
const DeleteSubscriptionsRequest & request )
noexcept

Delete subscriptions.

Parameters
connectionInstance of type Client
requestDelete subscriptions request

Referenced by opcua::services::deleteSubscription(), and opcua::services::deleteSubscriptions().

◆ deleteSubscriptionsAsync()

template<typename CompletionToken >
auto opcua::services::deleteSubscriptionsAsync ( Client & connection,
const DeleteSubscriptionsRequest & request,
CompletionToken && token )

Delete subscriptions.

Parameters
connectionInstance of type Client
requestDelete subscriptions request
tokenThe 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:
UA_DeleteSubscriptionsResponse wrapper class.
Returns

Definition at line 337 of file subscription.hpp.

Referenced by opcua::services::deleteSubscriptionAsync(), and opcua::services::deleteSubscriptionsAsync().

◆ deleteSubscription()

StatusCode opcua::services::deleteSubscription ( Client & connection,
uint32_t subscriptionId )
inlinenoexcept

Delete a single subscription.

Parameters
connectionInstance of type Client
subscriptionIdIdentifier of the subscription returned by createSubscription

Definition at line 357 of file subscription.hpp.

Referenced by opcua::services::deleteSubscription(), and opcua::Subscription< Connection >::deleteSubscription().

◆ deleteSubscriptionAsync()

template<typename CompletionToken >
auto opcua::services::deleteSubscriptionAsync ( Client & connection,
uint32_t subscriptionId,
CompletionToken && token )

Delete a single subscription.

Parameters
connectionInstance of type Client
subscriptionIdIdentifier of the subscription returned by createSubscription
tokenThe 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)
UA_StatusCode wrapper class.
Definition types.hpp:44
Returns

Definition at line 371 of file subscription.hpp.

Referenced by opcua::services::deleteSubscriptionAsync().