CMmPacketQoSTsy Class Reference

class CMmPacketQoSTsy : public CSubSessionExtBase

CMmPacketQoSTsy contains GPRS QoS related functionality.

Public Member Functions
~CMmPacketQoSTsy ()
TInt CancelService (const TInt , const TTsyReqHandle )
void Complete (const TInt , const TInt )
void CompleteNotifyProfileChanged ()
void CompleteSetProfileParameters (const TInt )
TInt DeregisterNotification (const TInt )
TInt ExtFunc (const TTsyReqHandle , const TInt , const TDataPackage &)
void Init ()
CMmPacketQoSTsy * NewL ( CMmPacketServiceTsy *, CMmPacketContextTsy *)
TInt NumberOfSlotsL (const TInt )
CTelObject * OpenNewObjectByNameL (const TDesC &)
CTelObject * OpenNewObjectL ( TDes &)
CMmPacketContextTsy * PacketContextTsy ()
CMmPacketQoSGsmWcdmaExt * PacketQoSGsmWcdmaExt ()
TInt RegisterNotification (const TInt )
CTelObject::TReqMode ReqModeL (const TInt )
Private Member Functions
CMmPacketQoSTsy ()
void ConstructL ()
TInt DoExtFuncL (const TTsyReqHandle , const TInt , const TDataPackage &)
TInt GetProfileCapabilities (const TTsyReqHandle , TDes8 *)
TInt GetProfileParameters (const TTsyReqHandle , TDes8 *)
void InitExtensionModulesL ()
TInt NotifyProfileChanged ( TDes8 *)
TInt SetProfileParametersL (const TTsyReqHandle , TDes8 *)
void SetTypeOfResponse (const TInt , const TTsyReqHandle )
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
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()
CObject::AccessCount()const
CObject::CObject()
CObject::Close()
CObject::Dec()
CObject::Extension_(TUint,TAny *&,TAny *)
CObject::FullName()const
CObject::Name()const
CObject::Open()
CObject::Owner()const
CObject::SetName(const TDesC *)
CObject::SetNameL(const TDesC *)
CObject::SetOwner(CObject *)
CObject::UniqueID()const
CObject::~CObject()
CSubSessionExtBase::CSubSessionExtBase()
CSubSessionExtBase::CloseSubSessionPreProcessing(CTelSession *,const TInt)
CSubSessionExtBase::GlobalKernelObjectHandle()
CSubSessionExtBase::NullMethod1()
CSubSessionExtBase::OpenPostProcessing(CTelSession *,const )
CSubSessionExtBase::Service(const RMessage2 &,CReqEntry *)
CSubSessionExtBase::ServiceExtFunc(const RMessage2 &,CReqEntry *)
CSubSessionExtBase::~CSubSessionExtBase()
CTelObject::BufferDes1(const CBuffer *,CBuffer::TWhichSlot)const
CTelObject::BufferDes1u(const CBuffer *,CBuffer::TWhichSlot)const
CTelObject::BufferDes2(const CBuffer *,CBuffer::TWhichSlot)const
CTelObject::BufferDes2u(const CBuffer *,CBuffer::TWhichSlot)const
CTelObject::CTelObject()
CTelObject::CancelSubSession(CTelSession *,const TInt)
CTelObject::CheckAndDestroyDummySubSession()
CTelObject::CreateDummySession(CTelSession *,const TInt,TBool)
CTelObject::CreateDummySessionObjectL(CTelSession *)
CTelObject::DownCallOption(const TInt,TAny *)
CTelObject::FlowControlResume()
CTelObject::FlowControlSuspend()
CTelObject::FlushReqs(CTelSession *,const TInt)
CTelObject::GeneralReq(const RMessage2 &,CTelSession *,CReqEntry *,TBool)
CTelObject::GetRequiredPlatSecCaps(const TInt)
CTelObject::IsPriorityClientReq(TInt)const
CTelObject::PhoneOwner()const
CTelObject::Ptr1(const TDes8 *)const
CTelObject::RemoveDummySubSessionDestroyer()
CTelObject::ReqCompleted(const TTsyReqHandle,const TInt)
CTelObject::ResolveError(CTelSession *,const TInt)const
CTelObject::ServerVersion()const
CTelObject::SetPhoneOwner(CPhoneBase *)
CTelObject::TelObjectClose()
CTelObject::UpCallOption(const TInt,TAny *)
CTelObject::UpdateAndCompleteIfNecessary(CReqEntry *,TInt)const
CTelObject::WriteBackAndCompleteBufferedReq(const RMessage2 &,CReqEntry *,TInt)const
CTelObject::WriteBackAndCompleteReq(CReqEntry *,const TInt)const
CTelObject::~CTelObject()
Public Member Enumerations
enum TPacketQoSRequestTypes { EMultimodePacketQoSReqHandleUnknown , EMultimodePacketQoSNotifyParameterChanged , EMultimodePacketQoSSetProfileParameters , EMaxNumOfPacketQoSRequests }
Private Attributes
CMmPacketContextTsy * iMmPacketContext
CMmPacketQoSGsmWcdmaExt * iMmPacketQoSGsmWcdmaExt
CMmPacketServiceTsy * iMmPacketService
TTsyReqHandle iPacketQoSReqHandles
TPacketQoSRequestTypes iReqHandleType
CMmTsyReqHandleStore * iTsyReqHandleStore

