CMmPacketContextGsmWcdmaExt Class Reference

class CMmPacketContextGsmWcdmaExt : public CBase

CMmPacketContextGsmWcdmaExt contains mode specific packet context functionality for GSM/WCDMA Packet Data.

Inherits from

  • CMmPacketContextGsmWcdmaExt
Public Member Functions
~CMmPacketContextGsmWcdmaExt ()
TInt ActivateL ()
TInt AddMediaAuthorizationL ( RPacketContext::CTFTMediaAuthorizationV3 *const , TBool &)
TInt AddPacketFilterL ( TDes8 *)
void CompleteActivate ( CMmDataPackage *, const TInt )
void CompleteActivatePhase2 ( CMmDataPackage *, const TInt )
void CompleteDeactivate (const TInt )
void CompleteDelete (const TInt )
void CompleteGetDataVolumeTransferred (const CMmDataPackage *, const TInt )
void CompleteInitialiseContext (const TInt )
void CompleteModifyActiveContext ( CMmDataPackage *, const TInt )
void CompleteNotifyConfigChanged ()
void CompleteNotifyStatusChange (const CMmDataPackage *, const TInt )
void CompleteSetConfig (const TInt )
RPacketContext::TContextConfigGPRS * ContextConfig ()
TBool ContextType ()
TInt DeactivateL ()
TInt DeleteL ()
TInt EnumeratePacketFilters ( TInt *)
TInt GetConfig ( TPacketDataConfigBase *const )
TInt GetConfigurationData ( TInfoName &, RPacketContext::TProtocolType &, TBool &, TInfoName &)
TInt GetDataVolumeTransferredL ()
TInt GetDnsInfoEtel ( TDes8 *const )
TInt GetPacketFilterInfo (const TInt , TPacketBase *)
TInt InitialiseContextL ( RPacketContext::TDataChannelV2 *)
TBool IsContextActivationAllowed ()
TInt ModifyActiveContextL ()
CMmPacketContextGsmWcdmaExt * NewL ( CMmPacketContextTsy *const , CMmPacketServiceTsy *const )
TInt NotifyConfigChanged ( TPacketDataConfigBase &)
TInt RemoveMediaAuthorization ( RPacketContext::TAuthorizationToken *const )
TInt RemovePacketFilter (const TInt )
TInt SetConfigL ( TPacketDataConfigBase *const )
void SetContextStatusBeforeDeactivation (const RPacketContext::TContextStatus )
Private Member Functions
CMmPacketContextGsmWcdmaExt ()
void ActivatePhase2L ()
void ConstructL ()
void InitInternalAttributesL ()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Public Member Enumerations
enum TAddPacketFilterStatusStates { EAddPacketFilterStatusAdd , EAddPacketFilterStatusModify , EAddPacketFilterStatusRemove , EAddPacketFilterStatusUnknown }
Private Attributes
RPacketContext::TContextConfigGPRS * iConfig
TUint iConnectionSpeed
TContextConfiguration iContextConfiguration
TInt iContextConfigurationType
RPacketContext::TContextStatus iContextStatusBeforeDeactivation
RPacketContext::TDataChannelV2 * iDataChannel
CArrayFixFlat < RPacketContext::TPacketFilterV2 > * iFilterArray
TInt iFilterIdTemporaryArray
TAddPacketFilterStatusStates iFilterStatus
CArrayFixFlat < RPacketContext::TPacketFilterV2 > * iFilterTemporaryArray
TBool iIsActivateAllowed
TBool iIsInitialiseAllowed
CMmPacketContextTsy * iMmPacketContextTsy
CMmPacketServiceTsy * iMmPacketServiceTsy
RPacketContext::TContextConfigGPRS iNotifyConfig
RPacketContext::TContextConfigR99_R4 iNotifyConfigR99_R4
TAddPacketFilterStatusStates iPrevFilterStatus
RPacketContext::TContextConfigGPRS * iTempConfig
CArrayFixFlat < RPacketContext::CTFTMediaAuthorizationV3 > * iTempMediaAuthorizationArray
TBool isAddMediaAuthorizationCalledFirstTime

