ServerSubscription


Functions

IFMETHODIMP() UaProvider_Server_TimerCallback (OpcUa_Void *a_pvCallbackData, OpcUa_Timer a_hTimer, OpcUa_UInt32 a_msecElapsed)
 A pointer to the callback function of the timer.
IFMETHODIMP() 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.
IFMETHODIMP() UaProvider_Server_AddItem (UaServer_MonitoredItem *a_pItem)
 Add an item.
IFMETHODIMP() UaProvider_Server_RemoveItem (UaServer_MonitoredItem *a_pItem)
 Remove an item.
IFMETHODIMP() UaProvider_Server_Subscribe (UaServer_ProviderSubscribeContext *a_pCtx)
 A callback function for the subscribe subscription.
void UaProvider_Server_SampleData ()
 ToDoDoc.

Function Documentation

IFMETHODIMP() UaProvider_Server_AddItem ( UaServer_MonitoredItem a_pItem  ) 

Add an item.

Parameters:
a_pItem a pointer to the structure of a monitored item.
Returns:
Error code.

IFMETHODIMP() UaProvider_Server_RemoveItem ( UaServer_MonitoredItem a_pItem  ) 

Remove an item.

Parameters:
a_pItem a pointer to the structure of a monitored item.
Returns:
Error code.

IFMETHODIMP() UaProvider_Server_Subscribe ( UaServer_ProviderSubscribeContext a_pCtx  ) 

A callback function for the subscribe subscription.

Parameters:
a_pCtx a pointer to the provider subscription context.
Returns:
Error code.

IFMETHODIMP() 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_pvCallbackData the actual callback data.
a_hTimer the value of the timer.
a_msecElapsed the elapsed msec for this operation.
Returns:
only good if successful.

IFMETHODIMP() 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_pvCallbackData the actual callback data.
a_hTimer the value of the timer.
a_msecElapsed the elapsed msec for this operation.
Returns:
only good if successful.