UA Ansi C Server Professional  1.3.1.232
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
ServerSubscription

Functions

OpcUa_StatusCode UaProvider_Server_TimerCallback (OpcUa_Void *a_pvCallbackData, OpcUa_Timer a_hTimer, OpcUa_UInt32 a_msecElapsed)
 A pointer to the callback function of the timer.
OpcUa_StatusCode UaProvider_Server_TimerStoppedCallback (OpcUa_Void *a_pvCallbackData, OpcUa_Timer a_hTimer, OpcUa_UInt32 a_msecElapsed)
 A pointer to the callback function of the timer.
void UaProvider_Server_Subscription_Initialize ()
 Initialize the Server Subscription.
void UaProvider_Server_Subscription_Cleanup ()
 Clean up the Server Subscription.
OpcUa_StatusCode UaProvider_Server_AddItem (UaServer_MonitoredItem *a_pItem)
 Add an item.
OpcUa_StatusCode UaProvider_Server_RemoveItem (UaServer_MonitoredItem *a_pItem)
 Remove an item.
OpcUa_StatusCode UaProvider_Server_Subscribe (UaServer_ProviderSubscribeContext *a_pCtx)
 A callback function for the subscribe subscription.
void UaProvider_Server_SampleData (OpcUa_Void *a_pvCallbackData)
 ToDoDoc.

Detailed Description

Function Documentation

OpcUa_StatusCode UaProvider_Server_AddItem ( UaServer_MonitoredItem a_pItem)

Add an item.

Parameters
a_pItema pointer to the structure of a monitored item.
Returns
Error code.
OpcUa_StatusCode UaProvider_Server_RemoveItem ( UaServer_MonitoredItem a_pItem)

Remove an item.

Parameters
a_pItema pointer to the structure of a monitored item.
Returns
Error code.
OpcUa_StatusCode UaProvider_Server_Subscribe ( UaServer_ProviderSubscribeContext a_pCtx)

A callback function for the subscribe subscription.

Parameters
a_pCtxa pointer to the provider subscription context.
Returns
Error code.
OpcUa_StatusCode UaProvider_Server_TimerCallback ( OpcUa_Void *  a_pvCallbackData,
OpcUa_Timer  a_hTimer,
OpcUa_UInt32  a_msecElapsed 
)

A pointer to the callback function of the timer.

Parameters
a_pvCallbackDatathe actual callback data.
a_hTimerthe value of the timer.
a_msecElapsedthe elapsed msec for this operation.
Returns
only good if successful.
OpcUa_StatusCode UaProvider_Server_TimerStoppedCallback ( OpcUa_Void *  a_pvCallbackData,
OpcUa_Timer  a_hTimer,
OpcUa_UInt32  a_msecElapsed 
)

A pointer to the callback function of the timer.

Indicates if the timer has stopped.

Parameters
a_pvCallbackDatathe actual callback data.
a_hTimerthe value of the timer.
a_msecElapsedthe elapsed msec for this operation.
Returns
only good if successful.