diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_secure_server.html --- a/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_secure_server.html Tue Mar 30 11:56:28 2010 +0100 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_secure_server.html Tue Mar 30 16:16:55 2010 +0100 @@ -1,70 +1,67 @@ - - -TB10.1 Example Applications: CSecureServer Class Reference - - - - + + + + +TB9.2 Example Applications: CSecureServer Class Reference + + + + + +

CSecureServer Class Reference

-

-List of all members. - - - - - - - - - +

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)
+ + + + + + + + + + +

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
~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 190 of file secureserver.h.

-

Constructor & Destructor Documentation

- +

Definition at line 190 of file secureserver.h.

+

Constructor & Destructor Documentation

+
- + - + - +
CSecureServer::~CSecureServer CSecureServer::~CSecureServer (  ) 
+

Destructor.

-

-Destructor. -

Definition at line 98 of file secureserverccountserver.cpp.

+

Definition at line 98 of file secureserverccountserver.cpp.

-

-


Member Function Documentation

- +
+

Member Function Documentation

+
- + @@ -78,115 +75,118 @@ - +
CSession2 * CSecureServer::NewSessionL CSession2 * CSecureServer::NewSessionL ( const TVersion &  aVersion,
) const const
- -

-Creates a server-side session object.

Parameters:
+

Creates a server-side session object.

+
Parameters:
aVersion The version information supplied by the client.
aMessage Represents the details of the client request that is requesting the creation of the session.
+
-

Definition at line 108 of file secureserverccountserver.cpp.

+

Definition at line 108 of file secureserverccountserver.cpp.

-

- + +

- + - + - +
CSecureServer * CSecureServer::NewL CSecureServer * CSecureServer::NewL ( CActive::TPriority  aActiveObjectPriority aActiveObjectPriority  )  [static] [static]
- -

-Creates a new server object and returns the handle to it.

Parameters:
+

Creates a new server object and returns the handle to it.

+
Parameters:
aActiveObjectPriority The priority of the secure server. The secure server is an active object. It is derived from CActive and the priority value is the priority of the active object.
+
-
See also:
CActive
+
See also:
CActive
-

Definition at line 40 of file secureserverccountserver.cpp.

+

Definition at line 40 of file secureserverccountserver.cpp.

-

- + +

- + - + - +
TInt CSecureServer::ThreadFunction TInt CSecureServer::ThreadFunction ( TAny *  aStarted aStarted  )  [static] [static]
+

The thread function that makes the server ready for use. The Symbian platform calls the function when the server thread starts to run. This is a static function, and it

+ +
Parameters:
+ + +
aStarted aStarted
+
+
-

-The thread function that makes the server ready for use. Symbian platform calls the function when the server thread starts to run. This is a static function, and:

-
Parameters:
- - -
aStarted  -aStarted
-
-

Definition at line 34 of file secureserver.cpp.

+

Definition at line 34 of file secureserver.cpp.

-

- + +

- + - - + + - +
void CSecureServer::PanicServer void CSecureServer::PanicServer (TSecureServerPanic  aPanic TSecureServerPanic  aPanic  )  [static] [static]
- -

-Panics the server.

Parameters:
+

Panics the server.

+
Parameters:
aPanic The reason for the panic.
+
-

Definition at line 29 of file secureserverccountserver.cpp.

+

Definition at line 29 of file secureserverccountserver.cpp.

-

- + +

- + @@ -206,81 +206,86 @@ - +
CPolicyServer::TCustomResult CSecureServer::CustomSecurityCheckL CPolicyServer::TCustomResult CSecureServer::CustomSecurityCheckL ( const RMessage2 &  aMsg,
)
- -

-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:
+

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.
+
Returns:
A value from TCustomResult.
-

Definition at line 136 of file secureserverccountserver.cpp.

+

Definition at line 136 of file secureserverccountserver.cpp.

-

- + +

- + - + - +
CObjectCon * CSecureServer::NewContainerL CObjectCon * CSecureServer::NewContainerL (  ) 
+

Creates a new object container when creating sub sessions.

+
Returns:
An object container.
-

-Creates a new object container when creating sub sessions.

Returns:
An object container.
- -

Definition at line 53 of file secureserverccountserver.cpp.

+

Definition at line 53 of file secureserverccountserver.cpp.

-

- + +

- + - + - +
void CSecureServer::RemoveContainer void CSecureServer::RemoveContainer ( CObjectCon *  aCon aCon  ) 
- -

-Removes an object from the object container.

Parameters:
+

Removes an object from the object container.

+
Parameters:
aCon A pointer to the object to be removed from the container.
+
-

Definition at line 62 of file secureserverccountserver.cpp.

+

Definition at line 62 of file secureserverccountserver.cpp.

-

-


Generated on Thu Jan 21 10:33:07 2010 for TB10.1 Example Applications by  + + +
Generated by  -doxygen 1.5.3
+doxygen 1.6.2