API published in: S60 3rd Ed
Link against: avkon.lib
Required Capabilities
None
#include <aknserverapp.h>
Series 60 applications that want to implement services should derive their server class from this. This class already supports the standard Series 60 services, and is instantiated by default if an application is launched as a server app, but does not override CAknApp::NewServerAppL().
Public Member Functions |
|
IMPORT_C | ~CAknAppServer () |
Destructor. |
|
IMPORT_C void | ConstructL (const TDesC &aFixedServerName) |
Second stage construction. |
|
IMPORT_C CApaAppServiceBase * | CreateServiceL (TUid aServiceType) const |
Create a new service implementation. |
|
virtual IMPORT_C void | HandleAllClientsClosed () |
Allows the server to handle the case when all client sessions have closed. |
|
void | HandleSessionClose () |
void | HandleSessionOpen () |
|
Destructor. |
|
Second stage construction. Derived classes may override this to add extra second stage constuction, but they must base-call.
|
|
Create a new service implementation. This implementation creates common Series 60 services. Derived classes can override this to add support for specific services that they support. They must base-call for any service UIDs that they do not support.
|
|
Allows the server to handle the case when all client sessions have closed. The default implementation provides the Series 60 policy of closing the server application. If this is not appropriate for a server app, it should override this function to provide its own behavior. |
|
|