CMmTsyBase Class Reference

class CMmTsyBase : public CSubSessionExtBase

CMmTsyBase contains functionality common to all TSY objects. It also provides default implementations to some of the virtual functions.

Public Member Functions
CMmTsyBase ()
~CMmTsyBase ()
TInt CancelService (const TInt , const TTsyReqHandle )
void Complete ( TInt , TInt , TInt )
TInt DeregisterNotification (const TInt )
TInt DoBaseExtFuncL (const TTsyReqHandle , const TInt , const TDataPackage &)
TInt GetMaxNumberOfSubsystems ()
CMmSubTsyBase ** GetSubsystemArrayPtr ()
void Init ()
TInt NumberOfSlotsL (const TInt )
CTelObject * OpenNewObjectByNameL (const TDesC &)
CTelObject * OpenNewObjectL ( TDes &)
TInt RegisterNotification (const TInt )
CTelObject::TReqMode ReqModeL (const TInt )
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()

Constructor & Destructor Documentation

CMmTsyBase()

CMmTsyBase ( )

Constructor

~CMmTsyBase()

~CMmTsyBase ( ) [virtual]

Destructor

Member Functions Documentation

CancelService(const TInt, const TTsyReqHandle)

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

Cancels request of which IPC number and request handle are given in parameters.

Parameters

const TInt anIpc an interprocess communication command identifier
const TTsyReqHandle aTsyReqHandle Request handle

Complete(TInt, TInt, TInt)

void Complete ( TInt aReqHandleType,
TInt aError,
TInt aIPC
) [virtual]

Calls the needed complete method due timer expiration

Parameters

TInt aReqHandleType req handle type.
TInt aError error value
TInt aIPC IPC value

DeregisterNotification(const TInt)

TInt DeregisterNotification ( const TInt anIpc ) [virtual]

Deregister given notification.

Parameters

const TInt anIpc

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

TInt DoBaseExtFuncL ( const TTsyReqHandle aTsyReqHandle,
const TInt anIpc,
const TDataPackage & aPackage
) [virtual]

Handles extended client requests. Uses TRAP to ensure functioning on memory allocation failure.

Parameters

const TTsyReqHandle aTsyReqHandle Request handle
const TInt anIpc
const TDataPackage & aPackage reference to a data package

GetMaxNumberOfSubsystems()

TInt GetMaxNumberOfSubsystems ( ) [pure virtual]

Gives the maximun number of TSY's subsystems.

GetSubsystemArrayPtr()

CMmSubTsyBase ** GetSubsystemArrayPtr ( ) [pure virtual]

Gives pointer to the array of TSY's subsystems.

Init()

void Init ( ) [virtual]

Initialisation method

NumberOfSlotsL(const TInt)

TInt NumberOfSlotsL ( const TInt anIpc ) [virtual]

Returns number of slots to be used for given IPC.

Parameters

const TInt anIpc an interprocess communication command identifier

OpenNewObjectByNameL(const TDesC &)

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

New instances are created by given name. By default: not supported and should never be called. Leaves.

Parameters

const TDesC & aName a name

OpenNewObjectL(TDes &)

CTelObject * OpenNewObjectL ( TDes & aNewName ) [virtual]

New instances are created by given name. By default: not supported and should never be called. Leaves.

Parameters

TDes & aNewName a name

RegisterNotification(const TInt)

TInt RegisterNotification ( const TInt anIpc ) [virtual]

Register given notification.

Parameters

const TInt anIpc

ReqModeL(const TInt)

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

Returns request mode for given IPC number.

Parameters

const TInt anIpc an interprocess communication command identifier