|
|
This class inherits InternetAddress and contains an additional flow label for IPv6 support.
InternetFlow () |
Constructor for a new InternetFlow.
InternetFlow (const InternetFlow& flow) |
Constructor for a new InternetFlow.
Parameters:
flow | InternetFlow to be copied. |
InternetFlow (const InternetAddress& address, const card32 flowLabel, const card8 trafficClass) |
Constructor for a new InternetFlow.
Parameters:
address | InternetAddress. |
flowLabel | Flow label (20 bits). |
trafficClass | Traffic class (8 bits). |
void reset () |
Reset flow info.
Reimplemented from InternetAddress
String getAddressString () |
Get address string.
Returns: Address string.
Reimplemented from InternetAddress
cardinal getSystemAddress (sockaddr* buffer, const socklen_t length, const cardinal type) |
getSystemAddress() implementation of SocketAddressInterface.
See also: SocketAddressInterface#getSystemAddress
Reimplemented from InternetAddress
bool setSystemAddress (sockaddr* address, socklen_t length) |
setSystemAddress() implementation of SocketAddressInterface.
See also: SocketAddressInterface#setSystemAddress
Reimplemented from InternetAddress
inline card32 getFlowInfo () |
Get IPv6 flow info: (flowLabel | (trafficClass << 20)).
Returns: Flow info.
inline card32 getFlowLabel () |
Get flow label.
Returns: Flow label.
inline void setFlowLabel (const card32 flowLabel) |
Set flow label.
Parameters:
flowLabel | Flow label. |
inline card8 getTrafficClass () |
Get traffic class.
Returns: Traffic class.
inline void setTrafficClass (const card8 trafficClass) |
Set traffic class.
Parameters:
trafficClass | New traffic class. |