API:Datasnap.Win.SConnect.TWebConnection

From RAD Studio API Documentation
Jump to: navigation, search

Datasnap.Win.SConnect.TStreamedConnectionDatasnap.Win.MConnect.TDispatchConnectionDatasnap.DBClient.TCustomRemoteServerData.DB.TCustomConnectionSystem.Classes.TComponentTWebConnection

Delphi

TWebConnection = class(TStreamedConnection, ITransport)

C++

class PASCALIMPLEMENTATION TWebConnection : public TStreamedConnection

Properties

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

Description

TStreamedConnection is the base class for components that handle their own marshaling of interface calls when connecting to application servers.

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

TStreamedConnection is the base class for components that handle their own marshaling of interface calls when connecting to application servers.

Do not create instances of TStreamedConnection. Instead, instantiate a descendant of TStreamedConnection such as TSocketConnection or TWebConnection.

TStreamedConnection handles the marshaling of all COM data types so that the streamed connection component can generate, interpret, and respond to remote COM interface calls without using DCOM. It uses an ITransport interface to connect to application servers and to send and receive messages.

TStreamedConnection can't actually connect to or communicate with an application server. Descendants of TStreamedConnection override the CreateTransport method to obtain an ITransport interface that enables these behaviors.

TStreamedConnection implements the ISendDataBlock interface.

See Also