IOPCUAClientMethodCallback.CallCallback (METH) ¶ METHOD CallCallback : OpcUa_StatusCode Called in response to OpcUaClient_Call InOut: Scope Name Type Comment Return CallCallback OpcUa_StatusCode Input hConnection RTS_IEC_HANDLE The handle of the connection used to call read. serviceResult OpcUa_StatusCode The result of the read service. numOfMethods OpcUa_Int32 The number of requested method calls and results pMethodCalls POINTER TO OpcUa_CallMethodRequest The called methods. :note: This pointer is independent from the pointer passed to OPCUAClient_Call. Do not free up any memory here. pMethodResults POINTER TO OpcUa_CallMethodResult The results of the method. Do not free this memory.
IOPCUAClientMonitoredItemCallback (ITF) ¶ INTERFACE IOPCUAClientMonitoredItemCallback EXTENDS __SYSTEM.IQueryInterface This callback interface is used to report changes to monitored items to the client. Methods: ItemEventCallback ItemParameterCallback ItemStateCallback ItemValueCallback Structure: ItemEventCallback (Method) ItemParameterCallback (Method) ItemStateCallback (Method) ItemValueCallback (Method)
IOPCUAClientMonitoredItemCallback.ItemEventCallback (METH) ¶ METHOD ItemEventCallback : OpcUa_StatusCode This callback is used to send event notifications to the client. This will only be called for monitored items that register to an event notifier. InOut: Scope Name Type Comment Return ItemEventCallback OpcUa_StatusCode Input hMonitoredItem RTS_IEC_HANDLE Handle to the event monitored item. noOfEventFields OpcUa_Int32 Number of fields available on the event fields paramter. eventFields POINTER TO OpcUa_Variant Pointer to a list of event fields. The fields have the same order as the registered event fields. reason OpcUa_StatusCode Status code of the operation.
IOPCUAClientMonitoredItemCallback.ItemParameterCallback (METH) ¶ METHOD ItemParameterCallback : OpcUa_StatusCode The callback is called when the parameters of a monitored item (both event and sampling) has changed. This happens typically after creation (OpcUaClient_CreateMonitoredItem) or modification (OpcUaClient_ModifyMonitoredItems) of a monitored item. The values in this call represent the reviced parameters from the server. InOut: Scope Name Type Comment Return ItemParameterCallback OpcUa_StatusCode Input hMonitoredItem RTS_IEC_HANDLE Handle to the moniotred item. monitoringMode OpcUa_MonitoringMode The new monitoring mode samplingInterval OpcUa_Double The reviced sampling interval for sampling items. queueSize OpcUa_UInt32 The reviced queue size. filter OpcUa_ExtensionObject The reviced filters. reason OpcUa_StatusCode Status code if the operation was successful.
IOPCUAClientMonitoredItemCallback.ItemStateCallback (METH) ¶ METHOD ItemStateCallback : OpcUa_StatusCode This callback is called to inform the client on state changes InOut: Scope Name Type Comment Return ItemStateCallback OpcUa_StatusCode Input hMonitoredItem RTS_IEC_HANDLE Handle to the moniotred item. newState OPCUAClientMonitoredItemState The new state of the monitored item. reason OpcUa_StatusCode The reason for the state transition.
IOPCUAClientMonitoredItemCallback.ItemValueCallback (METH) ¶ METHOD ItemValueCallback : OpcUa_StatusCode This callback is called for sampling monitored items and contains the value changes of the monitored item. InOut: Scope Name Type Comment Return ItemValueCallback OpcUa_StatusCode Input hMonitoredItem RTS_IEC_HANDLE Handle to the moniotred item. value OpcUa_DataValue The new value of the monitored item. reason OpcUa_StatusCode The new status of the monitored item.
IOPCUAClientSubscriptionCallback (ITF) ¶ INTERFACE IOPCUAClientSubscriptionCallback EXTENDS __SYSTEM.IQueryInterface This callback interface is used to report changes of subscription to the client. Methods: ParameterChangeCallback StateChangeCallback Structure: ParameterChangeCallback (Method) StateChangeCallback (Method)
IOPCUAClientSubscriptionCallback.ParameterChangeCallback (METH) ¶ METHOD ParameterChangeCallback : OpcUa_StatusCode The callback is called when the parameters of a subscription has changed. This happens typically after creation (OpcUaClient_CreateSubscription) or modification (OpcUaClient_ModifySubscription) of a subscription. The values in this call represent the reviced parameters from the server. InOut: Scope Name Type Comment Return ParameterChangeCallback OpcUa_StatusCode Input hSubscription RTS_IEC_HANDLE Handle to the subscription that has changed. publishingInterval OpcUa_Double The reviced publishing interval. lifeTimeCount OpcUa_UInt32 The reviced lifetime count. maxKeepAliveCount OpcUa_UInt32 The reviced maximum keepalive count. maxNotificationsPerPublish OpcUa_UInt32 The reviced maximum number of notifications per publish. priority OpcUa_Byte reason OpcUa_StatusCode The status of the service.
IOPCUAClientSubscriptionCallback.StateChangeCallback (METH) ¶ METHOD StateChangeCallback : OpcUa_StatusCode The callback is called when the state of a subscription has changed. This happens typically after creation (OpcUaClient_CreateSubscription) or OpcUaClient_SetPublishingMode of a subscription. InOut: Scope Name Type Return StateChangeCallback OpcUa_StatusCode Input hSubscription RTS_IEC_HANDLE newState OPCUAClientSubscriptionState reason OpcUa_StatusCode
IOPCUAClientViewCallback (ITF) ¶ INTERFACE IOPCUAClientViewCallback EXTENDS __SYSTEM.IQueryInterface This callback contains callbacks used to transport the results of the view services to the client. Methods: BrowseCallback BrowseNextCallback RegisterNodesCallback TranslateBrowsePathsToNodeIdsCallback UnregisterNodesCallback Structure: BrowseCallback (Method) BrowseNextCallback (Method) RegisterNodesCallback (Method) TranslateBrowsePathsToNodeIdsCallback (Method) UnregisterNodesCallback (Method)