CSecureServer Class Reference

List of all members.

Public Member Functions

CSession2 * NewSessionL (const TVersion &aVersion, const RMessage2 &aMessage) const
CPolicyServer::TCustomResult CustomSecurityCheckL (const RMessage2 &aMsg, TInt &aAction, TSecurityInfo &aMissing)
CObjectCon * NewContainerL ()
void RemoveContainer (CObjectCon *aCon)
 ~CSecureServer ()

Static Public Member Functions

static CSecureServerNewL (CActive::TPriority aActiveObjectPriority)
static TInt ThreadFunction (TAny *aStarted)
static void PanicServer (TSecureServerPanic aPanic)

Detailed Description

The class that represents the secure server.

The server starts when the first client connects. When the server starts, it prepares:

See also:
CSecureServer

Definition at line 203 of file secureserver.h.


Constructor & Destructor Documentation

CSecureServer::~CSecureServer (  ) 

Member Function Documentation

CSession2 * CSecureServer::NewSessionL ( const TVersion &  aVersion,
const RMessage2 &  aMessage 
) const
CSecureServer * CSecureServer::NewL ( CActive::TPriority  aActiveObjectPriority  )  [static]
TInt CSecureServer::ThreadFunction ( TAny *  aStarted  )  [static]
void CSecureServer::PanicServer ( TSecureServerPanic  aPanic  )  [static]
CPolicyServer::TCustomResult CSecureServer::CustomSecurityCheckL ( const RMessage2 &  aMsg,
TInt &  aAction,
TSecurityInfo &  aMissing 
)

Performs a custom security check.

The policy server framework calls this function when a client sends requests to the server that are identified by the five enum values TSecureServerRequest::ESecureServerIncrease to TSecureServerRequest::ESecureServerReset. The request numbers match the client-side requests identified by the functions:

See the const arrays defined in secureserver.h. See the use of CPolicyServer::ECustomCheck in the third element in the array KSecureServerElementsIndex in secureserver.h.

Parameters:
aMsg The message to check.
aAction A reference to the action to take if the security check fails.
aMissing A reference to the list of security attributes missing from the checked process.
Returns:
A value from TCustomResult.

Definition at line 149 of file secureserverccountserver.cpp.

CObjectCon * CSecureServer::NewContainerL (  ) 
void CSecureServer::RemoveContainer ( CObjectCon *  aCon  ) 

Generated by  doxygen 1.6.2