class CongestionMonitor
|
Congestion Monitor.
More... |
|
|
Public Members
Detailed Description
This class implements a congestion monitor. It monitors a network
using a NetworkMonitorInterface.
CongestionMonitor (NetworkMonitorInterface* monitor, const card64 bandwidth, const card8 flags = 0)
|
Constructor for a new CongestionMonitor.
Parameters:
monitor | NetworkMonitorInterface for network monitor.
|
bandwidth | Bandwidth in bytes per second (*not* bits/s!).
|
flags | CongestionMonitor flags.
|
Destructor.
Get number of report receivers.
Returns: Number of report receivers.
bool addReportReceiver (Socket* receiver)
|
Add a report receiver to the congestion monitor.
Parameters:
receiver | Socket with connection to the new receiver.
|
Returns: true, if receiver has been added; false otherwise.
void removeReportReceiver (Socket* receiver)
|
Remove a report receiver from the congestion monitor.
Parameters:
receiver | Socket of the receiver to be removed.
|
- Version: 1.0
- Author: Thomas Dreibholz (Dreibholz@bigfoot.com)
- Generated: viper@odin on Sun Feb 4 18:54:51 2001, using kdoc 2.0a22.