Datasnap.Win.SConnect.TStreamedConnection.GetInterceptorList

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

function GetInterceptorList: OleVariant; virtual;

C++

virtual System::OleVariant __fastcall GetInterceptorList();

Description

Retrieves a list of registered interceptors that can be used to transform messages between the connection component and the application server.

Call GetInterceptorList to obtain a list of ProgIDs that can be assigned to the InterceptName property. GetInterceptorList retrieves a list of all COM objects that have been registered by TPacketInterceptFactory as data packet interceptors (objects that support the IDataIntercept interface that can be used to intercept and transform messages passed between a connection component and an application server.)

GetInterceptorList returns a Variant array of strings. Any of these strings can be used as a valid setting for the InterceptName property.

At design time, TStreamedConnection uses the GetInterceptorList method to populate the InterceptName drop-down in the Object Inspector.

See Also