CMmPacketServiceGsmWcdmaExt Class Reference

class CMmPacketServiceGsmWcdmaExt : public CBase

CMmPacketServiceGsmWcdmaExt contains mode specific packet service functionality for GSM/WCDMA Packet Data.

Inherits from

  • CMmPacketServiceGsmWcdmaExt
Public Member Functions
~CMmPacketServiceGsmWcdmaExt ()
TInt AttachL ()
void CompleteAttach ( TInt )
void CompleteDetachL ( TInt )
void CompleteDynamicCapsChange ( CMmDataPackage *)
void CompleteGetAttachMode ( CMmDataPackage *, TInt )
void CompleteGetNtwkRegStatus ( CMmDataPackage *, TInt )
void CompleteGetStaticCaps ( CMmDataPackage *, TInt )
void CompleteSetAttachMode (const TInt )
void CompleteSetDefaultContextParams ( TInt )
void CompleteSetPreferredBearer ( TInt )
void CompleteTransferCapsChange ( CMmDataPackage *)
TInt DetachL ()
TBool EGprsSupportInCell ()
TInt GetAttachModeL ()
TInt GetDefaultContextParams ( TPacketDataConfigBase *)
void GetDynamicCaps ( RPacketService::TDynamicCapsFlags *const )
TInt GetNtwkRegStatusL ()
void GetStaticCaps ( TUint *const )
CMmPacketServiceGsmWcdmaExt * NewL ( CMmPacketServiceTsy *const , MLtsyFactoryBase *)
TInt SetAttachModeL ( RPacketService::TAttachMode )
TInt SetDefaultContextParamsL (const TDataPackage &)
void SetDynamicCapsFlag (const RPacketService::TDynamicCapsFlags , const TBool )
void SetEdgeGprsSupport ( TBool )
TInt SetPreferredBearerL (const TDataPackage &)
Private Member Functions
CMmPacketServiceGsmWcdmaExt ()
void ConstructL ( MLtsyFactoryBase *)
void InitInternalAttributesL ( MLtsyFactoryBase *)
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()
Private Attributes
RPacketContext::TGSNAddress iAccessPointName
TBool iCsServicesIsSupportedOnCell
RPacketService::TDynamicCapsFlags iDynamicCaps
TBool iGprsIsSupportedOnCell
TBool iIsSetDefaultContextParamsCalled
TBool iLastEdgeGprsSupport
RPacketService::TStatus iLastTransferStatus
CMmPacketServiceTsy * iMmPacketServiceTsy
TUint iPdpCompression
RPacketContext::TProtocolType iPdpType
TUint iStaticCaps
RPacketContext::TGSNAddress iTempAccessPointName
TUint iTempPdpCompression
RPacketContext::TProtocolType iTempPdpType

Constructor & Destructor Documentation

CMmPacketServiceGsmWcdmaExt()

CMmPacketServiceGsmWcdmaExt ( ) [private]

C++ default constructor.

~CMmPacketServiceGsmWcdmaExt()

~CMmPacketServiceGsmWcdmaExt ( ) [virtual]

Default destructor.

Member Functions Documentation

AttachL()

TInt AttachL ( ) [virtual]

Attaches phone to the network.

CompleteAttach(TInt)

void CompleteAttach ( TInt aErrorValue ) const [virtual]

Completes attach phone to the network request.

Parameters

TInt aErrorValue error value for completion

CompleteDetachL(TInt)

void CompleteDetachL ( TInt aErrorValue ) const [virtual]

Completes detach phone to the network request.

Parameters

TInt aErrorValue error value for completion

CompleteDynamicCapsChange(CMmDataPackage *)

void CompleteDynamicCapsChange ( CMmDataPackage * aPackage )

Completes dynamic capabilities change to the service tsy.

Parameters

CMmDataPackage * aPackage contains required data

CompleteGetAttachMode(CMmDataPackage *, TInt)

void CompleteGetAttachMode ( CMmDataPackage * aDataPackage,
TInt aResult
) const

Completes Get Attach Mode request.

Parameters

CMmDataPackage * aDataPackage contains request related data
TInt aResult

CompleteGetNtwkRegStatus(CMmDataPackage *, TInt)

void CompleteGetNtwkRegStatus ( CMmDataPackage * aDataPackage,
TInt aResult
)

Completes network registration status request.

Parameters

CMmDataPackage * aDataPackage
TInt aResult result value for completion

CompleteGetStaticCaps(CMmDataPackage *, TInt)

void CompleteGetStaticCaps ( CMmDataPackage * aPackage,
TInt aError
)

Completes get capabilities during to the service tsy startup.

Parameters

CMmDataPackage * aPackage contains required data
TInt aError

CompleteSetAttachMode(const TInt)

void CompleteSetAttachMode ( const TInt aErrorValue ) const

Completes Set Attach Mode request.

Parameters

const TInt aErrorValue for completion

CompleteSetDefaultContextParams(TInt)

void CompleteSetDefaultContextParams ( TInt aErrorCause )

Completes call SetDefaultContextParameters.

Parameters

TInt aErrorCause error value

CompleteSetPreferredBearer(TInt)

void CompleteSetPreferredBearer ( TInt aErrorValue ) const

Completes Set Preferred Bearer

Parameters

TInt aErrorValue error value for completion

CompleteTransferCapsChange(CMmDataPackage *)

void CompleteTransferCapsChange ( CMmDataPackage * aPackage )

Completes transfer capabilities change to the service tsy.

Parameters

CMmDataPackage * aPackage contains required data

ConstructL(MLtsyFactoryBase *)

void ConstructL ( MLtsyFactoryBase * aFactory ) [private]

