RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TStreamedConnection Class

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

Pascal
TStreamedConnection = class(TDispatchConnection, ISendDataBlock);
C++
class TStreamedConnection : public TDispatchConnection, public ISendDataBlock;

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!