Internet Direct (Indy)
|
Implements bandwidth checking for the receive operation.
procedure Receive( var ABuffer: TIdBytes ); override;
Parameters |
Description |
ABuffer |
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.
Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved. Website http://www.indyproject.org. Post feedback to the Indy Documentation newsgroup. |