Datasnap.Win.SConnect.TStreamedConnection.InterceptName

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property InterceptName: string read FInterceptName write SetInterceptName;

C++

__property System::UnicodeString InterceptName = {read=FInterceptName, write=SetInterceptName};

Properties

Type Visibility Source Unit Parent
property protected
Datasnap.Win.SConnect.pas
Datasnap.Win.SConnect.hpp
Datasnap.Win.SConnect TStreamedConnection

Description

Specifies the ProgID of a COM object that manipulates interface calls before they are sent or after return values are received.

Set InterceptName to the programmatic ID (ProgID) of a COM object that intercepts messages between the connection component and an application server before they are sent and after they are received.

Note: In Delphi, you can choose the ProgID of any COM objects that have been registered to perform this task at Design time, using a drop-down list in the Object Inspector, if they use TPacketInterceptFactory as a class factory.

The COM object must implement the IDataIntercept interface. Use the IDataIntercept methods to manipulate the data that is communicated using the socket connection. For example, applications can use these methods to encrypt and decrypt data or to compress and decompress data.

Tip: To specify the COM object that intercepts messages using a GUID instead of a ProgID, use the InterceptGUID property instead.

Note: When using InterceptName, the server must use the same COM object to undo the transformation performed by the socket connection component's InterceptName. For servers that respond to TSocketConnection, you can set the COM object that the server uses with the Socket server dialog of ScktSrvr.exe.

See Also