CCallBase Class Reference

class CCallBase : public CSubSessionExtBase
Public Member Functions
CCallBase()
~CCallBase()
IMPORT_C TIntCancelService(const TInt, const TTsyReqHandle)
IMPORT_C TCallOwnershipCheckOwnership(const TTsyReqHandle)
IMPORT_C TBoolCheckPriorityClient(const TTsyReqHandle)
IMPORT_C RFax::TProgress *CreateFaxProgressChunk()
IMPORT_C voidDeleteFaxProgressChunk()
IMPORT_C RHandleBase *GlobalKernelObjectHandle()
IMPORT_C TIntNumberOfSlotsL(const TInt)
IMPORT_C voidRecoverDataPortAndRelinquishOwnershipCompleted(const TInt)
IMPORT_C voidRelinquishOwnershipCompleted(const TInt)
IMPORT_C TReqModeReqModeL(const TInt)
IMPORT_C CCallBase *ResolveSubSessionHandle(const TTsyReqHandle, const TInt)
IMPORT_C TIntSetFaxSharedHeaderFile(const TTsyReqHandle, CFaxSharedFileHandles *)
IMPORT_C TIntSetOwnership(const TTsyReqHandle)
IMPORT_C TIntSetUnowned()
Private Member Functions
IMPORT_C RCall::TOwnershipStatusCheckOwnershipBySession(CTelSession *, const TInt)
IMPORT_C voidCloseSubSessionPreProcessing(CTelSession *, const TInt)
IMPORT_C voidInit()
IMPORT_C voidOpenPostProcessing(CTelSession *, const )
IMPORT_C TIntService(const RMessage2 &, CReqEntry *)
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::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
RChunk iChunk
TBool iLoanDataPort
CTelSession *iOwnerSession
TInt iOwnerSubSessionHandle
TCallOwnershipiOwnershipStatus

Constructor & Destructor Documentation

CCallBase()

IMPORT_CCCallBase()

~CCallBase()

IMPORT_C~CCallBase()[virtual]

Member Functions Documentation

CancelService(const TInt, const TTsyReqHandle)

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

Parameters

const TInt aIpc
const TTsyReqHandle aTsyReqHandle

CheckOwnership(const TTsyReqHandle)

IMPORT_C TCallOwnershipCheckOwnership(const TTsyReqHandleaTsyReqHandle)const

Parameters

const TTsyReqHandle aTsyReqHandle

CheckOwnershipBySession(CTelSession *, const TInt)

IMPORT_C RCall::TOwnershipStatusCheckOwnershipBySession(CTelSession *aSession,
const TIntaSubSession
)const [private]

Parameters

CTelSession * aSession
const TInt aSubSession

CheckPriorityClient(const TTsyReqHandle)

IMPORT_C TBoolCheckPriorityClient(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

CreateFaxProgressChunk()

IMPORT_C RFax::TProgress *CreateFaxProgressChunk()

DeleteFaxProgressChunk()

IMPORT_C voidDeleteFaxProgressChunk()

GlobalKernelObjectHandle()

IMPORT_C RHandleBase *GlobalKernelObjectHandle()[virtual]

Init()

IMPORT_C voidInit()[private, virtual]

NumberOfSlotsL(const TInt)

IMPORT_C TIntNumberOfSlotsL(const TIntaIpc)[virtual]

Parameters

const TInt aIpc

OpenPostProcessing(CTelSession *, const)

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

Parameters

CTelSession *
const TInt

RecoverDataPortAndRelinquishOwnershipCompleted(const TInt)

IMPORT_C voidRecoverDataPortAndRelinquishOwnershipCompleted(const TIntaError)

Parameters

const TInt aError

RelinquishOwnershipCompleted(const TInt)

IMPORT_C voidRelinquishOwnershipCompleted(const TIntaError)

Parameters

const TInt aError

ReqModeL(const TInt)

IMPORT_C TReqModeReqModeL(const TIntaIpc)[virtual]

Parameters

const TInt aIpc

ResolveSubSessionHandle(const TTsyReqHandle, const TInt)

IMPORT_C CCallBase *ResolveSubSessionHandle(const TTsyReqHandleaTsyReqHandle,
const TIntaSubSessionHandle
)

Parameters

const TTsyReqHandle aTsyReqHandle
const TInt aSubSessionHandle

Service(const RMessage2 &, CReqEntry *)

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

Parameters

const RMessage2 & aMessage
CReqEntry * aReqEntry

SetFaxSharedHeaderFile(const TTsyReqHandle, CFaxSharedFileHandles *)

IMPORT_C TIntSetFaxSharedHeaderFile(const TTsyReqHandleaTsyReqHandle,
CFaxSharedFileHandles *aFaxSharedFileHandles
)[virtual]

Base implementation for virtual API declared in MCallBaseTSY. This base implementation always returns KErrNotSupported and it is therefore necessary for TSYs who support this API to override this in their CCallBase derived class.

This function passes through a pointer to a heap-based CFaxSharedFileHandles object. This object is instantiated by Etel but a successful return of this function will pass responsibility for deletion of aFaxSharedFileHandles from Etel server to the TSY. If an error code is returned from this function (e.g. KErrNotSupported) Etel maintains ownership of the aFaxSharedFileHandles and is responsible for its deletion.

TSY overrides of this function must correctly handle the cleanup of the aFaxSharedFileHandles object if they take ownership of it which is implied when returning from this function with KErrNone.

Parameters

const TTsyReqHandle aTsyReqHandleHandle to request.
CFaxSharedFileHandles * aFaxSharedFileHandlesCFaxSharedFileHandles instance to be stored in TSY. Released v9.0 to allow a fax client to pass a file handle to the Fax server.

SetOwnership(const TTsyReqHandle)

IMPORT_C TIntSetOwnership(const TTsyReqHandleaTsyReqHandle)

Parameters

const TTsyReqHandle aTsyReqHandle

SetUnowned()

IMPORT_C TIntSetUnowned()

Member Data Documentation

RChunk iChunk

RChunk iChunk[private]

TBool iLoanDataPort

TBool iLoanDataPort[private]

CTelSession * iOwnerSession

CTelSession *iOwnerSession[private]

TInt iOwnerSubSessionHandle

TInt iOwnerSubSessionHandle[private]

TCallOwnership iOwnershipStatus

TCallOwnershipiOwnershipStatus[private]