CTelSession Class Reference

class CTelSession : public CSession2

Inherits from

Public Member Functions
CTelSession(CPhoneManager *)
~CTelSession()
CTelObject *CObjectFromHandle(TUint)
RHeap *EmergencyClientHeap(TInt)
TBool IsEmergencyClientReq(TInt)
TBool IsExpectingExtendedError()
TBool IsUnicodeReq(TInt)
voidServiceL(const RMessage2 &)
CTelServer *TelServer()
Private Member Functions
voidCheckAndAppendNewName(TDes &)
voidClosePhoneModule()
voidCreateL()
voidEnumeratePhones()
voidGenerateName(TDes &)
TInt GetModuleName(TDes &)
voidGetTsyNameByPhone(const TInt)
voidGetTsyVersionNumber()
voidIsSupportedByTsy()
voidLoadPhoneModule()
voidNewTelObject(TTelObjectOpenSource)
voidPhoneInfo(TInt)
TInt PreallocateEmergencyHeap(TUint32)
TInt Read(TUint, TDes8 &, TInt)
TInt Read(TUint, TDes16 &, TInt)
CTelServer *Server()
TInt SetEmergencyClient(const RMessage2 &)
voidSetExtendedErrorGranularity()
voidSetPriorityClient()
voidSetPriorityClientV2()
TPtrC StripOutNextName(TPtrC &, const TFullName &)
voidUnsetEmergencyClient()
voidUnsetPriorityClient()
TInt Write(TUint, const TDesC8 &, TInt)
TInt Write(TUint, const TDesC16 &, 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()
CSession2::CSession2()
CSession2::CountResources()
CSession2::Disconnect(const RMessage2 &)
CSession2::Extension_(TUint,TAny *&,TAny *)
CSession2::ResourceCountMarkEnd(const RMessage2 &)
CSession2::ResourceCountMarkStart()
CSession2::ServiceError(const RMessage2 &,TInt)
CSession2::SetServer(const CServer2 *)
CSession2::~CSession2()
Inherited Enumerations
CSession2:TPanicNo
Private Attributes
RHeap *iEmergencyHeap
RTelServer::TErrorGranularity iErrorGranularity
RMessage2 iMessage
TUint32 iNameIndex
CObjectIx *iObjectIx
CPhoneManager *iPhoneManager
CObjectIx *iTsyModulesIx

Constructor & Destructor Documentation

CTelSession(CPhoneManager *)

CTelSession(CPhoneManager *aPhoneManager)

Parameters

CPhoneManager * aPhoneManager

~CTelSession()

~CTelSession()[virtual]

Member Functions Documentation

CObjectFromHandle(TUint)

CTelObject *CObjectFromHandle(TUintaHandle)const

Parameters

TUint aHandle

CheckAndAppendNewName(TDes &)

voidCheckAndAppendNewName(TDes &aName)[private]

Parameters

TDes & aName

ClosePhoneModule()

voidClosePhoneModule()[private]

CreateL()

voidCreateL()[private, virtual]

EmergencyClientHeap(TInt)

RHeap *EmergencyClientHeap(TIntaReq)const

Parameters

TInt aReq

EnumeratePhones()

voidEnumeratePhones()[private]

GenerateName(TDes &)

voidGenerateName(TDes &aName)[private]

Parameters

TDes & aName

GetModuleName(TDes &)

TInt GetModuleName(TDes &aName)const [private]

Parameters

TDes & aName

GetTsyNameByPhone(const TInt)

voidGetTsyNameByPhone(const TIntaIndexOfPhone)[private]

Parameters

const TInt aIndexOfPhone

GetTsyVersionNumber()

voidGetTsyVersionNumber()const [private]

IsEmergencyClientReq(TInt)

TBool IsEmergencyClientReq(TIntaReq)const

Parameters

TInt aReq

IsExpectingExtendedError()

TBool IsExpectingExtendedError()const

IsSupportedByTsy()

voidIsSupportedByTsy()[private]

IsUnicodeReq(TInt)

TBool IsUnicodeReq(TIntaReq)const

Parameters

TInt aReq

LoadPhoneModule()

voidLoadPhoneModule()[private]

NewTelObject(TTelObjectOpenSource)

voidNewTelObject(TTelObjectOpenSourceaSource)[private]

Parameters

TTelObjectOpenSource aSource

PhoneInfo(TInt)

voidPhoneInfo(TIntaIndex)[private]

Parameters

TInt aIndex

PreallocateEmergencyHeap(TUint32)

TInt PreallocateEmergencyHeap(TUint32aEmergencyRequest)[private]

Parameters

TUint32 aEmergencyRequest

Read(TUint, TDes8 &, TInt)

TInt Read(TUintaIndexOfMsgParam,
TDes8 &aDes,
TIntaOffset = 0
)const [private]

Parameters

TUint aIndexOfMsgParam
TDes8 & aDes
TInt aOffset = 0

Read(TUint, TDes16 &, TInt)

TInt Read(TUintaIndexOfMsgParam,
TDes16 &aDes,
TIntaOffset = 0
)const [private]

Parameters

TUint aIndexOfMsgParam
TDes16 & aDes
TInt aOffset = 0

Server()

CTelServer *Server()const [private, inline]

Gets the server active object that handles messages for this session.

This is the instance of the CServer2 derived class that created this session object.

ServiceL(const RMessage2 &)

voidServiceL(const RMessage2 &aMessage)[virtual]

Handles the servicing of a client request that has been passed to the server.

This function must be implemented in a derived class. The details of the request are contained within the message.

Parameters

const RMessage2 & aMessageThe message containing the details of the client request.

SetEmergencyClient(const RMessage2 &)

TInt SetEmergencyClient(const RMessage2 &aMessage)[private]

Parameters

const RMessage2 & aMessage

SetExtendedErrorGranularity()

voidSetExtendedErrorGranularity()[private]

SetPriorityClient()

voidSetPriorityClient()[private]

SetPriorityClientV2()

voidSetPriorityClientV2()[private]

StripOutNextName(TPtrC &, const TFullName &)

TPtrC StripOutNextName(TPtrC &aRemainingName,
const TFullName &aFullName
)[private]

Parameters

TPtrC & aRemainingName
const TFullName & aFullName

TelServer()

CTelServer *TelServer()const

UnsetEmergencyClient()

voidUnsetEmergencyClient()[private]

UnsetPriorityClient()

voidUnsetPriorityClient()[private]

Write(TUint, const TDesC8 &, TInt)

TInt Write(TUintaIndexOfMsgParam,
const TDesC8 &aDes,
TIntaOffset = 0
)const [private]

Parameters

TUint aIndexOfMsgParam
const TDesC8 & aDes
TInt aOffset = 0

Write(TUint, const TDesC16 &, TInt)

TInt Write(TUintaIndexOfMsgParam,
const TDesC16 &aDes,
TIntaOffset = 0
)const [private]

Parameters

TUint aIndexOfMsgParam
const TDesC16 & aDes
TInt aOffset = 0

Member Data Documentation

RHeap * iEmergencyHeap

RHeap *iEmergencyHeap[private]

RTelServer::TErrorGranularity iErrorGranularity

RTelServer::TErrorGranularity iErrorGranularity[private]

RMessage2 iMessage

RMessage2 iMessage[private]

TUint32 iNameIndex

TUint32 iNameIndex[private]

CObjectIx * iObjectIx

CObjectIx *iObjectIx[private]

CPhoneManager * iPhoneManager

CPhoneManager *iPhoneManager[private]

CObjectIx * iTsyModulesIx

CObjectIx *iTsyModulesIx[private]