API:Datasnap.Win.TConnect.TLocalConnection

From RAD Studio API Documentation
Jump to: navigation, search

Datasnap.DBClient.TCustomRemoteServerData.DB.TCustomConnectionSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTLocalConnection

Delphi

TLocalConnection = class(TCustomRemoteServer, IAppServer{$IFDEF MSWINDOWS}, ISupportErrorInfo{$ENDIF})

C++

class PASCALIMPLEMENTATION TLocalConnection : public Datasnap::Dbclient::TCustomRemoteServer

Properties

Type Visibility Source Unit Parent
class public
Datasnap.Win.TConnect.pas
Datasnap.Win.TConnect.hpp
Datasnap.Win.TConnect Datasnap.Win.TConnect

Description

TCustomRemoteServer is the base class for all components that connect to an application server in a multi-tiered database application.

Datasnap.Win.TConnect.TLocalConnection inherits from Datasnap.DBClient.TCustomRemoteServer. All content below this line refers to Datasnap.DBClient.TCustomRemoteServer.

TCustomRemoteServer is the base class for all components that connect to an application server in a multi-tiered database application.

Do not create instances of TCustomRemoteServer. TCustomRemoteServer introduces the properties and methods needed to connect to a remote application server and make its IAppServer interface available to one or more client datasets. Descendant classes, which are often called DataSnap connection components, override many of TCustomRemoteServer's methods to create or close connections to the application server and to manage the interface communication with the application server.

To enable a client application to connect to an application server, use a descendant of TCustomRemoteServer such as TSOAPConnection, TSocketConnection, TWebConnection, or TDCOMConnection.

See Also