Topic Path: Symbol Reference > Classes > TIdConnectionIntercept Class > TIdConnectionIntercept Methods > Receive Method
TIdConnectionIntercept.Receive Method

Receives values for the connection intercept.

procedure Receive(
    var ABuffer: TIdBytes
); virtual;
Buffer with values for the receive notification. 

Receive is a procedure used to receive values for the connection intercept using the buffer specified in ABuffer. 

When the TIdConnectionIntercept component is enabled, Receive is the method used to perform read operations before data on made available to a subsequent IOHandler or Intercept for the Connection

Receive uses the corresponding method in an assigned Intercept to make the data in ABuffer available to a chained intercept. 

Receive triggers the OnReceive event when a procedure has been assigned to the event handler. 

Use Send to write data in a buffer to the event handlers and intercepts for the connection intercept.

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