Implements bandwidth checking for the Send operation.
procedure Send( var ABuffer: TIdBytes ); override;
Parameters |
Description |
ABuffer |
Values to be used in the operation. |
Send is an overridden procedure used to implement bandwidth checking for the connection intercept. Send ensures that throughput on the Connection does not exceed the value indicated in BitsPerSec.
Send calls the inherited method to transmit the data in ABuffer to the Intercept and IOHandler for the Connection.
When BitsPerSec contains a positive non-zero value, Send causes the connection intercept to pause using TIdAntiFreezeBase.Sleep.
Use Receive to get data in a buffer availble from 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.
|