RTP Trace System
1.0
|
Internet Flow. More...
#include <internetflow.h>
Public Member Functions | |
InternetFlow () | |
InternetFlow (const InternetFlow &flow) | |
InternetFlow (const InternetAddress &address, const card32 flowLabel, const card8 trafficClass) | |
void | reset () |
String | getAddressString () const |
cardinal | getSystemAddress (sockaddr *buffer, const socklen_t length, const cardinal type) const |
bool | setSystemAddress (sockaddr *address, socklen_t length) |
card32 | getFlowInfo () const |
card32 | getFlowLabel () const |
void | setFlowLabel (const card32 flowLabel) |
card8 | getTrafficClass () const |
void | setTrafficClass (const card8 trafficClass) |
Private Attributes | |
card32 | FlowInfo |
Internet Flow.
This class inherits InternetAddress and contains an additional flow label for IPv6 support.
Constructor for a new InternetFlow.
Coral::InternetFlow::InternetFlow | ( | const InternetFlow & | flow | ) |
Constructor for a new InternetFlow.
flow | InternetFlow to be copied. |
Coral::InternetFlow::InternetFlow | ( | const InternetAddress & | address, |
const card32 | flowLabel, | ||
const card8 | trafficClass | ||
) |
Constructor for a new InternetFlow.
address | InternetAddress. |
flowLabel | Flow label (20 bits). |
trafficClass | Traffic class (8 bits). |
String Coral::InternetFlow::getAddressString | ( | ) | const [virtual] |
card32 Coral::Coral::InternetFlow::getFlowInfo | ( | ) | const [inline] |
Get IPv6 flow info: (flowLabel | (trafficClass << 20)).
card32 Coral::Coral::InternetFlow::getFlowLabel | ( | ) | const [inline] |
Get flow label.
cardinal Coral::InternetFlow::getSystemAddress | ( | sockaddr * | buffer, |
const socklen_t | length, | ||
const cardinal | type | ||
) | const [virtual] |
getSystemAddress() implementation of SocketAddressInterface.
Reimplemented from Coral::InternetAddress.
card8 Coral::Coral::InternetFlow::getTrafficClass | ( | ) | const [inline] |
Get traffic class.
void Coral::InternetFlow::reset | ( | ) | [virtual] |
Reset flow info.
Reimplemented from Coral::InternetAddress.
void Coral::Coral::InternetFlow::setFlowLabel | ( | const card32 | flowLabel | ) | [inline] |
Set flow label.
flowLabel | Flow label. |
bool Coral::InternetFlow::setSystemAddress | ( | sockaddr * | address, |
socklen_t | length | ||
) | [virtual] |
setSystemAddress() implementation of SocketAddressInterface.
Reimplemented from Coral::InternetAddress.
void Coral::Coral::InternetFlow::setTrafficClass | ( | const card8 | trafficClass | ) | [inline] |
Set traffic class.
trafficClass | New traffic class. |
card32 Coral::InternetFlow::FlowInfo [private] |