IOPCUAClientConnectionCallback.ConnectionStateCallback (METH)

METHOD ConnectionStateCallback : OpcUa_StatusCode

This callback is called whenever the state of the connection changes.

InOut:

Scope

Name

Type

Comment

Return

ConnectionStateCallback

OpcUa_StatusCode

Input

hConnection

RTS_IEC_HANDLE

Handle of the connection that changed the staet.

connectionState

OPCUAClientConnectionState

The new connection state.

reason

OpcUa_StatusCode

The reason why the connection state changed.