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

Implements bandwidth checking for the receive operation.

procedure Receive(
    var ABuffer: TIdBytes
); override;
Values to be used in the operation. 

Receive is an overridden procedure used to implement bandwidth checking for the connection intercept. Receive ensures that throughput on the Connection does not exceed the value indicated in BitsPerSec

Receive calls the inherited method to get the data in ABuffer from the Intercept and IOHandler for the Connection

When BitsPerSec contains a positive non-zero value, Receive causes the connection intercept to pause using TIdAntiFreezeBase.Sleep

Use Send to make data in a buffer availble to the Intercept and IOHandler for the Connection.

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