Constructor & Destructor Documentation

CMmPacketContextGsmWcdmaExt()

CMmPacketContextGsmWcdmaExt ( ) [private]

C++ default constructor.

~CMmPacketContextGsmWcdmaExt()

~CMmPacketContextGsmWcdmaExt ( ) [virtual]

Destructor.

Member Functions Documentation

ActivateL()

TInt ActivateL ( )

Activate a context

ActivatePhase2L()

void ActivatePhase2L ( ) [private]

This is the second phase of context activation.

AddMediaAuthorizationL(RPacketContext::CTFTMediaAuthorizationV3 *const, TBool &)

TInt AddMediaAuthorizationL ( RPacketContext::CTFTMediaAuthorizationV3 *const aMediaAuthorization,
TBool & aHasMediaAuthorizationBeenCached
)

Parameters

RPacketContext::CTFTMediaAuthorizationV3 *const aMediaAuthorization
TBool & aHasMediaAuthorizationBeenCached

AddPacketFilterL(TDes8 *)

TInt AddPacketFilterL ( TDes8 * aPacketFilter )

Prepare to set or modify packet filter(s) to context

Parameters

TDes8 * aPacketFilter Current context TFT filter data

CompleteActivate(CMmDataPackage *, const TInt)

void CompleteActivate ( CMmDataPackage * aDataPackage,
const TInt aResult
)

Complete the activate request

Parameters

CMmDataPackage * aDataPackage Packaged parameters
const TInt aResult

CompleteActivatePhase2(CMmDataPackage *, const TInt)

void CompleteActivatePhase2 ( CMmDataPackage * aDataPackage,
const TInt aResult
)

Complete activate phase2

Parameters

CMmDataPackage * aDataPackage Packaged parameters
const TInt aResult

CompleteDeactivate(const TInt)

void CompleteDeactivate ( const TInt aResult )

Complete deactivation of the context.

Parameters

const TInt aResult

CompleteDelete(const TInt)

void CompleteDelete ( const TInt aResult )

Complete deletion of the context.

Parameters

const TInt aResult

CompleteGetDataVolumeTransferred(const CMmDataPackage *, const TInt)

void CompleteGetDataVolumeTransferred ( const CMmDataPackage * aDataPackage,
const TInt aResult
)

Complete the GetDataVolumeTransferred request.

Parameters

const CMmDataPackage * aDataPackage Packaged parameters
const TInt aResult

CompleteInitialiseContext(const TInt)

void CompleteInitialiseContext ( const TInt aResult )

Complete initialise of a context

Parameters

const TInt aResult

CompleteModifyActiveContext(CMmDataPackage *, const TInt)

void CompleteModifyActiveContext ( CMmDataPackage * aDataPackage,
const TInt aResult
)

Complete active context modify operation

Parameters

CMmDataPackage * aDataPackage Packaged parameters
const TInt aResult

CompleteNotifyConfigChanged()

void CompleteNotifyConfigChanged ( )

Complete the config changed notification

CompleteNotifyStatusChange(const CMmDataPackage *, const TInt)

void CompleteNotifyStatusChange ( const CMmDataPackage * aDataPackage,
const TInt aResult
)

Complete the config changed notification

Parameters

const CMmDataPackage * aDataPackage Packaged parameters
const TInt aResult

CompleteSetConfig(const TInt)

void CompleteSetConfig ( const TInt aResult )

Complete SetConfig

Parameters

const TInt aResult

ConstructL()

void ConstructL ( ) [private]

Second phase constructor of CMmPacketContextGsmWcdmaExt .

ContextConfig()

RPacketContext::TContextConfigGPRS * ContextConfig ( ) const

Return pointer to context configuration GPRS

ContextType()

TBool ContextType ( ) const

