TQoSParameters Class Reference

class TQoSParameters

Holds information on the parameters that define Quality of Service (QoS).

Public Member Functions
TQoSParameters()
IMPORT_C TBoolAdaptMode()
IMPORT_C voidCopy(CExtension &)
TUint Flags()
TInt GetDownLinkAveragePacketSize()
TInt GetDownLinkDelay()
TInt GetDownLinkMaximumBurstSize()
TInt GetDownLinkMaximumPacketSize()
TInt GetDownLinkPriority()
TInt GetDownlinkBandwidth()
IMPORT_C TBoolGetHeaderMode()
const TName &GetName()
TInt GetUpLinkAveragePacketSize()
TInt GetUpLinkDelay()
TInt GetUpLinkMaximumBurstSize()
TInt GetUpLinkMaximumPacketSize()
TInt GetUpLinkPriority()
TInt GetUplinkBandwidth()
IMPORT_C voidSetAdaptMode(TBool)
IMPORT_C voidSetDownLinkAveragePacketSize(TInt)
IMPORT_C voidSetDownLinkDelay(TInt)
IMPORT_C voidSetDownLinkMaximumBurstSize(TInt)
IMPORT_C voidSetDownLinkMaximumPacketSize(TInt)
IMPORT_C voidSetDownLinkPriority(TInt)
IMPORT_C voidSetDownlinkBandwidth(TInt)
voidSetFlags(TUint)
IMPORT_C voidSetHeaderMode(TBool)
IMPORT_C TIntSetName(const TName &)
IMPORT_C voidSetUpLinkAveragePacketSize(TInt)
IMPORT_C voidSetUpLinkDelay(TInt)
IMPORT_C voidSetUpLinkMaximumBurstSize(TInt)
IMPORT_C voidSetUpLinkMaximumPacketSize(TInt)
IMPORT_C voidSetUpLinkPriority(TInt)
IMPORT_C voidSetUplinkBandwidth(TInt)
IMPORT_C TQoSParameters &operator=(const TQoSParameters &)
IMPORT_C TIntoperator==(const TQoSParameters &)
Private Attributes
TInt iDownLinkAveragePacketSize
TInt iDownLinkDelay
TInt iDownLinkMaximumBurstSize
TInt iDownLinkMaximumPacketSize
TInt iDownLinkPriority
TInt iDownlinkBandwidth
TUint iFlags
TName iName
TInt iUpLinkAveragePacketSize
TInt iUpLinkDelay
TInt iUpLinkMaximumBurstSize
TInt iUpLinkMaximumPacketSize
TInt iUpLinkPriority
TInt iUplinkBandwidth

Constructor & Destructor Documentation

TQoSParameters()

IMPORT_CTQoSParameters()

Member Functions Documentation

AdaptMode()

IMPORT_C TBoolAdaptMode()const

Copy(CExtension &)

IMPORT_C voidCopy(CExtension &aExtension)

Parameters

CExtension & aExtension

Flags()

TUint Flags()const [inline]

Gets the current flags.

GetDownLinkAveragePacketSize()

TInt GetDownLinkAveragePacketSize()const [inline]

The minimum policed unit for downlink direction.

Minimum policed unit is used as the smallest packet size when doing traffic policing and estimating effect of protocol headers. The minimum policed unit must be <= maximum packet size.

GetDownLinkDelay()

TInt GetDownLinkDelay()const [inline]

Gets the requested delay for downlink direction.

GetDownLinkMaximumBurstSize()

TInt GetDownLinkMaximumBurstSize()const [inline]

Gets the token bucket size for downlink direction.

Token bucket size defines the burst size that the application may send.

GetDownLinkMaximumPacketSize()

TInt GetDownLinkMaximumPacketSize()const [inline]

Gets the maximum packet size for downlink direction.

GetDownLinkPriority()

TInt GetDownLinkPriority()const [inline]

Gets the priority for downlink direction. Priority can be used to prioritise between traffic flows inside the terminal.

GetDownlinkBandwidth()

TInt GetDownlinkBandwidth()const [inline]

Gets the token rate for downlink direction.

Token rate defines the requested transfer rate that the application requests.

GetHeaderMode()

IMPORT_C TBoolGetHeaderMode()const

GetName()

const TName &GetName()const [inline]

Gets a reference to the name.

GetUpLinkAveragePacketSize()

TInt GetUpLinkAveragePacketSize()const [inline]

Gets the size of the minimum policed unit which is the smallest packet size for traffic policing.

GetUpLinkDelay()

TInt GetUpLinkDelay()const [inline]

Gets the delay for uplink direction (in milliseconds).

GetUpLinkMaximumBurstSize()

TInt GetUpLinkMaximumBurstSize()const [inline]

Gets the current size of the token bucket, that is the maximum number of tokens that the transfer can support.

GetUpLinkMaximumPacketSize()

TInt GetUpLinkMaximumPacketSize()const [inline]

