OpenSim/Region/ClientStack/Linden/UDP/TokenBucket.cs
/// <summary>
/// Deposit tokens into the bucket from a child bucket that did
/// not use all of its available tokens
/// </summary>
Deposit tokens into the bucket from a child bucket that did
not use all of its available tokens
Deposit tokens into the bucket from a child bucket that did not use all of its available tokens
protected void Deposit(Int64 count)
        {
            m_tokenCount += count;
            Int64 burstrate = BurstRate;
            if (m_tokenCount > burstrate)
                m_tokenCount = burstrate;
        }
protected void Deposit ( Int64 count ) { m_tokenCount += count ; Int64 burstrate = BurstRate ; if ( m_tokenCount > burstrate ) m_tokenCount = burstrate ; }
Deposit tokens into the bucket from a child bucket that did
not use all of its available tokens
Deposit tokens into the bucket from a child bucket that did not use all of its available tokens
// Deposit the overflow in the parent bucket, this is how we share // unused bandwidth
count
Int64