CPhoneBase Class Reference

class CPhoneBase : public CSubSessionExtBase
Public Member Functions
CPhoneBase()
~CPhoneBase()
CReqEntry *ActivateNextWaitingReq()
voidAddReqToActive(CReqEntry *)
voidAddReqToWaiting(CReqEntry *)
IMPORT_C TIntCancelService(const TInt, const TTsyReqHandle)
voidCheckAndCompleteAllActive(CReqEntry *, const TReqMode, const TInt, const TInt)
IMPORT_C TBoolCheckEmergencyClient(const TTsyReqHandle)
CReqEntry *FindByIpcAndTelObject(const TInt, const CTelObject *, const TUint)
CReqEntry *FindByIpcAndTelObjectInWaiting(const TInt, const CTelObject *, const TUint)
CReqEntry *FindByTsyHandle(const TTsyReqHandle)
CReqEntry *FindByTsyHandleAndPlacedRequest(const TTsyReqHandle)
CReqEntry *FindClientInActive(CTelSession *, const TInt, const TInt)
CReqEntry *FindClientInWaiting(CTelSession *, const TInt, const TInt)
CReqEntry *FindClientReqInWaitList(CTelSession *, const TInt)
CReqEntry *FindNonCancelledClientReq(CTelSession *, const TInt, const TInt)
CReqEntry *FindSameClientEntry(CTelSession *, const TInt, const TInt)
CReqEntry *FindThisReqByAnotherClient(CTelSession *, const TInt, const TInt, const TUint, const CTelObject *)
TInt FlowControl()
voidFlowControlDec()
voidFlowControlInc()
CReqEntry *NewReqL(const RMessage2 &, CTelSession *, CBuffer *, const CTelObject *, TInt)
IMPORT_C TIntNumberOfSlotsL(const TInt)
TDblQue< CReqEntry > &ReqActiveList()
IMPORT_C TReqModeReqModeL(const TInt)
voidUpdateBuffer(CReqEntry *, CReqEntry *)
Private Member Functions
IMPORT_C voidCloseSubSessionPreProcessing(CTelSession *, const TInt)
IMPORT_C voidOpenPostProcessing(CTelSession *, const TInt)
IMPORT_C TIntService(const RMessage2 &, CReqEntry *)
TTsyReqHandle TsyReqHandle()
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::GlobalKernelObjectHandle()
CSubSessionExtBase::NullMethod1()
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()
Private Attributes
TInt iFlowControlCnt
TDblQue< CReqEntry >iReqActiveList
TDblQue< CReqEntry >iReqWaitList
TInt iTsyReqHandleCnt

Constructor & Destructor Documentation

CPhoneBase()

IMPORT_CCPhoneBase()

~CPhoneBase()

IMPORT_C~CPhoneBase()[virtual]

Member Functions Documentation

ActivateNextWaitingReq()

CReqEntry *ActivateNextWaitingReq()

AddReqToActive(CReqEntry *)

voidAddReqToActive(CReqEntry *aReqEntry)

Parameters

CReqEntry * aReqEntry

AddReqToWaiting(CReqEntry *)

voidAddReqToWaiting(CReqEntry *aReqEntry)

Parameters

CReqEntry * aReqEntry

CancelService(const TInt, const TTsyReqHandle)

IMPORT_C TIntCancelService(const TIntaIpc,
const TTsyReqHandleaTsyReqHandle
)[virtual]

Parameters

const TInt aIpc
const TTsyReqHandle aTsyReqHandle

CheckAndCompleteAllActive(CReqEntry *, const TReqMode, const TInt, const TInt)

voidCheckAndCompleteAllActive(CReqEntry *aUpdatedReqEntry,
const TReqModeaReqMode,
const TIntaIpc,
const TIntaError
)

Parameters

CReqEntry * aUpdatedReqEntry
const TReqMode aReqMode
const TInt aIpc
const TInt aError

CheckEmergencyClient(const TTsyReqHandle)

IMPORT_C TBoolCheckEmergencyClient(const TTsyReqHandleaTsyReqHandle)const

Parameters

const TTsyReqHandle aTsyReqHandle

CloseSubSessionPreProcessing(CTelSession *, const TInt)

IMPORT_C voidCloseSubSessionPreProcessing(CTelSession *aSession,
const TIntaSubSessionHandle
)[private, virtual]

Parameters

CTelSession * aSession
const TInt aSubSessionHandle

FindByIpcAndTelObject(const TInt, const CTelObject *, const TUint)

CReqEntry *FindByIpcAndTelObject(const TIntaIpc,
const CTelObject *aTelObject,
const TUintaBufSize
)

Parameters

const TInt aIpc
const CTelObject * aTelObject
const TUint aBufSize

FindByIpcAndTelObjectInWaiting(const TInt, const CTelObject *, const TUint)

