open62541 1.3.12
Open source implementation of OPC UA
Loading...
Searching...
No Matches
client_subscriptions.h File Reference
#include <open62541/client.h>

Go to the source code of this file.

Typedefs

typedef void(* UA_Client_StatusChangeNotificationCallback) (UA_Client *client, UA_UInt32 subId, void *subContext, UA_StatusChangeNotification *notification)
 
typedef void(* UA_Client_DeleteMonitoredItemCallback) (UA_Client *client, UA_UInt32 subId, void *subContext, UA_UInt32 monId, void *monContext)
 
typedef void(* UA_Client_DataChangeNotificationCallback) (UA_Client *client, UA_UInt32 subId, void *subContext, UA_UInt32 monId, void *monContext, UA_DataValue *value)
 
typedef void(* UA_Client_EventNotificationCallback) (UA_Client *client, UA_UInt32 subId, void *subContext, UA_UInt32 monId, void *monContext, size_t nEventFields, UA_Variant *eventFields)
 

Functions

UA_CreateSubscriptionResponse UA_Client_Subscriptions_create (UA_Client *client, const UA_CreateSubscriptionRequest request, void *subscriptionContext, UA_Client_StatusChangeNotificationCallback statusChangeCallback, UA_Client_DeleteSubscriptionCallback deleteCallback)
 
UA_StatusCode UA_Client_Subscriptions_create_async (UA_Client *client, const UA_CreateSubscriptionRequest request, void *subscriptionContext, UA_Client_StatusChangeNotificationCallback statusChangeCallback, UA_Client_DeleteSubscriptionCallback deleteCallback, UA_ClientAsyncServiceCallback callback, void *userdata, UA_UInt32 *requestId)
 
UA_ModifySubscriptionResponse UA_Client_Subscriptions_modify (UA_Client *client, const UA_ModifySubscriptionRequest request)
 
UA_StatusCode UA_Client_Subscriptions_modify_async (UA_Client *client, const UA_ModifySubscriptionRequest request, UA_ClientAsyncServiceCallback callback, void *userdata, UA_UInt32 *requestId)
 
UA_DeleteSubscriptionsResponse UA_Client_Subscriptions_delete (UA_Client *client, const UA_DeleteSubscriptionsRequest request)
 
UA_StatusCode UA_Client_Subscriptions_delete_async (UA_Client *client, const UA_DeleteSubscriptionsRequest request, UA_ClientAsyncServiceCallback callback, void *userdata, UA_UInt32 *requestId)
 
UA_StatusCode UA_Client_Subscriptions_deleteSingle (UA_Client *client, UA_UInt32 subscriptionId)
 
UA_CreateMonitoredItemsResponse UA_Client_MonitoredItems_createDataChanges (UA_Client *client, const UA_CreateMonitoredItemsRequest request, void **contexts, UA_Client_DataChangeNotificationCallback *callbacks, UA_Client_DeleteMonitoredItemCallback *deleteCallbacks)
 
UA_StatusCode UA_Client_MonitoredItems_createDataChanges_async (UA_Client *client, const UA_CreateMonitoredItemsRequest request, void **contexts, UA_Client_DataChangeNotificationCallback *callbacks, UA_Client_DeleteMonitoredItemCallback *deleteCallbacks, UA_ClientAsyncServiceCallback createCallback, void *userdata, UA_UInt32 *requestId)
 
UA_MonitoredItemCreateResult UA_Client_MonitoredItems_createDataChange (UA_Client *client, UA_UInt32 subscriptionId, UA_TimestampsToReturn timestampsToReturn, const UA_MonitoredItemCreateRequest item, void *context, UA_Client_DataChangeNotificationCallback callback, UA_Client_DeleteMonitoredItemCallback deleteCallback)
 
UA_CreateMonitoredItemsResponse UA_Client_MonitoredItems_createEvents (UA_Client *client, const UA_CreateMonitoredItemsRequest request, void **contexts, UA_Client_EventNotificationCallback *callback, UA_Client_DeleteMonitoredItemCallback *deleteCallback)
 
UA_StatusCode UA_Client_MonitoredItems_createEvents_async (UA_Client *client, const UA_CreateMonitoredItemsRequest request, void **contexts, UA_Client_EventNotificationCallback *callbacks, UA_Client_DeleteMonitoredItemCallback *deleteCallbacks, UA_ClientAsyncServiceCallback createCallback, void *userdata, UA_UInt32 *requestId)
 
