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.