Return context type

DeactivateL()

TInt DeactivateL ( )

Deactivate a context

DeleteL()

TInt DeleteL ( )

Delete a context.

EnumeratePacketFilters(TInt *)

TInt EnumeratePacketFilters ( TInt * aCount )

Count packet filters from context.

Parameters

TInt * aCount

GetConfig(TPacketDataConfigBase *const)

TInt GetConfig ( TPacketDataConfigBase *const aConfig )

Get the context configuration info.

Parameters

TPacketDataConfigBase *const aConfig

GetConfigurationData(TInfoName &, RPacketContext::TProtocolType &, TBool &, TInfoName &)

TInt GetConfigurationData ( TInfoName & aContextName,
RPacketContext::TProtocolType & aPdpType,
TBool & aContextType,
TInfoName & aPrimaryContextName
)

Get the context configuration data. This function is called from QoS when the client has called the SetProfileParameters

Parameters

TInfoName & aContextName
RPacketContext::TProtocolType & aPdpType
TBool & aContextType
TInfoName & aPrimaryContextName

GetDataVolumeTransferredL()

TInt GetDataVolumeTransferredL ( )

Get the data volume transferred

GetDnsInfoEtel(TDes8 *const)

TInt GetDnsInfoEtel ( TDes8 *const aDnsInfo )

This method get the DNS info

Parameters

TDes8 *const aDnsInfo Contains DNS information in return

GetPacketFilterInfo(const TInt, TPacketBase *)

TInt GetPacketFilterInfo ( const TInt aIndex,
TPacketBase * aPacketFilterInfo
)

Gets packet filter info by index

Parameters

const TInt aIndex Index of the wanted packet filter
TPacketBase * aPacketFilterInfo

InitInternalAttributesL()

void InitInternalAttributesL ( ) [private]

Initialise miscellaneous internal attributes.

InitialiseContextL(RPacketContext::TDataChannelV2 *)

TInt InitialiseContextL ( RPacketContext::TDataChannelV2 * aDataChannel )

Initialise a context

Parameters

RPacketContext::TDataChannelV2 * aDataChannel Pointer to packet context channelId information

IsContextActivationAllowed()

TBool IsContextActivationAllowed ( ) const

Tells if context activation is allowed

ModifyActiveContextL()

TInt ModifyActiveContextL ( )

Add, remove or modify packetfilter(s) and qos to active context.

NewL(CMmPacketContextTsy *const, CMmPacketServiceTsy *const)

CMmPacketContextGsmWcdmaExt * NewL ( CMmPacketContextTsy *const aMmPacketContextTsy,
CMmPacketServiceTsy *const aMmPacketServiceTsy
) [static]

Two-phased constructor.

Parameters

CMmPacketContextTsy *const aMmPacketContextTsy Pointer to the created object
CMmPacketServiceTsy *const aMmPacketServiceTsy Pointer to Servicetsy

NotifyConfigChanged(TPacketDataConfigBase &)

TInt NotifyConfigChanged ( TPacketDataConfigBase & aConfig )

Notify when context configuration info has been changed

Parameters

TPacketDataConfigBase & aConfig Current configuration mode

RemoveMediaAuthorization(RPacketContext::TAuthorizationToken *const)

TInt RemoveMediaAuthorization ( RPacketContext::TAuthorizationToken *const aAuthorizationToken )

Parameters

RPacketContext::TAuthorizationToken *const aAuthorizationToken

RemovePacketFilter(const TInt)

TInt RemovePacketFilter ( const TInt aId )

Prepare to remove packet filter(s) from context.

Parameters

const TInt aId ID of the TFT filter to be removed

SetConfigL(TPacketDataConfigBase *const)

TInt SetConfigL ( TPacketDataConfigBase *const aConfig )

Configure a context

Parameters

TPacketDataConfigBase *const aConfig Current context configuration data

SetContextStatusBeforeDeactivation(const RPacketContext::TContextStatus)