UA_MonitoredItemCreateResult UA_Client_MonitoredItems_createEvent (UA_Client *client, UA_UInt32 subscriptionId, UA_TimestampsToReturn timestampsToReturn, const UA_MonitoredItemCreateRequest item, void *context, UA_Client_EventNotificationCallback callback, UA_Client_DeleteMonitoredItemCallback deleteCallback)
 
UA_DeleteMonitoredItemsResponse UA_Client_MonitoredItems_delete (UA_Client *client, const UA_DeleteMonitoredItemsRequest)
 
UA_StatusCode UA_Client_MonitoredItems_delete_async (UA_Client *client, const UA_DeleteMonitoredItemsRequest request, UA_ClientAsyncServiceCallback callback, void *userdata, UA_UInt32 *requestId)
 
UA_StatusCode UA_Client_MonitoredItems_deleteSingle (UA_Client *client, UA_UInt32 subscriptionId, UA_UInt32 monitoredItemId)
 
UA_ModifyMonitoredItemsResponse UA_Client_MonitoredItems_modify (UA_Client *client, const UA_ModifyMonitoredItemsRequest request)
 

Variables

_UA_BEGIN_DECLS typedef void(* UA_Client_DeleteSubscriptionCallback )(UA_Client *client, UA_UInt32 subId, void *subContext)
 

Typedef Documentation

◆ UA_Client_StatusChangeNotificationCallback

typedef void(* UA_Client_StatusChangeNotificationCallback) (UA_Client *client, UA_UInt32 subId, void *subContext, UA_StatusChangeNotification *notification)

Definition at line 20 of file client_subscriptions.h.

◆ UA_Client_DeleteMonitoredItemCallback

typedef void(* UA_Client_DeleteMonitoredItemCallback) (UA_Client *client, UA_UInt32 subId, void *subContext, UA_UInt32 monId, void *monContext)

Callback for the deletion of a MonitoredItem.

Definition at line 115 of file client_subscriptions.h.

◆ UA_Client_DataChangeNotificationCallback

typedef void(* UA_Client_DataChangeNotificationCallback) (UA_Client *client, UA_UInt32 subId, void *subContext, UA_UInt32 monId, void *monContext, UA_DataValue *value)

Callback for DataChange notifications.

Definition at line 120 of file client_subscriptions.h.

◆ UA_Client_EventNotificationCallback

typedef void(* UA_Client_EventNotificationCallback) (UA_Client *client, UA_UInt32 subId, void *subContext, UA_UInt32 monId, void *monContext, size_t nEventFields, UA_Variant *eventFields)

Callback for Event notifications.

Definition at line 126 of file client_subscriptions.h.

Function Documentation

◆ UA_Client_Subscriptions_create()

UA_CreateSubscriptionResponse UA_Client_Subscriptions_create ( UA_Client * client,
const UA_CreateSubscriptionRequest request,
void * subscriptionContext,
UA_Client_StatusChangeNotificationCallback statusChangeCallback,
UA_Client_DeleteSubscriptionCallback deleteCallback )

◆ UA_Client_Subscriptions_create_async()

UA_StatusCode UA_Client_Subscriptions_create_async ( UA_Client * client,
const UA_CreateSubscriptionRequest request,
void * subscriptionContext,
UA_Client_StatusChangeNotificationCallback statusChangeCallback,
UA_Client_DeleteSubscriptionCallback deleteCallback,
UA_ClientAsyncServiceCallback callback,
void * userdata,
UA_UInt32 * requestId )

◆ UA_Client_Subscriptions_modify()

UA_ModifySubscriptionResponse UA_Client_Subscriptions_modify ( UA_Client * client,
const UA_ModifySubscriptionRequest request )

◆ UA_Client_Subscriptions_modify_async()

UA_StatusCode UA_Client_Subscriptions_modify_async ( UA_Client * client,
const UA_ModifySubscriptionRequest request,
UA_ClientAsyncServiceCallback callback,
void * userdata,
UA_UInt32 * requestId )

◆ UA_Client_Subscriptions_delete()

UA_DeleteSubscriptionsResponse UA_Client_Subscriptions_delete ( UA_Client * client,
const UA_DeleteSubscriptionsRequest request )

◆ UA_Client_Subscriptions_delete_async()

UA_StatusCode UA_Client_Subscriptions_delete_async ( UA_Client * client,
const UA_DeleteSubscriptionsRequest request,
UA_ClientAsyncServiceCallback callback,
void * userdata,
UA_UInt32 * requestId )

◆ UA_Client_Subscriptions_deleteSingle()