CReqEntry *FindByIpcAndTelObjectInWaiting(const TIntaIpc,
const CTelObject *aTelObject,
const TUintaBufSize
)

Parameters

const TInt aIpc
const CTelObject * aTelObject
const TUint aBufSize

FindByTsyHandle(const TTsyReqHandle)

CReqEntry *FindByTsyHandle(const TTsyReqHandleaTsyReqHandle)

Parameters

const TTsyReqHandle aTsyReqHandle

FindByTsyHandleAndPlacedRequest(const TTsyReqHandle)

CReqEntry *FindByTsyHandleAndPlacedRequest(const TTsyReqHandleaTsyReqHandle)

Parameters

const TTsyReqHandle aTsyReqHandle

FindClientInActive(CTelSession *, const TInt, const TInt)

CReqEntry *FindClientInActive(CTelSession *aSession,
const TIntaSubSessionHandle,
const TIntaIpc
)

Parameters

CTelSession * aSession
const TInt aSubSessionHandle
const TInt aIpc

FindClientInWaiting(CTelSession *, const TInt, const TInt)

CReqEntry *FindClientInWaiting(CTelSession *aSession,
const TIntaSubSessionHandle,
const TIntaIpc
)

Parameters

CTelSession * aSession
const TInt aSubSessionHandle
const TInt aIpc

FindClientReqInWaitList(CTelSession *, const TInt)

CReqEntry *FindClientReqInWaitList(CTelSession *aSession,
const TIntaSubSessionHandle
)

Parameters

CTelSession * aSession
const TInt aSubSessionHandle

FindNonCancelledClientReq(CTelSession *, const TInt, const TInt)

CReqEntry *FindNonCancelledClientReq(CTelSession *aSession,
const TIntaSubSessionHandle,
const TIntaIpc
)

Parameters

CTelSession * aSession
const TInt aSubSessionHandle
const TInt aIpc

FindSameClientEntry(CTelSession *, const TInt, const TInt)

CReqEntry *FindSameClientEntry(CTelSession *aSession,
const TIntaSubSessionHandle,
const TIntaIpc
)

Parameters

CTelSession * aSession
const TInt aSubSessionHandle
const TInt aIpc

FindThisReqByAnotherClient(CTelSession *, const TInt, const TInt, const TUint, const CTelObject *)

CReqEntry *FindThisReqByAnotherClient(CTelSession *aSession,
const TIntaSubSessionHandle,
const TIntaIpc,
const TUintaBufSize,
const CTelObject *aThisTelObject
)

Parameters

CTelSession * aSession
const TInt aSubSessionHandle
const TInt aIpc
const TUint aBufSize
const CTelObject * aThisTelObject

FlowControl()

TInt FlowControl()const

FlowControlDec()

voidFlowControlDec()

FlowControlInc()

voidFlowControlInc()

NewReqL(const RMessage2 &, CTelSession *, CBuffer *, const CTelObject *, TInt)

CReqEntry *NewReqL(const RMessage2 &aMessage,
CTelSession *aSession,
CBuffer *aBuffer,
const CTelObject *aTelObject,
TIntaFunction
)

Parameters

const RMessage2 & aMessage
CTelSession * aSession
CBuffer * aBuffer
const CTelObject * aTelObject
TInt aFunction

NumberOfSlotsL(const TInt)

IMPORT_C TIntNumberOfSlotsL(const TIntaIpc)[virtual]

Parameters

const TInt aIpc

OpenPostProcessing(CTelSession *, const TInt)

IMPORT_C voidOpenPostProcessing(CTelSession *aSession,
const TIntaSubSessionHandle
)[private, virtual]

Parameters

CTelSession * aSession
const TInt aSubSessionHandle

ReqActiveList()

TDblQue< CReqEntry > &ReqActiveList()

ReqModeL(const TInt)

IMPORT_C TReqModeReqModeL(const TIntaIpc)[virtual]

Parameters

const TInt aIpc

Service(const RMessage2 &, CReqEntry *)

IMPORT_C TIntService(const RMessage2 &aMessage,
CReqEntry *aReqEntry
)[private, virtual]

Parameters

const RMessage2 & aMessage
CReqEntry * aReqEntry

TsyReqHandle()

TTsyReqHandle TsyReqHandle()[private]

UpdateBuffer(CReqEntry *, CReqEntry *)

voidUpdateBuffer(CReqEntry *aUpdatedReqEntry,
CReqEntry *aReqEntry
)

Parameters

CReqEntry * aUpdatedReqEntry
CReqEntry * aReqEntry

Member Data Documentation

TInt iFlowControlCnt

TInt iFlowControlCnt[private]

TDblQue< CReqEntry > iReqActiveList

TDblQue< CReqEntry >iReqActiveList[private]

TDblQue< CReqEntry > iReqWaitList

TDblQue< CReqEntry >iReqWaitList[private]

TInt iTsyReqHandleCnt

TInt iTsyReqHandleCnt[private]