class InternetFlow

Internet Flow. More...

Full nameCoral::InternetFlow
Definition#include <internetflow.h>
InheritsCoral::InternetAddress
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Members


Detailed Description

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:
flowInternetFlow to be copied.

InternetFlow (const InternetAddress& address, const card32 flowLabel, const card8 trafficClass)

Constructor for a new InternetFlow.

Parameters:
addressInternetAddress.
flowLabelFlow label (20 bits).
trafficClassTraffic class (8 bits).

void reset ()

Reset flow info.

Reimplemented from InternetAddress

String getAddressString ()
[const]

Get address string.

Returns: Address string.

Reimplemented from InternetAddress

cardinal getSystemAddress (sockaddr* buffer, const socklen_t length, const cardinal type)
[const]

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 ()
[const]

Get IPv6 flow info: (flowLabel | (trafficClass << 20)).

Returns: Flow info.

inline card32 getFlowLabel ()
[const]

Get flow label.

Returns: Flow label.

inline void setFlowLabel (const card32 flowLabel)

Set flow label.

Parameters:
flowLabelFlow label.

inline card8 getTrafficClass ()
[const]

Get traffic class.

Returns: Traffic class.

inline void setTrafficClass (const card8 trafficClass)

Set traffic class.

Parameters:
trafficClassNew traffic class.