Login   Register  
PHP Classes
elePHPant
Icontem

Class: CTokenBucket

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Rene Kluwen  >  CTokenBucket  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: CTokenBucket
Base name: tokenbucket
Description: Token bucket filter for a variety of purposes
Related classes: , , , ,
Version: -
PHP version: -
License: Public Domain
All time users: 556 users
All time rank: 4260
Week users: 0 users
Week rank: 2526
Picture of Rene Kluwen
Author: Rene Kluwen <e-mail contact>
Packages: 6 Browse this author's classes Browse this author's classes
Country: The Netherlands The Netherlands - PHP jobs in The Netherlands
Age: 41
All time rank: 922 in The Netherlands The Netherlands
Week rank: 71 Up5 in The Netherlands The Netherlands Down


  Detailed description  
This class implements a token bucket filter. Token bucket filters are used in software engineering to limit a number of events within a certain time.

An example is how ISP's limit bandwidth to a fixed Kilobyte per second rate.

A typical usage of this class is limiting the amount of posts to, for example, a guestbook or forum for a user of your site.

An example is included in the source file. Call as: http://yourdomain/../tokenbucket.php/demo

 

  Groups  
Group folder image Algorithms Numerical and statistical algorithms View top rated classes

  Rate classes User ratings   Applications   Files Files  

  User ratings  
Not yet rated by the users

  Applications that use this class  
Link Description
Token Bucket Demo Demo of the class
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file license.txt Lic. License
Plain text file tokenbucket.php Class Class file

Download all files: tokenbucket.tar.gz tokenbucket.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.