Topic Path: Symbol Reference > Classes > TIdConnectionIntercept Class > TIdConnectionIntercept Events > OnReceive Event
TIdConnectionIntercept.OnReceive Event

Allows data handling or transformation for intercepted read operations.

property OnReceive: TIdInterceptStreamEvent;

OnReceive is a TIdInterceptStreamEvent property that represents the event handler signalled when a read operation needs to be performed for the Connection in the intercept. 

OnReceive is triggered in the Receive method, and allows handling or transformation of data in the Receive buffer. 

Applications must assign a procedure to the TIdInterceptStreamEvent event handler to allow responding to the event notification. 

Data can be modified in OnReceive, but it will have already been passed to an assigned Intercept

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.