RApaAppServiceBase Class Reference

class RApaAppServiceBase : public RSessionBase

Server app connection and lifetime monitoring functionality.

This is the base class for all server application service client support implementations.

The class is derived from by the UI framework and is further derived from by service implementations.

Clients of these server application services will use these derived classes as the interface to the server application implementations of the services.

REikAppServiceBase

Inherits from

Public Member Functions
IMPORT_C voidCancelNotifyServerExit()
IMPORT_C voidClose()
IMPORT_C voidConnectExistingAppL(const RApaAppServiceBase &)
IMPORT_C voidConnectExistingAppL(const RApaAppServiceBase &, const TSecurityPolicy &)
IMPORT_C voidConnectExistingByNameL(const TDesC &)
IMPORT_C voidConnectExistingByNameL(const TDesC &, const TSecurityPolicy &)
IMPORT_C voidNotifyServerExit(TRequestStatus &)
IMPORT_C TPtrCServerName()
IMPORT_C voidTransferExistingSessionL(RApaAppServiceBase &)
Protected Member Functions
RApaAppServiceBase()
Private Member Functions
voidConnectL()
voidConnectL(const TSecurityPolicy &)
IMPORT_C voidExtensionInterface(TUid, TAny *&)
IMPORT_C voidRApaAppServiceBase_Reserved1()
IMPORT_C voidRApaAppServiceBase_Reserved2()
TUid ServiceUid()
Inherited Functions
RHandleBase::Attributes()const
RHandleBase::BTraceId()const
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
enumTApaAppServiceBaseCmdConstants { KSystemGuiCmdBase = 0x100, KServiceCmdBase = 0x200 }
Inherited Enumerations
RHandleBase:TAttributes
RSessionBase:TAttachMode
Private Attributes
TInt iApaReserved1
TInt iApaReserved2
HBufC *iServerName
Inherited Attributes
RHandleBase::iHandle

Constructor & Destructor Documentation

RApaAppServiceBase()

IMPORT_CRApaAppServiceBase()[protected]

Member Functions Documentation

CancelNotifyServerExit()

IMPORT_C voidCancelNotifyServerExit()const

Close()

IMPORT_C voidClose()

ConnectExistingAppL(const RApaAppServiceBase &)

IMPORT_C voidConnectExistingAppL(const RApaAppServiceBase &aClient)

Parameters

const RApaAppServiceBase & aClient

ConnectExistingAppL(const RApaAppServiceBase &, const TSecurityPolicy &)

IMPORT_C voidConnectExistingAppL(const RApaAppServiceBase &aClient,
const TSecurityPolicy &aSecurityPolicy
)

Parameters

const RApaAppServiceBase & aClient
const TSecurityPolicy & aSecurityPolicy

ConnectExistingByNameL(const TDesC &)

IMPORT_C voidConnectExistingByNameL(const TDesC &aName)

Parameters

const TDesC & aName

ConnectExistingByNameL(const TDesC &, const TSecurityPolicy &)

IMPORT_C voidConnectExistingByNameL(const TDesC &aServerName,
const TSecurityPolicy &aSecurityPolicy
)

Parameters

const TDesC & aServerName
const TSecurityPolicy & aSecurityPolicy

ConnectL()

voidConnectL()[private]

ConnectL(const TSecurityPolicy &)

voidConnectL(const TSecurityPolicy &aSecurityPolicy)[private]

Parameters

const TSecurityPolicy & aSecurityPolicy

ExtensionInterface(TUid, TAny *&)

IMPORT_C voidExtensionInterface(TUidaInterfaceId,
TAny *&aImplementaion
)[private, virtual]

Parameters

TUid aInterfaceId
TAny *& aImplementaion

NotifyServerExit(TRequestStatus &)

IMPORT_C voidNotifyServerExit(TRequestStatus &aStatus)const

Parameters

TRequestStatus & aStatus

RApaAppServiceBase_Reserved1()

IMPORT_C voidRApaAppServiceBase_Reserved1()[private, virtual]

RApaAppServiceBase_Reserved2()

IMPORT_C voidRApaAppServiceBase_Reserved2()[private, virtual]

ServerName()

IMPORT_C TPtrCServerName()const

ServiceUid()

TUid ServiceUid()const [private, pure virtual]

Returns the UID of the service that this session provides an interface for. Client side service implementations must implement this function to return the UID for the service that they implement. The UID of the service implemented by the derived class.

TransferExistingSessionL(RApaAppServiceBase &)

IMPORT_C voidTransferExistingSessionL(RApaAppServiceBase &aClient)

Parameters

RApaAppServiceBase & aClient

Member Enumerations Documentation

Enum TApaAppServiceBaseCmdConstants

Constants defining the base IPC command ids usable by the system GUI and services.

Enumerators

KSystemGuiCmdBase = 0x100

System GUI server app command IDs must start from this base.

KServiceCmdBase = 0x200

Service specific command IDs must start from this base.

Member Data Documentation

TInt iApaReserved1

TInt iApaReserved1[private]

TInt iApaReserved2

TInt iApaReserved2[private]

HBufC * iServerName

HBufC *iServerName[private]