OnConnectionStateChanged

OnConnectionStateChanged 1:

This method is called when the connection to the remote system changes state.

Syntax

METHOD OnConnectionStateChanged : HRESULT
VAR_INPUT
    ipContext                   : I_TcListenerContext;
    eReason                     : TcRemoteConnectionChangeReason;
END_VAR

OnConnectionStateChanged 2: Inputs

Name

Type

Description

ipContext

I_TcListenerContext

Context of the different EventLoggers

eReason

TcRemoteConnectionChangeReason

The type of change in connection status.