Data.DBXTransportFilter.TDBXFilterSocketChannel.IsConnectionLost

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: protected
Source:
Data.DBXTransportFilter.pas
Data.DBXTransportFilter.hpp
Unit: Data.DBXTransportFilter
Parent: TDBXFilterSocketChannel

Delphi

function IsConnectionLost: Boolean; override;

C++

virtual bool __fastcall IsConnectionLost();

Description

Checks whether the connection is lost.

Data.DBXTransportFilter.TDBXFilterSocketChannel.IsConnectionLost inherits from Data.DBXTransport.TDbxChannel.IsConnectionLost. All content below this line refers to Data.DBXTransport.TDbxChannel.IsConnectionLost.

Checks whether the connection is lost.

IsConnectionLost is used to specify whether there is an open connection or not. The method returns False if there is a connection and True if the connection is lost. This is a virtual method; override it to change its behavior.

See Also