Datasnap.Win.SConnect.ITransport

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
interface
class
Visibility: public
Source:
Datasnap.Win.SConnect.pas
Datasnap.Win.SConnect.hpp
Unit: Datasnap.Win.SConnect
Parent: Datasnap.Win.SConnect

Delphi

ITransport = interface(IUnknown)

C++

__interface  INTERFACE_UUID("{CA6564C1-4683-11D1-88D4-00A0248E5091}") ITransport  : public System::IInterface

Description

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

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.

See Also