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().
Public Member Functions | |
---|---|
CApaAppServiceBase() | |
~CApaAppServiceBase() | |
IMPORT_C CPolicyServer::TCustomResult | SecurityCheckL(const RMessage2 &, TInt &, TSecurityInfo &) |
void | SendAppServerExitNotification(TInt) |
Protected Member Functions | |
---|---|
IMPORT_C TInt | CountResources() |
IMPORT_C void | CreateL() |
IMPORT_C void | Disconnect(const RMessage2 &) |
IMPORT_C void | ServiceError(const RMessage2 &, TInt) |
IMPORT_C void | ServiceL(const RMessage2 &) |
Private Member Functions | |
---|---|
IMPORT_C void | CApaAppServiceBase_Reserved1() |
IMPORT_C void | CApaAppServiceBase_Reserved2() |
void | CancelNotifyServerExit(const RMessage2 &) |
IMPORT_C void | ExtensionInterface(TUid, TAny *&) |
void | NotifyServerExit(const RMessage2 &) |
Inherited Enumerations | |
---|---|
CSession2:TPanicNo |
Private Attributes | |
---|---|
TInt | iApaReserved2 |
TInt | iExitReason |
RMessagePtr2 | iNotifyExitMsg |
void | CancelNotifyServerExit | ( | const RMessage2 & | aMessage | ) | const [private] |
const RMessage2 & aMessage |
IMPORT_C void | Disconnect | ( | const RMessage2 & | aMessage | ) | [protected, virtual] |
const RMessage2 & aMessage |
IMPORT_C void | ExtensionInterface | ( | TUid | aInterfaceId, |
TAny *& | aImplementaion | |||
) | [private, virtual] |
void | NotifyServerExit | ( | const RMessage2 & | aMessage | ) | [private] |
const RMessage2 & aMessage |
IMPORT_C CPolicyServer::TCustomResult | SecurityCheckL | ( | const RMessage2 & | aMsg, |
TInt & | aAction, | |||
TSecurityInfo & | aMissing | |||
) | [virtual] |
const RMessage2 & aMsg | |
TInt & aAction | |
TSecurityInfo & aMissing |
void | SendAppServerExitNotification | ( | TInt | aExitReason | ) |
TInt aExitReason |
IMPORT_C void | ServiceError | ( | const RMessage2 & | aMessage, |
TInt | aError | |||
) | [protected, virtual] |
IMPORT_C void | ServiceL | ( | 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.
const RMessage2 & aMessage | The message containing the details of the client request. |