void SetContextStatusBeforeDeactivation ( const RPacketContext::TContextStatus aContextStatusBeforeDeactivation )

Sets iContextStatusBeforeActivation parameter

Parameters

const RPacketContext::TContextStatus aContextStatusBeforeDeactivation Contains status of the current context

Member Enumerations Documentation

Enum TAddPacketFilterStatusStates

packet context packet f lter operation states

Enumerators

EAddPacketFilterStatusAdd
EAddPacketFilterStatusModify
EAddPacketFilterStatusRemove
EAddPacketFilterStatusUnknown

Member Data Documentation

RPacketContext::TContextConfigGPRS * iConfig

RPacketContext::TContextConfigGPRS * iConfig [private]

Context configuration data GPRS Own.

TUint iConnectionSpeed

TUint iConnectionSpeed [private]

Connection speed

TContextConfiguration iContextConfiguration

TContextConfiguration iContextConfiguration [private]

Includes Qos, configuration and packet filter data

TInt iContextConfigurationType

TInt iContextConfigurationType [private]

Includes context configuration information

RPacketContext::TContextStatus iContextStatusBeforeDeactivation

RPacketContext::TContextStatus iContextStatusBeforeDeactivation [private]

Context status before deactivation

RPacketContext::TDataChannelV2 * iDataChannel

RPacketContext::TDataChannelV2 * iDataChannel [private]

DataChannel for a packet context

CArrayFixFlat< RPacketContext::TPacketFilterV2 > * iFilterArray

CArrayFixFlat < RPacketContext::TPacketFilterV2 > * iFilterArray [private]

Container to context packet filters Own.

TInt iFilterIdTemporaryArray

TInt iFilterIdTemporaryArray [private]

Temporary container to remove packet filter Id's

TAddPacketFilterStatusStates iFilterStatus

TAddPacketFilterStatusStates iFilterStatus [private]

Filter operation

CArrayFixFlat< RPacketContext::TPacketFilterV2 > * iFilterTemporaryArray

CArrayFixFlat < RPacketContext::TPacketFilterV2 > * iFilterTemporaryArray [private]

Temporary container to context packet filter(s) Own.

TBool iIsActivateAllowed

TBool iIsActivateAllowed [private]

Context activation allowed

TBool iIsInitialiseAllowed

TBool iIsInitialiseAllowed [private]

Context initialization allowed

CMmPacketContextTsy * iMmPacketContextTsy

CMmPacketContextTsy * iMmPacketContextTsy [private]

Pointer to the packet context tsy Not own.

CMmPacketServiceTsy * iMmPacketServiceTsy

CMmPacketServiceTsy * iMmPacketServiceTsy [private]

Pointer to the Packet Service TSY Not own.

RPacketContext::TContextConfigGPRS iNotifyConfig

RPacketContext::TContextConfigGPRS iNotifyConfig [private]

Configuration data for NotifyConfigChanged to GPRS

RPacketContext::TContextConfigR99_R4 iNotifyConfigR99_R4

RPacketContext::TContextConfigR99_R4 iNotifyConfigR99_R4 [private]

Configuration data for NotifyConfigChanged to R99_R4

TAddPacketFilterStatusStates iPrevFilterStatus

TAddPacketFilterStatusStates iPrevFilterStatus [private]

Previous filter operation

RPacketContext::TContextConfigGPRS * iTempConfig

RPacketContext::TContextConfigGPRS * iTempConfig [private]

Temporary context configuration data to GPRS

CArrayFixFlat< RPacketContext::CTFTMediaAuthorizationV3 > * iTempMediaAuthorizationArray

CArrayFixFlat < RPacketContext::CTFTMediaAuthorizationV3 > * iTempMediaAuthorizationArray [private]

Temporary container for authorization class Rel5 Own.

TBool isAddMediaAuthorizationCalledFirstTime

TBool isAddMediaAuthorizationCalledFirstTime [private]

Indicator