Constructor & Destructor Documentation

CMmPacketQoSTsy()

CMmPacketQoSTsy ( ) [private]

C++ default constructor

~CMmPacketQoSTsy()

~CMmPacketQoSTsy ( )

Destructor

Member Functions Documentation

CancelService(const TInt, const TTsyReqHandle)

TInt CancelService ( const TInt aIpc,
const TTsyReqHandle aTsyReqHandle
) [virtual]

Cancels request that's IPC number and request handle are given in parameters

Parameters

const TInt aIpc IPC number of request
const TTsyReqHandle aTsyReqHandle Request handle of given request

Complete(const TInt, const TInt)

void Complete ( const TInt aReqHandleType,
const TInt aError
)

Calls the needed complete method due timer expiration

Parameters

const TInt aReqHandleType
const TInt aError

CompleteNotifyProfileChanged()

void CompleteNotifyProfileChanged ( ) [virtual]

Complete Notify Profile Changed

CompleteSetProfileParameters(const TInt)

void CompleteSetProfileParameters ( const TInt aError ) [virtual]

Complete Set Profile Parameters

Parameters

const TInt aError Completion value

ConstructL()

void ConstructL ( ) [private]

Class attributes are created in ConstructL.

DeregisterNotification(const TInt)

TInt DeregisterNotification ( const TInt aIpc ) [virtual]

Deregister given notification

Parameters

const TInt aIpc IPC number of request

DoExtFuncL(const TTsyReqHandle, const TInt, const TDataPackage &)

TInt DoExtFuncL ( const TTsyReqHandle aTsyReqHandle,
const TInt aIpc,
const TDataPackage & aPackage
) [private]

Handles extended client requests.

Parameters

const TTsyReqHandle aTsyReqHandle Request handle of given request
const TInt aIpc IPC number of request
const TDataPackage & aPackage datapackage contains request related data

ExtFunc(const TTsyReqHandle, const TInt, const TDataPackage &)

TInt ExtFunc ( const TTsyReqHandle aTsyReqHandle,
const TInt aIpc,
const TDataPackage & aPackage
) [virtual]

Handles extended client requests

Parameters

const TTsyReqHandle aTsyReqHandle
const TInt aIpc IPC number of request
const TDataPackage & aPackage Data Package contains request related data

GetProfileCapabilities(const TTsyReqHandle, TDes8 *)

TInt GetProfileCapabilities ( const TTsyReqHandle aTsyReqHandle,
TDes8 * aProfileCaps
) [private]

Get Profile Capabilities

Parameters

const TTsyReqHandle aTsyReqHandle Request handle of given request
TDes8 * aProfileCaps Profile capabilities

GetProfileParameters(const TTsyReqHandle, TDes8 *)

TInt GetProfileParameters ( const TTsyReqHandle aTsyReqHandle,
TDes8 * aProfile
) [private]

Get Profile Parameters

Parameters

const TTsyReqHandle aTsyReqHandle Tsy request handle
TDes8 * aProfile Pointer to data

Init()

void Init ( ) [virtual]

Initialisation method that is called from ETel Server.

