ConnectionStatus Event
Fired to indicate changes in connection state.
Syntax
type TConnectionStatusEvent = procedure ( Sender: TObject; const ConnectionEvent: String; StatusCode: Integer; const Description: String ) of Object;
property OnConnectionStatus: TConnectionStatusEvent read FOnConnectionStatus write FOnConnectionStatus;
Remarks
The ConnectionStatus event is fired when the connection state changes: completion of a firewall or proxy connection, completion of a security handshake, etc.
The ConnectionEvent parameter indicates the type of connection event. Values may include:
Firewall connection complete. | |
SSL handshake complete (where applicable). | |
WebSocket handshake complete. | |
Remote host connection complete. | |
Remote host disconnected. | |
WebSocket connection broken. | |
SSL connection broken. | |
Firewall host disconnected. |