CUmtsQoSPolicy Class Reference

class CUmtsQoSPolicy : public CExtensionBase

This is a Umts policy extension, that can be added to a CQoSParameters object.

Inherits from

Constructor & Destructor Documentation

CUmtsQoSPolicy()

CUmtsQoSPolicy()[protected]

~CUmtsQoSPolicy()

IMPORT_C~CUmtsQoSPolicy()

destructor.

Member Functions Documentation

ConstructL()

voidConstructL()[protected]

Copy(const CExtensionBase &)

IMPORT_C TIntCopy(const CExtensionBase &aExtension)[virtual]

Copies the parameters from aExtension object to this object. aExtension must be a CUmtsQoSPolicy object. If some other extension is given as a parameter, KErrArgument is returned.

Parameters

const CExtensionBase & aExtensionA CUmtsQoSPolicy object that is copied into this object.

CreateL()

IMPORT_C CExtensionBase *CreateL()[virtual]
Creates a CUmtsQoSPolicy object. This is used by QoS API library.
Exceptions
Leaves

if no memory is available.

Data()

IMPORT_C TDesC8 &Data()[virtual]

Returns Umts policy extension in a descriptor. This is used by QoS API library.

GetQoSMinimum(TUmtsQoSParameters &)

IMPORT_C voidGetQoSMinimum(TUmtsQoSParameters &aMinimum)const

Gets the minimum Umts QoS parameter set.

Parameters

TUmtsQoSParameters & aMinimumMinimum QoS parameter set will be copied to aMinimum.

GetQoSNegotiated(TNegotiatedUmtsQoSParameters &)

IMPORT_C voidGetQoSNegotiated(TNegotiatedUmtsQoSParameters &aNegotiated)const

Gets the negotiated Umts QoS parameter set.

Parameters

TNegotiatedUmtsQoSParameters & aNegotiatedNegotiated QoS parameter set will be copied to aNegotiated.

GetQoSRequested(TUmtsQoSParameters &)

IMPORT_C voidGetQoSRequested(TUmtsQoSParameters &aRequested)const

Gets the requested Umts QoS parameter set.

Parameters

TUmtsQoSParameters & aRequestedRequested QoS parameter set will be copied to aRequested.

HeaderCompression()

IMPORT_C TUintHeaderCompression()const

Gets the current requested header compression value: a bitmask indicationg if header compression (KPdpHeaderCompression) or data compression (KPdpDataCompression) is used.

NewL()

IMPORT_C CUmtsQoSPolicy *NewL()[static]
2 phase constructor. Creates a CUmtsQoSPolicy object.
Exceptions
Leaves

if no memory is available.

ParseMessage(const TDesC8 &)

IMPORT_C TIntParseMessage(const TDesC8 &aData)[virtual]

Parses a Umts policy extension given in a descriptor. This is used by QoS API library.

Parameters

const TDesC8 & aData

SetHeaderCompression(TUint)

IMPORT_C TIntSetHeaderCompression(TUintaCompression)

Sets the requested header compression value.

Parameters

TUint aCompressionContains the requested header compression value: a bitmask indicationg if header compression (KPdpHeaderCompression) or data compression (KPdpDataCompression) is used.

SetQoSMinimum(const TUmtsQoSParameters &)

IMPORT_C voidSetQoSMinimum(const TUmtsQoSParameters &aMinimum)

Sets the minimum Umts QoS parameter set.

Parameters

const TUmtsQoSParameters & aMinimumContains the minimum Umts QoS parameters.

SetQoSRequested(const TUmtsQoSParameters &)

IMPORT_C voidSetQoSRequested(const TUmtsQoSParameters &aRequested)

Sets the requested Umts QoS parameter set.

Parameters

const TUmtsQoSParameters & aRequestedContains the requested Umts QoS parameters.

Member Data Documentation

TPtr8 iBufPtr

TPtr8 iBufPtr[private]

TUint iCompression

TUint iCompression[private]

TUmtsQoSParameters iMinimum

TUmtsQoSParameters iMinimum[private]

TNegotiatedUmtsQoSParameters iNegotiated

TNegotiatedUmtsQoSParameters iNegotiated[private]

TUmtsQoSParameters iRequested

TUmtsQoSParameters iRequested[private]