Second phase constructor of CMmPacketServiceGsmWcdmaExt .

Parameters

MLtsyFactoryBase * aFactory pointer to Ltsy factory base

DetachL()

TInt DetachL ( ) [virtual]

Detaches phone to the network.

EGprsSupportInCell()

TBool EGprsSupportInCell ( ) [virtual]

Returns EGprs support in cell

GetAttachModeL()

TInt GetAttachModeL ( ) [virtual]

Gets Attach Mode from the DOS.

GetDefaultContextParams(TPacketDataConfigBase *)

TInt GetDefaultContextParams ( TPacketDataConfigBase * aContextConfig )

Gets default parameters of dial-up context.

Parameters

TPacketDataConfigBase * aContextConfig pointer to context configuration data

GetDynamicCaps(RPacketService::TDynamicCapsFlags *const)

void GetDynamicCaps ( RPacketService::TDynamicCapsFlags *const aCaps ) const [virtual]

Gets gsm/wcdma specific dynamic capabilities of the phone.

Parameters

RPacketService::TDynamicCapsFlags *const aCaps pointer to dynamic capabilities

GetNtwkRegStatusL()

TInt GetNtwkRegStatusL ( ) [virtual]

Network registration status request to the network.

GetStaticCaps(TUint *const)

void GetStaticCaps ( TUint *const aCaps ) const [virtual]

Gets gsm/wcdma specific static capabilities of the phone.

Parameters

TUint *const aCaps in which static caps is included

InitInternalAttributesL(MLtsyFactoryBase *)

void InitInternalAttributesL ( MLtsyFactoryBase * aFactory ) [private]

Initialise internal attributes.

Parameters

MLtsyFactoryBase * aFactory pointer to Ltsy factory base

NewL(CMmPacketServiceTsy *const, MLtsyFactoryBase *)

CMmPacketServiceGsmWcdmaExt * NewL ( CMmPacketServiceTsy *const aMmPacketServiceTsy,
MLtsyFactoryBase * aFactory
) [static]

Two-phased constructor.

Parameters

CMmPacketServiceTsy *const aMmPacketServiceTsy pointer to ServiceTsy
MLtsyFactoryBase * aFactory pointer to Ltsy factory base

SetAttachModeL(RPacketService::TAttachMode)

TInt SetAttachModeL ( RPacketService::TAttachMode aMode ) [virtual]

Sets Attach Mode to the DOS.

Parameters

RPacketService::TAttachMode aMode includes request related data

SetDefaultContextParamsL(const TDataPackage &)

TInt SetDefaultContextParamsL ( const TDataPackage & aPackage )

Sets default parameters for a dial-up context.

Parameters

const TDataPackage & aPackage request related data

SetDynamicCapsFlag(const RPacketService::TDynamicCapsFlags, const TBool)

void SetDynamicCapsFlag ( const RPacketService::TDynamicCapsFlags aFlag,
const TBool aIsActionPossible
) [virtual]

Sets dynamic capabilities to the service tsy.

Parameters

const RPacketService::TDynamicCapsFlags aFlag flag to be changed
const TBool aIsActionPossible default value ETrue defines if Set is possible to do

SetEdgeGprsSupport(TBool)

void SetEdgeGprsSupport ( TBool aLastEdgeGprsSupport )

Sets iLastEdgeSupport

Parameters

TBool aLastEdgeGprsSupport

SetPreferredBearerL(const TDataPackage &)

TInt SetPreferredBearerL ( const TDataPackage & aPackage ) [virtual]

Sets Preferred Bearer to the DOS.

Parameters

const TDataPackage & aPackage includes request related data

Member Data Documentation

RPacketContext::TGSNAddress iAccessPointName

RPacketContext::TGSNAddress iAccessPointName [private]

SetContextDefaultParameter access point name

TBool iCsServicesIsSupportedOnCell

TBool iCsServicesIsSupportedOnCell [private]

Last info of circuit switch services availability from DOS

RPacketService::TDynamicCapsFlags iDynamicCaps

RPacketService::TDynamicCapsFlags iDynamicCaps [private]

Dynamic capabilities of gsm/wcdma extension

TBool iGprsIsSupportedOnCell

TBool iGprsIsSupportedOnCell [private]

Last info of gprs support in current cell from DOS

TBool iIsSetDefaultContextParamsCalled

TBool iIsSetDefaultContextParamsCalled [private]

Is set default context params method called

TBool iLastEdgeGprsSupport

TBool iLastEdgeGprsSupport [private]

Is edge gprs supported

RPacketService::TStatus iLastTransferStatus

RPacketService::TStatus iLastTransferStatus [private]

Last status received from DOS

CMmPacketServiceTsy * iMmPacketServiceTsy

CMmPacketServiceTsy * iMmPacketServiceTsy [private]

Pointer to the packet service tsy Not own.

TUint iPdpCompression

TUint iPdpCompression [private]

SetContextDefaultParameter pdp compressions

RPacketContext::TProtocolType iPdpType

RPacketContext::TProtocolType iPdpType [private]

Client side Pdp Type

TUint iStaticCaps

TUint iStaticCaps [private]

Static capabilities of gsm/wcdma extension

RPacketContext::TGSNAddress iTempAccessPointName

RPacketContext::TGSNAddress iTempAccessPointName [private]

SetContextDefaultParameter temporary access point name

TUint iTempPdpCompression

TUint iTempPdpCompression [private]

SetContextDefaultParameter temporary pdp compressions

RPacketContext::TProtocolType iTempPdpType

RPacketContext::TProtocolType iTempPdpType [private]

Client side temporary Pdp Type