RTelServer Class Reference

class RTelServer : public RSessionBase

Root telephony server session.

Provides access to general telephony information and functionality. Clients wishing to use the ETel Server must open a connection with the root server using the functions defined in this class. They may then obtain information about loaded TSY modules, and the phones that they support. To access functionality associated with a specific phone, the client must open a sub-session for that phone.

This class is not intended for user derivation.

Inherits from

Nested Classes and Structures

Public Member Functions
RTelServer()
IMPORT_C TIntConnect(TInt)
IMPORT_C TIntEnumeratePhones(TInt &)
IMPORT_C TIntGetPhoneInfo(const TInt, TPhoneInfo &)
IMPORT_C TIntGetTsyName(const TInt, TDes &)
IMPORT_C TIntGetTsyVersionNumber(const TDesC &, TVersion &)
IMPORT_C TIntIsSupportedByModule(const TDesC &, const TInt, TBool &)
IMPORT_C TIntLoadPhoneModule(const TDesC &)
IMPORT_C TIntSetExtendedErrorGranularity(const TErrorGranularity)
IMPORT_C TIntSetPriorityClient()
IMPORT_C TIntSetPriorityClientV2()
IMPORT_C TIntUnloadPhoneModule(const TDesC &)
TVersion Version()
IMPORT_C TInt__DbgCheckHeap(TInt)
IMPORT_C TInt__DbgFailNext(TInt)
IMPORT_C TInt__DbgFailNextAvailable(TBool &)
IMPORT_C TInt__DbgMarkEnd(TInt)
IMPORT_C TInt__DbgMarkHeap()
Inherited Functions
RHandleBase::Attributes()const
RHandleBase::BTraceId()const
RHandleBase::Close()
RHandleBase::DoExtendedClose()
RHandleBase::Duplicate(const RThread &,TOwnerType)
RHandleBase::FullName()const
RHandleBase::FullName(TDes &)const
RHandleBase::Handle()const
RHandleBase::HandleInfo(THandleInfo *)
RHandleBase::Name()const
RHandleBase::NotifyDestruction(TRequestStatus &)
RHandleBase::Open(const TFindHandleBase &,TOwnerType)
RHandleBase::OpenByName(const TDesC &,TOwnerType,TInt)
RHandleBase::RHandleBase()
RHandleBase::RHandleBase(TInt)
RHandleBase::SetHandle(TInt)
RHandleBase::SetHandleNC(TInt)
RSessionBase::CreateSession(RServer2,const TVersion &)
RSessionBase::CreateSession(RServer2,const TVersion &,TInt)
RSessionBase::CreateSession(RServer2,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
RSessionBase::CreateSession(const TDesC &,const TVersion &)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TRequestStatus *)
RSessionBase::Open(RMessagePtr2,TInt,TOwnerType)
RSessionBase::Open(RMessagePtr2,TInt,const TSecurityPolicy &,TOwnerType)
RSessionBase::Open(TInt,TOwnerType)
RSessionBase::Open(TInt,const TSecurityPolicy &,TOwnerType)
RSessionBase::Send(TInt)const
RSessionBase::Send(TInt,const TIpcArgs &)const
RSessionBase::SendReceive(TInt)const
RSessionBase::SendReceive(TInt,TRequestStatus &)const
RSessionBase::SendReceive(TInt,const TIpcArgs &)const
RSessionBase::SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const
RSessionBase::SetReturnedHandle(TInt)
RSessionBase::SetReturnedHandle(TInt,RHandleBase &)
RSessionBase::SetReturnedHandle(TInt,const TSecurityPolicy &)
RSessionBase::ShareAuto()
RSessionBase::ShareProtected()
Public Member Enumerations
enumTErrorGranularity { EErrorBasic, EErrorExtended }
enumTNetworkType { ENetworkTypeWiredAnalog, ENetworkTypeWiredDigital, ENetworkTypeMobileAnalog, ENetworkTypeMobileDigital, ENetworkTypeUnknown }
Inherited Enumerations
RHandleBase:TAttributes
RSessionBase:TAttachMode
Inherited Attributes
RHandleBase::iHandle

