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 )
void ServiceL (const RMessage2 &)
CTelServer * TelServer ()
Private Member Functions
void CheckAndAppendNewName ( TDes &)
void ClosePhoneModule ()
void CreateL ()
void EnumeratePhones ()
void GenerateName ( TDes &)
TInt GetModuleName ( TDes &)
void GetTsyNameByPhone (const TInt )
void GetTsyVersionNumber ()
void IsSupportedByTsy ()
void LoadPhoneModule ()
void NewTelObject ( TTelObjectOpenSource )
void PhoneInfo ( TInt )
TInt PreallocateEmergencyHeap ( TUint32 )
TInt Read ( TUint , TDes8 &, TInt )
TInt Read ( TUint , TDes16 &, TInt )
CTelServer * Server ()
TInt SetEmergencyClient (const RMessage2 &)
void SetExtendedErrorGranularity ()
void SetPriorityClient ()
void SetPriorityClientV2 ()
TPtrC StripOutNextName ( TPtrC &, const TFullName &)
void UnsetEmergencyClient ()
void UnsetPriorityClient ()
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 ( TUint aHandle ) const

Parameters

TUint aHandle

CheckAndAppendNewName(TDes &)

void CheckAndAppendNewName ( TDes & aName ) [private]

Parameters

TDes & aName

ClosePhoneModule()

void ClosePhoneModule ( ) [private]

CreateL()

void CreateL ( ) [private, virtual]

EmergencyClientHeap(TInt)

RHeap * EmergencyClientHeap ( TInt aReq ) const

Parameters

TInt aReq

EnumeratePhones()

void EnumeratePhones ( ) [private]

GenerateName(TDes &)

void GenerateName ( TDes & aName ) [private]

Parameters

TDes & aName

GetModuleName(TDes &)

TInt GetModuleName ( TDes & aName ) const [private]

Parameters

TDes & aName

GetTsyNameByPhone(const TInt)

void GetTsyNameByPhone ( const TInt aIndexOfPhone ) [private]

Parameters

const TInt aIndexOfPhone

GetTsyVersionNumber()

void GetTsyVersionNumber ( ) const [private]

IsEmergencyClientReq(TInt)

TBool IsEmergencyClientReq ( TInt aReq ) const

Parameters

TInt aReq

IsExpectingExtendedError()

TBool IsExpectingExtendedError ( ) const

IsSupportedByTsy()

void IsSupportedByTsy ( ) [private]

IsUnicodeReq(TInt)

TBool IsUnicodeReq ( TInt aReq ) const

Parameters

TInt aReq

LoadPhoneModule()

void LoadPhoneModule ( ) [private]

NewTelObject(TTelObjectOpenSource)

void NewTelObject ( TTelObjectOpenSource aSource ) [private]

Parameters

TTelObjectOpenSource aSource

PhoneInfo(TInt)

void PhoneInfo ( TInt aIndex ) [private]

Parameters

TInt aIndex

PreallocateEmergencyHeap(TUint32)

TInt PreallocateEmergencyHeap ( TUint32 aEmergencyRequest ) [private]

Parameters

TUint32 aEmergencyRequest

Read(TUint, TDes8 &, TInt)

TInt Read ( TUint aIndexOfMsgParam,
TDes8 & aDes,
TInt aOffset = 0
) const [private]

Parameters

TUint aIndexOfMsgParam
TDes8 & aDes
TInt aOffset = 0

Read(TUint, TDes16 &, TInt)

TInt Read ( TUint aIndexOfMsgParam,
TDes16 & aDes,
TInt aOffset = 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 &)

void ServiceL ( 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 & aMessage The message containing the details of the client request.

SetEmergencyClient(const RMessage2 &)

TInt SetEmergencyClient ( const RMessage2 & aMessage ) [private]

Parameters

const RMessage2 & aMessage

SetExtendedErrorGranularity()

void SetExtendedErrorGranularity ( ) [private]

SetPriorityClient()

void SetPriorityClient ( ) [private]

SetPriorityClientV2()

void SetPriorityClientV2 ( ) [private]

StripOutNextName(TPtrC &, const TFullName &)

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

Parameters

TPtrC & aRemainingName
const TFullName & aFullName

TelServer()

CTelServer * TelServer ( ) const

UnsetEmergencyClient()

void UnsetEmergencyClient ( ) [private]

UnsetPriorityClient()

void UnsetPriorityClient ( ) [private]

Write(TUint, const TDesC8 &, TInt)

TInt Write ( TUint aIndexOfMsgParam,
const TDesC8 & aDes,
TInt aOffset = 0
) const [private]

Parameters

TUint aIndexOfMsgParam
const TDesC8 & aDes
TInt aOffset = 0

Write(TUint, const TDesC16 &, TInt)

TInt Write ( TUint aIndexOfMsgParam,
const TDesC16 & aDes,
TInt aOffset = 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]