API:Datasnap.Win.SConnect.TStreamedConnection

From RAD Studio API Documentation
Jump to: navigation, search

Datasnap.Win.MConnect.TDispatchConnectionDatasnap.DBClient.TCustomRemoteServerData.DB.TCustomConnectionSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTStreamedConnection

Delphi

TStreamedConnection = class(TDispatchConnection, ISendDataBlock)

C++

class PASCALIMPLEMENTATION TStreamedConnection : public Datasnap::Win::Mconnect::TDispatchConnection

Properties

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

Description

TDispatchConnection is the base class for objects that connect client applications to an IDispatch-based application server.

Datasnap.Win.SConnect.TStreamedConnection inherits from Datasnap.Win.MConnect.TDispatchConnection. All content below this line refers to Datasnap.Win.MConnect.TDispatchConnection.

TDispatchConnection is the base class for objects that connect client applications to an IDispatch-based application server.

Do not create instances of TDispatchConnection. Instead, use TDispatchConnection as a base class when creating a custom component that forms a connection to a COM-based application server in a multi-tiered database application.

TDispatchConnection introduces the infrastructure for logging on to an application server, obtaining an IAppServer interface, calling the application server's interface, and managing a remote connection. Additionally, TCustomRemoteServer inherits the ability to work with one or more client datasets.

TDispatchConnection is not capable of connecting to an application server. This ability is added by descendants, which are specialized for different connection types. Once a connection is formed, however, TDispatchConnection makes the application server's IAppServer interface available to TClientDataSet components.

To enable a client application to connect to a COM-based application server, use a descendant of TDispatchConnection such as TSocketConnection, TWebConnection, or TDCOMConnection.

See Also