CApaAppServiceBase Class Reference

class CApaAppServiceBase : public CSession2

Base class for all service implementations. Provides the basic IPC and security framework that server applications can use to receive messages from their clients. In a typical service implementation, a service support class will be derived from this class, and the service implementation will then be derived from the service support class.

Instances of this class are created by the server application in its override of CApaAppServer::CreateServiceL().

CApaAppServer

CPolicyServer

Inherits from

Constructor & Destructor Documentation

CApaAppServiceBase()

IMPORT_CCApaAppServiceBase()

~CApaAppServiceBase()

IMPORT_C~CApaAppServiceBase()

Member Functions Documentation

CApaAppServiceBase_Reserved1()

IMPORT_C voidCApaAppServiceBase_Reserved1()[private, virtual]

CApaAppServiceBase_Reserved2()

IMPORT_C voidCApaAppServiceBase_Reserved2()[private, virtual]

CancelNotifyServerExit(const RMessage2 &)

voidCancelNotifyServerExit(const RMessage2 &aMessage)const [private]

Parameters

const RMessage2 & aMessage

CountResources()

IMPORT_C TIntCountResources()[protected, virtual]

CreateL()

IMPORT_C voidCreateL()[protected, virtual]

Disconnect(const RMessage2 &)

IMPORT_C voidDisconnect(const RMessage2 &aMessage)[protected, virtual]

Parameters

const RMessage2 & aMessage

ExtensionInterface(TUid, TAny *&)

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

Parameters

TUid aInterfaceId
TAny *& aImplementaion

NotifyServerExit(const RMessage2 &)

voidNotifyServerExit(const RMessage2 &aMessage)[private]

Parameters

const RMessage2 & aMessage

SecurityCheckL(const RMessage2 &, TInt &, TSecurityInfo &)

IMPORT_C CPolicyServer::TCustomResultSecurityCheckL(const RMessage2 &aMsg,
TInt &aAction,
TSecurityInfo &aMissing
)[virtual]

Parameters

const RMessage2 & aMsg
TInt & aAction
TSecurityInfo & aMissing

SendAppServerExitNotification(TInt)

voidSendAppServerExitNotification(TIntaExitReason)

Parameters

TInt aExitReason

ServiceError(const RMessage2 &, TInt)

IMPORT_C voidServiceError(const RMessage2 &aMessage,
TIntaError
)[protected, virtual]

Parameters

const RMessage2 & aMessage
TInt aError

ServiceL(const RMessage2 &)

IMPORT_C voidServiceL(const RMessage2 &aMessage)[protected, 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.

Member Data Documentation

TInt iApaReserved2

TInt iApaReserved2[private]

TInt iExitReason

TInt iExitReason[private]

RMessagePtr2 iNotifyExitMsg

RMessagePtr2 iNotifyExitMsg[private]