Gets the maximum uplink single packet size.

GetUpLinkPriority()

TInt GetUpLinkPriority()const [inline]

Gets the uplink priority.

GetUplinkBandwidth()

TInt GetUplinkBandwidth()const [inline]

Gets the current token rate for the uplink.

SetAdaptMode(TBool)

IMPORT_C voidSetAdaptMode(TBoolaCanAdapt)

Parameters

TBool aCanAdapt

SetDownLinkAveragePacketSize(TInt)

IMPORT_C voidSetDownLinkAveragePacketSize(TIntaSize)

Parameters

TInt aSize

SetDownLinkDelay(TInt)

IMPORT_C voidSetDownLinkDelay(TIntaDelay)

Parameters

TInt aDelay

SetDownLinkMaximumBurstSize(TInt)

IMPORT_C voidSetDownLinkMaximumBurstSize(TIntaSize)

Parameters

TInt aSize

SetDownLinkMaximumPacketSize(TInt)

IMPORT_C voidSetDownLinkMaximumPacketSize(TIntaMaxSize)

Parameters

TInt aMaxSize

SetDownLinkPriority(TInt)

IMPORT_C voidSetDownLinkPriority(TIntaPriority)

Parameters

TInt aPriority

SetDownlinkBandwidth(TInt)

IMPORT_C voidSetDownlinkBandwidth(TIntaBandwidth)

Parameters

TInt aBandwidth

SetFlags(TUint)

voidSetFlags(TUintaFlags)[inline]

Set the flags.

Currently the only flag supported is KPfqosOptionCanAdapt that indicates whether the aplication can adapt.

Parameters

TUint aFlagsThe flag values to set.

SetHeaderMode(TBool)

IMPORT_C voidSetHeaderMode(TBoolaHeadersIncluded)

Parameters

TBool aHeadersIncluded

SetName(const TName &)

IMPORT_C TIntSetName(const TName &aName)

Parameters

const TName & aName

SetUpLinkAveragePacketSize(TInt)

IMPORT_C voidSetUpLinkAveragePacketSize(TIntaSize)

Parameters

TInt aSize

SetUpLinkDelay(TInt)

IMPORT_C voidSetUpLinkDelay(TIntaDelay)

Parameters

TInt aDelay

SetUpLinkMaximumBurstSize(TInt)

IMPORT_C voidSetUpLinkMaximumBurstSize(TIntaSize)

Parameters

TInt aSize

SetUpLinkMaximumPacketSize(TInt)

IMPORT_C voidSetUpLinkMaximumPacketSize(TIntaMaxSize)

Parameters

TInt aMaxSize

SetUpLinkPriority(TInt)

IMPORT_C voidSetUpLinkPriority(TIntaPriority)

Parameters

TInt aPriority

SetUplinkBandwidth(TInt)

IMPORT_C voidSetUplinkBandwidth(TIntaBandwidth)

Parameters

TInt aBandwidth

operator=(const TQoSParameters &)

IMPORT_C TQoSParameters &operator=(const TQoSParameters &aSpec)

Parameters

const TQoSParameters & aSpec

operator==(const TQoSParameters &)

IMPORT_C TIntoperator==(const TQoSParameters &aFlowSpec)const

Parameters

const TQoSParameters & aFlowSpec

Member Data Documentation

TInt iDownLinkAveragePacketSize

TInt iDownLinkAveragePacketSize[private]

The size of the minimum policed packet for the downlink.

TInt iDownLinkDelay

TInt iDownLinkDelay[private]

The delay (in milliseconds) for the downlink.

TInt iDownLinkMaximumBurstSize

TInt iDownLinkMaximumBurstSize[private]

The token bucket size for the downlink.

TInt iDownLinkMaximumPacketSize

TInt iDownLinkMaximumPacketSize[private]

The maximum packet size for the downlink.

TInt iDownLinkPriority

TInt iDownLinkPriority[private]

The priority for the downlink.

TInt iDownlinkBandwidth

TInt iDownlinkBandwidth[private]

The token rate for the downlink.

TUint iFlags

TUint iFlags[private]

Internal represention of the flags.

TName iName

TName iName[private]

The name.

TInt iUpLinkAveragePacketSize

TInt iUpLinkAveragePacketSize[private]

The size of the minimum policed unit for the uplink.

TInt iUpLinkDelay

TInt iUpLinkDelay[private]

The delay (in milliseconds) for the uplink.

TInt iUpLinkMaximumBurstSize

TInt iUpLinkMaximumBurstSize[private]

The token bucket size for the uplink.

TInt iUpLinkMaximumPacketSize

TInt iUpLinkMaximumPacketSize[private]

The maximum packet size for the uplink.

TInt iUpLinkPriority

TInt iUpLinkPriority[private]

The priority for the uplink.

TInt iUplinkBandwidth

TInt iUplinkBandwidth[private]

The token rate for the uplink.