EPOC   SDK Home Glossary Indexes Previous   Up

RTelSubSessionBase class


RTelSubSessionBase class — Telephony sub-session base class


Overview

Compatibility

Applications that use this class will not work correctly on a version of EPOC earlier than ER5.

Derivation

RSubSessionBase

Abstract: subsession base class

Defined in

etel.h

Link against

etel.lib

Description

The abstract sub-session base class for RLine, RPhone, , and RCall.

Writing derived classes

This class is not intended for user derivation.


Construction and destruction


RTelSubSessionBase() — Protected constructor

protected: RTelSubSessionBase();

Description

The default constructor is protected, which prevents objects of this class from being constructed. This class is intended only as an abstract base for other classes.


RTelSubSessionBase() — Protected copy constructor

RTelSubSessionBase(const RTelSubSessionBase& aTelSubSessionBase);
Description

The copy constructor is protected, which prevents objects of this class from being constructed. This class is intended only as an abstract base for other classes.


Session handle functions


SessionHandle() — Get session handle

RSessionBase& SessionHandle() const;

Description

This function returns the handle to the current session with the sever.

Return value

RSessionBase&

The session handle.


SetSessionHandle() — Set session handle

void SetSessionHandle(RSessionBase& aSession);

Description

Sets the session handle.

Arguments

RSessionBase& aSession

The new session handle.


SubSessionHandle() — Get the subsession handle

TInt SubSessionHandle();

Description

Returns the subsession handle; this is passed to the server in service requests where it is used to identify the corresponding subsession object.

Return value

TInt

The subsession handle.


Enumerations

The following enumerations are in the public header file, they are not intended for use by application developers. They are used for server side API design.


TTsyKnowledge enum — Server request knowledge

ETsyGetsOneRequestPerIpc

Server gets one request per inter-process communication.

ETsyGetsOneRequestPerClient

Server gets one request per client.


TReqPriorityType enum — Request priority flags

EIsNotaPriorityRequest

Is not a priority request

EIsaPriorityRequest

Is a priority request


Struct


TRegisterInfo struct — Register information

TInt iNoOfSlots

Number of data message buffer slots.

TPtr8* iDes1

Request information parameter 1.

TPtr8* iDes2

Request information parameter 2.

TTsyKnowledge iTsyKnowledge

Number of requests to server


Typedef


TRegisterInfoPckg typedef — Register information package

typedef TPckg<TRegisterInfo> TRegisterInfoPckg;

Defined in

etel.h

Description

Registration information may be passed into functions using this structure.

EPOC       SDK Home Glossary Indexes Previous   Up