Datasnap.Win.SConnect.TStreamedConnection.GetInterceptorList
Delphi
function GetInterceptorList: OleVariant; virtual;
C++
virtual System::OleVariant __fastcall GetInterceptorList(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Datasnap.Win.SConnect.pas Datasnap.Win.SConnect.hpp |
Datasnap.Win.SConnect | TStreamedConnection |
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.