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