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

Detailed Description

Delete subscriptions.

See also
https://reference.opcfoundation.org/Core/Part4/v105/docs/5.14.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, IntegerId subscriptionId) noexcept
 
template<typename CompletionToken >
auto opcua::services::deleteSubscriptionAsync (Client &connection, IntegerId 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.
Definition types.hpp:2522
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,
IntegerId  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::Subscription< Connection >::deleteSubscription(), and opcua::services::deleteSubscription().

◆ deleteSubscriptionAsync()

template<typename CompletionToken >
auto opcua::services::deleteSubscriptionAsync ( Client connection,
IntegerId  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:47
Returns

Definition at line 371 of file subscription.hpp.

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