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)
voidComplete(TInt, TInt, TInt)
TInt DeregisterNotification(const TInt)
TInt DoBaseExtFuncL(const TTsyReqHandle, const TInt, const TDataPackage &)
TInt GetMaxNumberOfSubsystems()
CMmSubTsyBase **GetSubsystemArrayPtr()
voidInit()
TInt NumberOfSlotsL(const TInt)
CTelObject *OpenNewObjectByNameL(const TDesC &)
CTelObject *OpenNewObjectL(TDes &)
TInt RegisterNotification(const TInt)
CTelObject::TReqModeReqModeL(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 TIntanIpc,
const TTsyReqHandleaTsyReqHandle
)[virtual]

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

Parameters

const TInt anIpcan interprocess communication command identifier
const TTsyReqHandle aTsyReqHandleRequest handle

Complete(TInt, TInt, TInt)

voidComplete(TIntaReqHandleType,
TIntaError,
TIntaIPC
)[virtual]

Calls the needed complete method due timer expiration

Parameters

TInt aReqHandleTypereq handle type.
TInt aErrorerror value
TInt aIPCIPC value

DeregisterNotification(const TInt)

TInt DeregisterNotification(const TIntanIpc)[virtual]

Deregister given notification.

Parameters

const TInt anIpc

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

TInt DoBaseExtFuncL(const TTsyReqHandleaTsyReqHandle,
const TIntanIpc,
const TDataPackage &aPackage
)[virtual]

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

Parameters

const TTsyReqHandle aTsyReqHandleRequest handle
const TInt anIpc
const TDataPackage & aPackagereference 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()

voidInit()[virtual]

Initialisation method

NumberOfSlotsL(const TInt)

TInt NumberOfSlotsL(const TIntanIpc)[virtual]

Returns number of slots to be used for given IPC.

Parameters

const TInt anIpcan 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 & aNamea 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 & aNewNamea name

RegisterNotification(const TInt)

TInt RegisterNotification(const TIntanIpc)[virtual]

Register given notification.

Parameters

const TInt anIpc

ReqModeL(const TInt)

CTelObject::TReqModeReqModeL(const TIntanIpc)[virtual]

Returns request mode for given IPC number.

Parameters

const TInt anIpcan interprocess communication command identifier