Internet Direct (Indy)
Home
PreviousUpNext
TIdInterceptThrottler.Send Method

Implements bandwidth checking for the Send operation.

Pascal
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.

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.