Datasnap.Win.SConnect.IDataBlock
Delphi
IDataBlock = interface(IUnknown)
C++
__interface INTERFACE_UUID("{CA6564C2-4683-11D1-88D4-00A0248E5091}") IDataBlock : public System::IInterface
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
interface class |
public | Datasnap.Win.SConnect.pas Datasnap.Win.SConnect.hpp |
Datasnap.Win.SConnect | Datasnap.Win.SConnect |
Description
IDataBlock is the interface used by data block interpreters to access memory buffers.
Data block interpreters uses IDataBlock when marshaling COM interface calls. Streamed connection components send data obtained from IDataBlock to an application server once the data block interpreter has filled its memory by marshaling interface calls. They also read data from the application server into IDataBlock and pass it to a data block interpreter for marshaling.
IDataBlock is an interface, and as such can't be directly instantiated. Instead, objects that implement the IDataBlock properties and methods include IDataBlock in their class definition (Delphi) or be derived from IDataBlock (C++). Such objects can be cast to an IDataBlock so that they can be used by data block interpreters.