RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TStreamedConnection.InterceptGUID Property

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

Pascal
property InterceptGUID: string;
C++
__property AnsiString InterceptGUID;

Set InterceptGUID to the GUID of a COM object that intercepts messages between the connection component and an application server before they are sent and after they are received.  

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 ProgID instead of a GUID, use the InterceptName property instead.
Note: When using InterceptGUID, the server must use the same COM object to undo the transformation performed by the socket connection component's InterceptGUID. For servers that respond to TSocketConnection, you can set the server's InterceptGUID to the same GUID using the Socket server dialog of ScktSrvr.exe.
 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!