Constructor & Destructor Documentation

RTelServer()

IMPORT_CRTelServer()

Member Functions Documentation

Connect(TInt)

IMPORT_C TIntConnect(TIntaMessageSlots = KDefaultMessageSlots)

Parameters

TInt aMessageSlots = KDefaultMessageSlots

EnumeratePhones(TInt &)

IMPORT_C TIntEnumeratePhones(TInt &aNoOfPhones)const

Parameters

TInt & aNoOfPhones

GetPhoneInfo(const TInt, TPhoneInfo &)

IMPORT_C TIntGetPhoneInfo(const TIntaIndex,
TPhoneInfo &aInfo
)const

Parameters

const TInt aIndex
TPhoneInfo & aInfo

GetTsyName(const TInt, TDes &)

IMPORT_C TIntGetTsyName(const TIntaIndexOfPhone,
TDes &aTsyName
)const

Parameters

const TInt aIndexOfPhone
TDes & aTsyName

GetTsyVersionNumber(const TDesC &, TVersion &)

IMPORT_C TIntGetTsyVersionNumber(const TDesC &aTsyName,
TVersion &aVersion
)const

Parameters

const TDesC & aTsyName
TVersion & aVersion

IsSupportedByModule(const TDesC &, const TInt, TBool &)

IMPORT_C TIntIsSupportedByModule(const TDesC &aTsyName,
const TIntaMixin,
TBool &aResult
)const

Parameters

const TDesC & aTsyName
const TInt aMixin
TBool & aResult

LoadPhoneModule(const TDesC &)

IMPORT_C TIntLoadPhoneModule(const TDesC &aFileName)const

Parameters

const TDesC & aFileName

SetExtendedErrorGranularity(const TErrorGranularity)

IMPORT_C TIntSetExtendedErrorGranularity(const TErrorGranularityaGranularity)const

Parameters

const TErrorGranularity aGranularity

SetPriorityClient()

IMPORT_C TIntSetPriorityClient()const

This function has been deprecated. Use RTelServer::SetPriorityClientV2 followed by RPhone::SetEmergencyClient(EEmergencyCSVoiceCallRequest)

SetPriorityClientV2()

IMPORT_C TIntSetPriorityClientV2()const

UnloadPhoneModule(const TDesC &)

IMPORT_C TIntUnloadPhoneModule(const TDesC &aFileName)const

Parameters

const TDesC & aFileName

Version()

TVersion Version()const [inline]

Gets the version number of the ETel server.

The server version and build numbers.

__DbgCheckHeap(TInt)

IMPORT_C TInt__DbgCheckHeap(TIntaCount)

Parameters

TInt aCount

__DbgFailNext(TInt)

IMPORT_C TInt__DbgFailNext(TIntaCount)

Parameters

TInt aCount

__DbgFailNextAvailable(TBool &)

IMPORT_C TInt__DbgFailNextAvailable(TBool &aResult)

Parameters

TBool & aResult

__DbgMarkEnd(TInt)

IMPORT_C TInt__DbgMarkEnd(TIntaCount)

Parameters

TInt aCount

__DbgMarkHeap()

IMPORT_C TInt__DbgMarkHeap()

Member Enumerations Documentation

Enum TErrorGranularity

Error granularity flags.

Enumerators

EErrorBasic

Client is only interested in core errors

EErrorExtended

Client is interested in extended errors

Enum TNetworkType

Types of telephony connection flags.

Enumerators

ENetworkTypeWiredAnalog

Wired analog network.

ENetworkTypeWiredDigital

Wired digital network (not supported by ETel).

ENetworkTypeMobileAnalog

Mobile analog network (not supported by ETel).

ENetworkTypeMobileDigital

Mobile digital network.

ENetworkTypeUnknown

Unknown network type.