CAknAppServer Class Reference

#include <mw/AknServerApp.h>

class CAknAppServer : public CEikAppServer

Inherits from

  • CAknAppServer
    Public Member Functions
    ~CAknAppServer()
    virtual IMPORT_C voidConstructL(const TDesC &)
    virtual IMPORT_C CApaAppServiceBase *CreateServiceL(TUid)
    virtual IMPORT_C voidHandleAllClientsClosed()
    voidHandleSessionClose()
    voidHandleSessionOpen()
    Inherited Attributes
    CActive::iStatus
    CServer2::iSessionIter
    Inherited Enumerations
    CActive:TPriority
    CPolicyServer:TCustomResult
    CPolicyServer:TFailureAction
    CPolicyServer:TSpecialCase
    CServer2:TPanic
    CServer2:TServerType
    Inherited Functions
    CActive::CActive(TInt)
    CActive::Cancel()
    CActive::Deque()
    CActive::IsActive()const
    CActive::IsAdded()const
    CActive::Priority()const
    CActive::SetActive()
    CActive::SetPriority(TInt)
    CActive::~CActive()
    CApaAppServer::CApaAppServer()
    CApaAppServer::CustomSecurityCheckL(const RMessage2 &,TInt &,TSecurityInfo &)
    CApaAppServer::DoConnect(const RMessage2 &)
    CApaAppServer::NotifyServerExit(TInt)
    CApaAppServer::~CApaAppServer()
    CBase::CBase()
    CBase::Delete(CBase *)
    CBase::operator new(TUint)
    CBase::operator new(TUint,TAny *)
    CBase::operator new(TUint,TLeave)
    CBase::operator new(TUint,TLeave,TUint)
    CBase::operator new(TUint,TUint)
    CBase::~CBase()
    CEikAppServer::ConstructUniqueL(TUint,TUid)
    CEikAppServer::CreateServiceSecurityCheckL(TUid,const RMessage2 &,TInt &,TSecurityInfo &)
    CPolicyServer::CPolicyServer(TInt,const TPolicy &,TServerType)
    CPolicyServer::CheckFailedL(const RMessage2 &,TInt,const TSecurityInfo &)
    CPolicyServer::CustomFailureActionL(const RMessage2 &,TInt,const TSecurityInfo &)
    CPolicyServer::Extension_(TUint,TAny *&,TAny *)
    CPolicyServer::ProcessError(const RMessage2 &,TInt)
    CPolicyServer::ProcessL(const RMessage2 &)
    CServer2::CServer2(TInt,TServerType)
    CServer2::DoCancel()
    CServer2::Message()const
    CServer2::ReStart()
    CServer2::Server()const
    CServer2::SetMaster(const CServer2 *)
    CServer2::SetPinClientDescriptors(TBool)
    CServer2::Start(const TDesC &)
    CServer2::StartL(const TDesC &)
    CServer2::~CServer2()

    Detailed Description

    Base class for server app's servers. 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().

    Constructor & Destructor Documentation

    ~CAknAppServer ( )

    IMPORT_C~CAknAppServer()

    Destructor

    Member Function Documentation

    ConstructL ( const TDesC & )

    IMPORT_C voidConstructL(const TDesC &aFixedServerName)[virtual]

    Reimplemented from CEikAppServer::ConstructL(const TDesC &)

    Second stage construction. Derived classes may override this to add extra second stage constuction, but they must base-call.

    ParameterDescription
    aFixedServerNamethe name that this server will have, must be passed through in the base-call.

    CreateServiceL ( TUid )

    IMPORT_C CApaAppServiceBase *CreateServiceL(TUidaServiceType)const [virtual]

    Reimplemented from CEikAppServer::CreateServiceL(TUid)const

    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.

    ParameterDescription
    aServiceTypethe UID of the service that has been requested

    Returns: a new service instance of the type requested

    HandleAllClientsClosed ( )

    IMPORT_C voidHandleAllClientsClosed()[virtual]

    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.

    HandleSessionClose ( )

    voidHandleSessionClose()

    HandleSessionOpen ( )

    voidHandleSessionOpen()