API:Datasnap.Win.SConnect.TSocketConnection

From RAD Studio API Documentation
Jump to: navigation, search

Datasnap.Win.SConnect.TStreamedConnectionDatasnap.Win.MConnect.TDispatchConnectionDatasnap.DBClient.TCustomRemoteServerData.DB.TCustomConnectionSystem.Classes.TComponentTSocketConnection
[–] Properties
Type: class
Visibility: public
Source:
Datasnap.Win.SConnect.pas
Datasnap.Win.SConnect.hpp
Unit: Datasnap.Win.SConnect
Parent: Datasnap.Win.SConnect

Delphi

TSocketConnection = class(TStreamedConnection)

C++

class PASCALIMPLEMENTATION TSocketConnection : public TStreamedConnection

Description

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

Datasnap.Win.SConnect.TSocketConnection 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