IOPCUAClientDataAccessCallback.WriteCallback (METH) ¶ METHOD WriteCallback : OpcUa_StatusCode Called in response to OpcUaClient_Write. InOut: Scope Name Type Comment Return WriteCallback OpcUa_StatusCode Input hConnection RTS_IEC_HANDLE The handle of the connection used to call read. serviceResult OpcUa_StatusCode The result of the write services. numOfNodes OpcUa_Int32 The number of values and available results. pRequests POINTER TO OpcUa_WriteValue The requested values to be written. pResults POINTER TO OpcUa_StatusCode The status codes for each write operaiton.
IOPCUAClientDiscoveryCallback (ITF) ¶ INTERFACE IOPCUAClientDiscoveryCallback EXTENDS __SYSTEM.IQueryInterface These callbacks are used to send the results of the different discoery services back to the caller. Methods: FindServersCallback FindServersOnNetworkCallback GetEndpointsCallback Structure: FindServersCallback (Method) FindServersOnNetworkCallback (Method) GetEndpointsCallback (Method)
IOPCUAClientDiscoveryCallback.FindServersCallback (METH) ¶ METHOD FindServersCallback : OpcUa_StatusCode Called in response to OpcUaClient_FindServers. InOut: Scope Name Type Comment Return FindServersCallback OpcUa_StatusCode Input hClient RTS_IEC_HANDLE The client used to the call FindServers serviceResult OpcUa_StatusCode Result of the service. numOfServers OpcUa_Int32 Number of servers that can be found in the server list. pServerList POINTER TO OpcUa_ApplicationDescription Pointer to a list of server descriptions.
IOPCUAClientDiscoveryCallback.FindServersOnNetworkCallback (METH) ¶ METHOD FindServersOnNetworkCallback : OpcUa_StatusCode Called in response to OpcUaClient_FindServersOnNetwork. InOut: Scope Name Type Comment Return FindServersOnNetworkCallback OpcUa_StatusCode Input hClient RTS_IEC_HANDLE The client used to the call FindServersOnNetwork serviceResult OpcUa_StatusCode Result of the service. lastCounterResetTime OpcUa_DateTime The last time the counters were reset. numOfServers OpcUa_Int32 Number of servers that can be found in the server list. pServerList POINTER TO OpcUa_ServerOnNetwork Pointer to a list of servers.
IOPCUAClientDiscoveryCallback.GetEndpointsCallback (METH) ¶ METHOD GetEndpointsCallback : OpcUa_StatusCode Called in response to OpcUaClient_GetEndpoints. InOut: Scope Name Type Comment Return GetEndpointsCallback OpcUa_StatusCode Input hClient RTS_IEC_HANDLE The client used to the call FindServers serviceResult OpcUa_StatusCode Result of the service. numOfEndpoints OpcUa_Int32 Number of endpoints available on the server. pEndpoints POINTER TO OpcUa_EndpointDescription Pointer to a list of server endpoints.
IOPCUAClientMethodCallback (ITF) ¶ INTERFACE IOPCUAClientMethodCallback EXTENDS __SYSTEM.IQueryInterface These callbacks are used to send the results of method calls back to the caller. Methods: CallCallback Structure: CallCallback (Method)
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.