CCallBase Class Reference

class CCallBase : public CSubSessionExtBase
Public Member Functions
CCallBase ()
~CCallBase ()
IMPORT_C TInt CancelService (const TInt , const TTsyReqHandle )
IMPORT_C TCallOwnership CheckOwnership (const TTsyReqHandle )
IMPORT_C TBool CheckPriorityClient (const TTsyReqHandle )
IMPORT_C RFax::TProgress * CreateFaxProgressChunk ()
IMPORT_C void DeleteFaxProgressChunk ()
IMPORT_C RHandleBase * GlobalKernelObjectHandle ()
IMPORT_C TInt NumberOfSlotsL (const TInt )
IMPORT_C void RecoverDataPortAndRelinquishOwnershipCompleted (const TInt )
IMPORT_C void RelinquishOwnershipCompleted (const TInt )
IMPORT_C TReqMode ReqModeL (const TInt )
IMPORT_C CCallBase * ResolveSubSessionHandle (const TTsyReqHandle , const TInt )
IMPORT_C TInt SetFaxSharedHeaderFile (const TTsyReqHandle , CFaxSharedFileHandles *)
IMPORT_C TInt SetOwnership (const TTsyReqHandle )
IMPORT_C TInt SetUnowned ()
Private Member Functions
IMPORT_C RCall::TOwnershipStatus CheckOwnershipBySession ( CTelSession *, const TInt )
IMPORT_C void CloseSubSessionPreProcessing ( CTelSession *, const TInt )
IMPORT_C void Init ()
IMPORT_C void OpenPostProcessing ( CTelSession *, const )
IMPORT_C TInt Service (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
TCallOwnership iOwnershipStatus

Constructor & Destructor Documentation

CCallBase()

IMPORT_C CCallBase ( )

~CCallBase()

IMPORT_C ~CCallBase ( ) [virtual]

Member Functions Documentation

CancelService(const TInt, const TTsyReqHandle)

IMPORT_C TInt CancelService ( const TInt aIpc,
const TTsyReqHandle aTsyReqHandle
) [virtual]

Parameters

const TInt aIpc
const TTsyReqHandle aTsyReqHandle

CheckOwnership(const TTsyReqHandle)

IMPORT_C TCallOwnership CheckOwnership ( const TTsyReqHandle aTsyReqHandle ) const

Parameters

const TTsyReqHandle aTsyReqHandle

CheckOwnershipBySession(CTelSession *, const TInt)

IMPORT_C RCall::TOwnershipStatus CheckOwnershipBySession ( CTelSession * aSession,
const TInt aSubSession
) const [private]

Parameters

CTelSession * aSession
const TInt aSubSession

CheckPriorityClient(const TTsyReqHandle)

IMPORT_C TBool CheckPriorityClient ( const TTsyReqHandle aTsyReqHandle ) const

Parameters

const TTsyReqHandle aTsyReqHandle

CloseSubSessionPreProcessing(CTelSession *, const TInt)

IMPORT_C void CloseSubSessionPreProcessing ( CTelSession * aSession,
const TInt aSubSessionHandle
) [private, virtual]

Parameters

CTelSession * aSession
const TInt aSubSessionHandle

CreateFaxProgressChunk()

IMPORT_C RFax::TProgress * CreateFaxProgressChunk ( )

DeleteFaxProgressChunk()

IMPORT_C void DeleteFaxProgressChunk ( )

GlobalKernelObjectHandle()

IMPORT_C RHandleBase * GlobalKernelObjectHandle ( ) [virtual]

Init()

IMPORT_C void Init ( ) [private, virtual]

NumberOfSlotsL(const TInt)

IMPORT_C TInt NumberOfSlotsL ( const TInt aIpc ) [virtual]

Parameters

const TInt aIpc

OpenPostProcessing(CTelSession *, const)

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

Parameters

CTelSession *
const TInt

RecoverDataPortAndRelinquishOwnershipCompleted(const TInt)

IMPORT_C void RecoverDataPortAndRelinquishOwnershipCompleted ( const TInt aError )

Parameters

const TInt aError

RelinquishOwnershipCompleted(const TInt)

IMPORT_C void RelinquishOwnershipCompleted ( const TInt aError )

Parameters

const TInt aError

ReqModeL(const TInt)

IMPORT_C TReqMode ReqModeL ( const TInt aIpc ) [virtual]

Parameters

const TInt aIpc

ResolveSubSessionHandle(const TTsyReqHandle, const TInt)

IMPORT_C CCallBase * ResolveSubSessionHandle ( const TTsyReqHandle aTsyReqHandle,
const TInt aSubSessionHandle
)

Parameters

const TTsyReqHandle aTsyReqHandle
const TInt aSubSessionHandle

Service(const RMessage2 &, CReqEntry *)

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

Parameters

const RMessage2 & aMessage
CReqEntry * aReqEntry

SetFaxSharedHeaderFile(const TTsyReqHandle, CFaxSharedFileHandles *)

IMPORT_C TInt SetFaxSharedHeaderFile ( const TTsyReqHandle aTsyReqHandle,
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 aTsyReqHandle Handle to request.
CFaxSharedFileHandles * aFaxSharedFileHandles CFaxSharedFileHandles 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 TInt SetOwnership ( const TTsyReqHandle aTsyReqHandle )

Parameters

const TTsyReqHandle aTsyReqHandle

SetUnowned()

IMPORT_C TInt SetUnowned ( )

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

TCallOwnership iOwnershipStatus [private]