UA_StatusCode UA_Client_Subscriptions_deleteSingle ( UA_Client * client,
UA_UInt32 subscriptionId )

Delete a single subscription.

◆ UA_Client_MonitoredItems_createDataChanges()

UA_CreateMonitoredItemsResponse UA_Client_MonitoredItems_createDataChanges ( UA_Client * client,
const UA_CreateMonitoredItemsRequest request,
void ** contexts,
UA_Client_DataChangeNotificationCallback * callbacks,
UA_Client_DeleteMonitoredItemCallback * deleteCallbacks )

Don't use to monitor the EventNotifier attribute.

◆ UA_Client_MonitoredItems_createDataChanges_async()

UA_StatusCode UA_Client_MonitoredItems_createDataChanges_async ( UA_Client * client,
const UA_CreateMonitoredItemsRequest request,
void ** contexts,
UA_Client_DataChangeNotificationCallback * callbacks,
UA_Client_DeleteMonitoredItemCallback * deleteCallbacks,
UA_ClientAsyncServiceCallback createCallback,
void * userdata,
UA_UInt32 * requestId )

◆ UA_Client_MonitoredItems_createDataChange()

UA_MonitoredItemCreateResult UA_Client_MonitoredItems_createDataChange ( UA_Client * client,
UA_UInt32 subscriptionId,
UA_TimestampsToReturn timestampsToReturn,
const UA_MonitoredItemCreateRequest item,
void * context,
UA_Client_DataChangeNotificationCallback callback,
UA_Client_DeleteMonitoredItemCallback deleteCallback )

◆ UA_Client_MonitoredItems_createEvents()

UA_CreateMonitoredItemsResponse UA_Client_MonitoredItems_createEvents ( UA_Client * client,
const UA_CreateMonitoredItemsRequest request,
void ** contexts,
UA_Client_EventNotificationCallback * callback,
UA_Client_DeleteMonitoredItemCallback * deleteCallback )

Monitor the EventNotifier attribute only.

◆ UA_Client_MonitoredItems_createEvents_async()

UA_StatusCode UA_Client_MonitoredItems_createEvents_async ( UA_Client * client,
const UA_CreateMonitoredItemsRequest request,
void ** contexts,
UA_Client_EventNotificationCallback * callbacks,
UA_Client_DeleteMonitoredItemCallback * deleteCallbacks,
UA_ClientAsyncServiceCallback createCallback,
void * userdata,
UA_UInt32 * requestId )

Monitor the EventNotifier attribute only.

◆ UA_Client_MonitoredItems_createEvent()

UA_MonitoredItemCreateResult UA_Client_MonitoredItems_createEvent ( UA_Client * client,
UA_UInt32 subscriptionId,
UA_TimestampsToReturn timestampsToReturn,
const UA_MonitoredItemCreateRequest item,
void * context,
UA_Client_EventNotificationCallback callback,
UA_Client_DeleteMonitoredItemCallback deleteCallback )

◆ UA_Client_MonitoredItems_delete()

UA_DeleteMonitoredItemsResponse UA_Client_MonitoredItems_delete ( UA_Client * client,
const UA_DeleteMonitoredItemsRequest  )

◆ UA_Client_MonitoredItems_delete_async()

UA_StatusCode UA_Client_MonitoredItems_delete_async ( UA_Client * client,
const UA_DeleteMonitoredItemsRequest request,
UA_ClientAsyncServiceCallback callback,
void * userdata,
UA_UInt32 * requestId )

◆ UA_Client_MonitoredItems_deleteSingle()

UA_StatusCode UA_Client_MonitoredItems_deleteSingle ( UA_Client * client,
UA_UInt32 subscriptionId,
UA_UInt32 monitoredItemId )

◆ UA_Client_MonitoredItems_modify()

UA_ModifyMonitoredItemsResponse UA_Client_MonitoredItems_modify ( UA_Client * client,
const UA_ModifyMonitoredItemsRequest request )

The clientHandle parameter will be filled automatically.

Variable Documentation

◆ UA_Client_DeleteSubscriptionCallback

_UA_BEGIN_DECLS typedef void(* UA_Client_DeleteSubscriptionCallback) (UA_Client *client, UA_UInt32 subId, void *subContext) ( UA_Client * client,
UA_UInt32 subId,
void * subContext )

This Source Code Form is subject to the terms of the Mozilla Public License, v.

2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. Callbacks defined for Subscriptions

Definition at line 17 of file client_subscriptions.h.