Datasnap.DSTCPServerTransport.TDSTCPServerTransport.KeepAliveEnablement

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property KeepAliveEnablement: TDSKeepAliveEnablement read FKeepAliveEnablement write FKeepAliveEnablement default kaDefault;

C++

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

Properties

Type Visibility Source Unit Parent
property published
Datasnap.DSTCPServerTransport.pas
Datasnap.DSTCPServerTransport.hpp
Datasnap.DSTCPServerTransport TDSTCPServerTransport

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