RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ITransport Interface

ITransport is the interface used by TStreamedConnection to connect to, read from, and write to a remote application server.

Pascal
ITransport = interface(IUnknown);
C++
__interface ITransport : public IUnknown;

SConnect

Streamed connection components use ITransport to connect to an application server and to send or receive data over that connection. ITransport is responsible only for managing the communication protocols. It does not provide any support for marshaling or storing information. 

ITransport is an interface, and as such can't be directly instantiated. Instead, objects that implement the ITransport properties and methods include ITransport in their class definition (Delphi) or are derived from ITransport (C++). Such objects can be cast to an ITransport so that they can be used by streamed connection components.

Note: C++ method declarations that use ITransport use the _di_ITransport type instead. This is a DelphiInterface wrapper around the ITransport interface:

typedef System::DelphiInterfaceDelphiInterface_object< ITransport> _di_ITransport;

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!