|
|
This class implements a client for the congestion manager. Multiple streams can be managed over one connection to the manager.
|
Constructor for a new CongestionManagerClient.
Parameters:
manager | Address to congestion manager (e.g. "odin:7600"). |
~ |
Destructor.
inline bool |
[const]
Check, if CongestionManagerClient is ready.
Returns: true, if ready; false otherwise.
inline cardinal |
Get number of streams manager by this client.
Returns: Number of streams.
bool |
Add a new stream.
Parameters:
identifier | Identifer for the stream (has to be unique within the client, but not the manager!). |
streamDescription | ExtendedTransportInfo of the stream. |
Returns: true, if stream has been added; false otherwise.
void |
Remove stream with given identifier.
Parameters:
identifier | Identifer of the stream. |
bool |
Get suggested transport info of a given identifier.
Parameters:
identifier | Identifer of the stream. |
streamDescription | Memory to store the ExtendedTransportInfo structure. |
Returns: true, if transportInfo contains a new suggestion; false if there is no valid suggestion receiver from manager.
void |
Set transport info of a given identifier for a given identifier.
Parameters:
identifier | Identifer of the stream. |
streamDescription | New ExtendedTransportInfo. |
static const card8 |
IPv6 traffic class of CongestionManagerClient.