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