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