class CongestionManager

Congestion Manager. More...

Full nameCoral::CongestionManager
Definition#include <congestionmanager.h>
InheritsCoral::TimedThread
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

This class implements a the congestion manager.

 CongestionManager (InternetAddress* monitorAddress, Socket* memberSocket)

Constructor for a new CongestionManager.

Parameters:
reportSocketSocket to receive CongestionMonitorReports from.
memberSocketSocket to receive member requests from.

CongestionManager ()

Destructor.

inline cardinal  getMembers ()

Get number of members serverd by the server.

Returns: Number of members.

inline card64  getDefaultTimeout ()

[const]

Get the default timeout in microseconds, after which a member is assumed to be dead and removed.

Returns: Default timeout in microseconds.

inline void  setDefaultTimeout (const card64 timeout)

Set the default timeout in microseconds, after which a member is assumed to be dead and removed. The new value will be used for all new clients. Timeouts of old members are not changed!

Parameters:
timeoutDefault timeout in microseconds.