CMmPacketQoSTsy Class Reference

class CMmPacketQoSTsy : public CSubSessionExtBase

CMmPacketQoSTsy contains GPRS QoS related functionality.

Inherits from

Public Member Functions
~CMmPacketQoSTsy()
TInt CancelService(const TInt, const TTsyReqHandle)
voidComplete(const TInt, const TInt)
voidCompleteNotifyProfileChanged()
voidCompleteSetProfileParameters(const TInt)
TInt DeregisterNotification(const TInt)
TInt ExtFunc(const TTsyReqHandle, const TInt, const TDataPackage &)
voidInit()
CMmPacketQoSTsy *NewL(CMmPacketServiceTsy *, CMmPacketContextTsy *)
TInt NumberOfSlotsL(const TInt)
CTelObject *OpenNewObjectByNameL(const TDesC &)
CTelObject *OpenNewObjectL(TDes &)
CMmPacketContextTsy *PacketContextTsy()
CMmPacketQoSGsmWcdmaExt *PacketQoSGsmWcdmaExt()
TInt RegisterNotification(const TInt)
CTelObject::TReqModeReqModeL(const TInt)
Private Member Functions
CMmPacketQoSTsy()
voidConstructL()
TInt DoExtFuncL(const TTsyReqHandle, const TInt, const TDataPackage &)
TInt GetProfileCapabilities(const TTsyReqHandle, TDes8 *)
TInt GetProfileParameters(const TTsyReqHandle, TDes8 *)
voidInitExtensionModulesL()
TInt NotifyProfileChanged(TDes8 *)
TInt SetProfileParametersL(const TTsyReqHandle, TDes8 *)
voidSetTypeOfResponse(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
enumTPacketQoSRequestTypes { 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 TIntaIpc,
const TTsyReqHandleaTsyReqHandle
)[virtual]

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

Parameters

const TInt aIpcIPC number of request
const TTsyReqHandle aTsyReqHandleRequest handle of given request

Complete(const TInt, const TInt)

voidComplete(const TIntaReqHandleType,
const TIntaError
)

Calls the needed complete method due timer expiration

Parameters

const TInt aReqHandleType
const TInt aError

CompleteNotifyProfileChanged()

voidCompleteNotifyProfileChanged()[virtual]

Complete Notify Profile Changed

CompleteSetProfileParameters(const TInt)

voidCompleteSetProfileParameters(const TIntaError)[virtual]

Complete Set Profile Parameters

Parameters

const TInt aErrorCompletion value

ConstructL()

voidConstructL()[private]

Class attributes are created in ConstructL.

DeregisterNotification(const TInt)

TInt DeregisterNotification(const TIntaIpc)[virtual]

Deregister given notification

Parameters

const TInt aIpcIPC number of request

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

TInt DoExtFuncL(const TTsyReqHandleaTsyReqHandle,
const TIntaIpc,
const TDataPackage &aPackage
)[private]

Handles extended client requests.

Parameters

const TTsyReqHandle aTsyReqHandleRequest handle of given request
const TInt aIpcIPC number of request
const TDataPackage & aPackagedatapackage contains request related data

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

TInt ExtFunc(const TTsyReqHandleaTsyReqHandle,
const TIntaIpc,
const TDataPackage &aPackage
)[virtual]

Handles extended client requests

Parameters

const TTsyReqHandle aTsyReqHandle
const TInt aIpcIPC number of request
const TDataPackage & aPackageData Package contains request related data

GetProfileCapabilities(const TTsyReqHandle, TDes8 *)

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

Get Profile Capabilities

Parameters

const TTsyReqHandle aTsyReqHandleRequest handle of given request
TDes8 * aProfileCapsProfile capabilities

GetProfileParameters(const TTsyReqHandle, TDes8 *)

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

Get Profile Parameters

Parameters

const TTsyReqHandle aTsyReqHandleTsy request handle
TDes8 * aProfilePointer to data

Init()

voidInit()[virtual]

Initialisation method that is called from ETel Server.

InitExtensionModulesL()

voidInitExtensionModulesL()[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 * aMmPacketServicepointer to PacketService
CMmPacketContextTsy * aMmPacketContextpointer to PacketContext

NotifyProfileChanged(TDes8 *)

TInt NotifyProfileChanged(TDes8 *aProfile)[private]

Notify Profile Changed

Parameters

TDes8 * aProfilePointer to data

NumberOfSlotsL(const TInt)

TInt NumberOfSlotsL(const TIntaIpc)[virtual]

Returns number of slots to be used for given IPC

Parameters

const TInt aIpcIPC number of request

OpenNewObjectByNameL(const TDesC &)

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

Returns a pointer to object if it exists

Parameters

const TDesC & aNameA 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 & aNewNamea 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 TIntaIpc)[virtual]

Register given notification

Parameters

const TInt aIpcIPC number of request

ReqModeL(const TInt)

CTelObject::TReqModeReqModeL(const TIntaIpc)[virtual]

Returns request mode for given IPC number

Parameters

const TInt aIpcIPC number of request

SetProfileParametersL(const TTsyReqHandle, TDes8 *)

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

Set Profile Parameters

Parameters

const TTsyReqHandle aTsyReqHandleTsy request handle
TDes8 * aProfilePointer to data

SetTypeOfResponse(const TInt, const TTsyReqHandle)

voidSetTypeOfResponse(const TIntaReqHandleType,
const TTsyReqHandleaTsyReqHandle
)[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.