InitExtensionModulesL()

void InitExtensionModulesL ( ) [private]

Initialises extension modules

NewL(CMmPacketServiceTsy *, CMmPacketContextTsy *)

CMmPacketQoSTsy * NewL ( CMmPacketServiceTsy * aMmPacketService,
CMmPacketContextTsy * aMmPacketContext
) [static]

NewL method is used to create a new instance of class

Parameters

CMmPacketServiceTsy * aMmPacketService pointer to PacketService
CMmPacketContextTsy * aMmPacketContext pointer to PacketContext

NotifyProfileChanged(TDes8 *)

TInt NotifyProfileChanged ( TDes8 * aProfile ) [private]

Notify Profile Changed

Parameters

TDes8 * aProfile Pointer to data

NumberOfSlotsL(const TInt)

TInt NumberOfSlotsL ( const TInt aIpc ) [virtual]

Returns number of slots to be used for given IPC

Parameters

const TInt aIpc IPC number of request

OpenNewObjectByNameL(const TDesC &)

CTelObject * OpenNewObjectByNameL ( const TDesC & aName ) [virtual]

Returns a pointer to object if it exists

Parameters

const TDesC & aName A name of the object to be created, not used

OpenNewObjectL(TDes &)

CTelObject * OpenNewObjectL ( TDes & aNewName ) [virtual]

Creates new object and returns a pointer to it

Parameters

TDes & aNewName a name of the object to be created

PacketContextTsy()

CMmPacketContextTsy * PacketContextTsy ( ) [virtual]

Return a pointer to CMmPacketContextTsy

PacketQoSGsmWcdmaExt()

CMmPacketQoSGsmWcdmaExt * PacketQoSGsmWcdmaExt ( ) [virtual]

Return pointer to the PacketQoSGsmWcdmaExt

RegisterNotification(const TInt)

TInt RegisterNotification ( const TInt aIpc ) [virtual]

Register given notification

Parameters

const TInt aIpc IPC number of request

ReqModeL(const TInt)

CTelObject::TReqMode ReqModeL ( const TInt aIpc ) [virtual]

Returns request mode for given IPC number

Parameters

const TInt aIpc IPC number of request

SetProfileParametersL(const TTsyReqHandle, TDes8 *)

TInt SetProfileParametersL ( const TTsyReqHandle aTsyReqHandle,
TDes8 * aProfile
) [private]

Set Profile Parameters

Parameters

const TTsyReqHandle aTsyReqHandle Tsy request handle
TDes8 * aProfile Pointer to data

SetTypeOfResponse(const TInt, const TTsyReqHandle)

void SetTypeOfResponse ( const TInt aReqHandleType,
const TTsyReqHandle aTsyReqHandle
) [private]

Chooses the type of response, automatic or common

Parameters

const TInt aReqHandleType
const TTsyReqHandle aTsyReqHandle

Member Enumerations Documentation

Enum TPacketQoSRequestTypes

Enumerators

EMultimodePacketQoSReqHandleUnknown
EMultimodePacketQoSNotifyParameterChanged
EMultimodePacketQoSSetProfileParameters
EMaxNumOfPacketQoSRequests

Member Data Documentation

CMmPacketContextTsy * iMmPacketContext

CMmPacketContextTsy * iMmPacketContext [private]

A pointer to the Packet Context Not own.

CMmPacketQoSGsmWcdmaExt * iMmPacketQoSGsmWcdmaExt

CMmPacketQoSGsmWcdmaExt * iMmPacketQoSGsmWcdmaExt [private]

A pointer to the PacketQoSGsmWcdmaExt Own.

CMmPacketServiceTsy * iMmPacketService

CMmPacketServiceTsy * iMmPacketService [private]

A pointer to the Packet Service TSY Not own.

TTsyReqHandle iPacketQoSReqHandles

TTsyReqHandle iPacketQoSReqHandles [private]

A table for packet context request handles

TPacketQoSRequestTypes iReqHandleType

TPacketQoSRequestTypes iReqHandleType [private]

QoS Request Handle Type

CMmTsyReqHandleStore * iTsyReqHandleStore

CMmTsyReqHandleStore * iTsyReqHandleStore [private]

A pointer to the tsy req handle store Own.