ConnectionHandler.ConnectionStateCallback
(METH)
METHOD ConnectionStateCallback : CmpOPCUAStack_Interfaces.OpcUa_StatusCode
This callback is called whenever the state of the connection changes.
- InOut:
Scope
Name
Type
Comment
Return
ConnectionStateCallback
CmpOPCUAStack_Interfaces.OpcUa_StatusCode
Input
hConnection
SysTypes.RTS_IEC_HANDLE
Handle of the connection that changed the staet.
connectionState
OPCUAClientConnectionState
The new connection state.
reason
CmpOPCUAStack_Interfaces.OpcUa_StatusCode
The reason why the connection state changed.