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()

void ConstructL ( ) [protected]

Copy(const CExtensionBase &)

IMPORT_C TInt Copy ( 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 & aExtension A 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 void GetQoSMinimum ( TUmtsQoSParameters & aMinimum ) const

Gets the minimum Umts QoS parameter set.

Parameters

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

GetQoSNegotiated(TNegotiatedUmtsQoSParameters &)

IMPORT_C void GetQoSNegotiated ( TNegotiatedUmtsQoSParameters & aNegotiated ) const

Gets the negotiated Umts QoS parameter set.

Parameters

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

GetQoSRequested(TUmtsQoSParameters &)

IMPORT_C void GetQoSRequested ( TUmtsQoSParameters & aRequested ) const

Gets the requested Umts QoS parameter set.

Parameters

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

HeaderCompression()

IMPORT_C TUint HeaderCompression ( ) 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 TInt ParseMessage ( 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 TInt SetHeaderCompression ( TUint aCompression )

Sets the requested header compression value.

Parameters

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

SetQoSMinimum(const TUmtsQoSParameters &)

IMPORT_C void SetQoSMinimum ( const TUmtsQoSParameters & aMinimum )

Sets the minimum Umts QoS parameter set.

Parameters

const TUmtsQoSParameters & aMinimum Contains the minimum Umts QoS parameters.

SetQoSRequested(const TUmtsQoSParameters &)

IMPORT_C void SetQoSRequested ( const TUmtsQoSParameters & aRequested )

Sets the requested Umts QoS parameter set.

Parameters

const TUmtsQoSParameters & aRequested Contains 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]