CSubConGenEventParamsGranted Class Reference

#include <cs_subconevents.h>

class CSubConGenEventParamsGranted : public CSubConNotificationEvent

Detailed Description

Subconnection parameters granted event.

Provides an interface for granted parameters event. This event will contain a negotiated generic parameter set and zero or more negotiated extension parameter sets.

Notification of this event occurs after a request to RSubConnection::SetParameters() has been made and negotiation with the network has been completed. A notification will be received for each family contained in the parameter bundle that was negotiated successfully. This event presents a generic set and zero or more extension sets (providing they are supported by the underlying sub-connection provider technology) of the parameter family identified by the Id return from GetFamily().

The following operations are also provided:

GetGenericSet()/SetGenericSet() - Accessor function for Generic Parameter Sets. GetExtensionSet() - Get extension parameter set of a particular index. AddExtensionSetL() - Add extension parameter set. GetFamily()/SetFamily() - Accessor function for parameter family type.

since v9.1

Member Attribute Documentation

iExtensionSets

RMetaDataEComContaineriExtensionSets[protected]

iFamily

DATA_VTABLE TUint32iFamily[protected]

iGenericSet

CSubConGenericParameterSet *iGenericSet[protected]

Constructor & Destructor Documentation

CSubConGenEventParamsGranted ( )

CSubConGenEventParamsGranted()[inline]

Empty CSubConGenEventParamsGranted constructor

~CSubConGenEventParamsGranted ( )

~CSubConGenEventParamsGranted()[virtual]

Member Function Documentation

AddExtensionSetL ( CSubConExtensionParameterSet * )

voidAddExtensionSetL(CSubConExtensionParameterSet *aExtensionSet)[inline]

Adds Extension Parameter set.

Parameters
aExtensionSetextension parameter set to be added in the list.

GetExtensionSet ( TUint )

const CSubConExtensionParameterSet *constGetExtensionSet(TUintaIndex)const [inline]

Gets Extension Parameter set.

Parameters
aIndexthe index number of the extension parameter to be returned (index number must not be greater than the value returned by CSubConGenEventParamsGranted::GetNumExtensionSets())
Return Value
pointer to selected CSubConExtensionParameterSet.

GetFamily ( )

TUint32 GetFamily()const [inline]

Gets parameter family type.

Return Value
parameter family type.

GetGenericSet ( )

const CSubConGenericParameterSet *constGetGenericSet()const [inline]

Gets Generic Parameter set.

Return Value
pointer to CSubConGenericParameterSet.

GetNumExtensionSets ( )

TInt GetNumExtensionSets()[inline]

Gets the number of Extension Parameter set.

Return Value
number of Extension Parameter set.

NewL ( )

CSubConGenEventParamsGranted *NewL()[static, inline]

Creates a granted parameter event sub-connection.

Return Value
a CSubConGenEventParamsGranted object pointer if successful, otherwise leaves with system error code.

SetFamily ( TUint32 )

voidSetFamily(TUint32aFamily)[inline]

Sets parameter family type.

Parameters
aFamilyparameter family type.

SetGenericSet ( CSubConGenericParameterSet * )

voidSetGenericSet(CSubConGenericParameterSet *aGenericSet)[inline]

Sets Generic Parameter set.

Parameters
aGenericSetpointer to Generic Parameter set.