Datasnap.DSTCPServerTransport.TDSTCPServerTransport.KeepAliveEnablement

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: published
Source:
Datasnap.DSTCPServerTransport.pas
Datasnap.DSTCPServerTransport.hpp
Unit: Datasnap.DSTCPServerTransport
Parent: TDSTCPServerTransport

Delphi

property KeepAliveEnablement: TDSKeepAliveEnablement read FKeepAliveEnablement write FKeepAliveEnablement default kaDefault;

C++

__property TDSKeepAliveEnablement KeepAliveEnablement = {read=FKeepAliveEnablement, write=FKeepAliveEnablement, default=0};

Description

Decides whether new connections have KeepAlive enabled, disabled, or have the OS default setting.

The KeepAliveEnablement property specifies whether new connections have KeepAlive enabled, disabled, or have the OS default setting.

KeepAliveTime and KeepAliveInterval are only used if KeepAliveEnablement is set to kaEnabled. The KeepAlive setting can be overridden on a case-by-case basis for each connection, by implementing the OnConnect event of this component.

See Also