Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_secure_server.html
changeset 6 43e37759235e
parent 1 25a17d01db0c
equal deleted inserted replaced
5:f345bda72bc4 6:43e37759235e
     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
     1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
     2 <html xmlns="http://www.w3.org/1999/xhtml">
     3 <title>TB10.1 Example Applications: CSecureServer Class Reference</title>
     3 <head>
     4 <link href="doxygen.css" rel="stylesheet" type="text/css">
     4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
     5 <link href="tabs.css" rel="stylesheet" type="text/css">
     5 <title>TB9.2 Example Applications: CSecureServer Class Reference</title>
     6 </head><body>
     6 <link href="tabs.css" rel="stylesheet" type="text/css"/>
     7 <!-- Generated by Doxygen 1.5.3 -->
     7 <link href="doxygen.css" rel="stylesheet" type="text/css"/>
       
     8 </head>
       
     9 <body>
       
    10 <!-- Generated by Doxygen 1.6.2 -->
       
    11 <div class="contents">
     8 <h1>CSecureServer Class Reference</h1><!-- doxytag: class="CSecureServer" -->
    12 <h1>CSecureServer Class Reference</h1><!-- doxytag: class="CSecureServer" -->
     9 <p>
    13 <p><a href="class_c_secure_server-members.html">List of all members.</a></p>
    10 <a href="class_c_secure_server-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
    14 <table border="0" cellpadding="0" cellspacing="0">
    11 <tr><td></td></tr>
    15 <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
    12 <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
    16 <tr><td class="memItemLeft" align="right" valign="top">CSession2 *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_secure_server.html#a1f53e7eb732c048d41f7a74069c971bf">NewSessionL</a> (const TVersion &amp;aVersion, const RMessage2 &amp;aMessage) const </td></tr>
    13 <tr><td class="memItemLeft" nowrap align="right" valign="top">CSession2 *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_secure_server.html#1f53e7eb732c048d41f7a74069c971bf">NewSessionL</a> (const TVersion &amp;aVersion, const RMessage2 &amp;aMessage) const </td></tr>
    17 <tr><td class="memItemLeft" align="right" valign="top">CPolicyServer::TCustomResult&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_secure_server.html#acf179b4c14ae84701779f659c9e4488f">CustomSecurityCheckL</a> (const RMessage2 &amp;aMsg, TInt &amp;aAction, TSecurityInfo &amp;aMissing)</td></tr>
    14 
    18 <tr><td class="memItemLeft" align="right" valign="top">CObjectCon *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_secure_server.html#a65a88f3753c16940867d3b277608bdac">NewContainerL</a> ()</td></tr>
    15 <tr><td class="memItemLeft" nowrap align="right" valign="top">CPolicyServer::TCustomResult&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_secure_server.html#cf179b4c14ae84701779f659c9e4488f">CustomSecurityCheckL</a> (const RMessage2 &amp;aMsg, TInt &amp;aAction, TSecurityInfo &amp;aMissing)</td></tr>
    19 <tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_secure_server.html#ae6b5aba2bd5e4b8bffaa4febbe874e37">RemoveContainer</a> (CObjectCon *aCon)</td></tr>
    16 
    20 <tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_secure_server.html#a42202b0478075c59aa39dca27b1cb48d">~CSecureServer</a> ()</td></tr>
    17 <tr><td class="memItemLeft" nowrap align="right" valign="top">CObjectCon *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_secure_server.html#65a88f3753c16940867d3b277608bdac">NewContainerL</a> ()</td></tr>
    21 <tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
    18 
    22 <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_c_secure_server.html">CSecureServer</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_secure_server.html#a3d4524a4e4accf80a32364780ae43e91">NewL</a> (CActive::TPriority aActiveObjectPriority)</td></tr>
    19 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_secure_server.html#e6b5aba2bd5e4b8bffaa4febbe874e37">RemoveContainer</a> (CObjectCon *aCon)</td></tr>
    23 <tr><td class="memItemLeft" align="right" valign="top">static TInt&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_secure_server.html#a97b0ca5c5966bba8c0cee269d1909b75">ThreadFunction</a> (TAny *aStarted)</td></tr>
    20 
    24 <tr><td class="memItemLeft" align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_secure_server.html#ac8c14996a41c6d897efaee0fa7d12cd2">PanicServer</a> (<a class="el" href="secureserver_8h.html#a091a5ad2956fb84c4470a59010a0d4ef">TSecureServerPanic</a> aPanic)</td></tr>
    21 <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_secure_server.html#42202b0478075c59aa39dca27b1cb48d">~CSecureServer</a> ()</td></tr>
       
    22 
       
    23 <tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
       
    24 <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="class_c_secure_server.html">CSecureServer</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_secure_server.html#3d4524a4e4accf80a32364780ae43e91">NewL</a> (CActive::TPriority aActiveObjectPriority)</td></tr>
       
    25 
       
    26 <tr><td class="memItemLeft" nowrap align="right" valign="top">static TInt&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_secure_server.html#97b0ca5c5966bba8c0cee269d1909b75">ThreadFunction</a> (TAny *aStarted)</td></tr>
       
    27 
       
    28 <tr><td class="memItemLeft" nowrap align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_secure_server.html#c8c14996a41c6d897efaee0fa7d12cd2">PanicServer</a> (<a class="el" href="secureserver_8h.html#091a5ad2956fb84c4470a59010a0d4ef">TSecureServerPanic</a> aPanic)</td></tr>
       
    29 
       
    30 </table>
    25 </table>
    31 <hr><a name="_details"></a><h2>Detailed Description</h2>
    26 <hr/><a name="_details"></a><h2>Detailed Description</h2>
    32 The class that represents the secure server.<p>
    27 <p>The class that represents the secure server.</p>
    33 The server starts when the first client connects. When the server starts, it prepares:<ul>
    28 <p>The server starts when the first client connects. When the server starts, it prepares:</p>
    34 <li>the active scheduler</li><li>the server active object</li><li>the object container index which produces object containers for each session.</li></ul>
    29 <ul>
    35 <p>
    30 <li>the active scheduler</li>
    36 <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_c_secure_server.html">CSecureServer</a> </dd></dl>
    31 <li>the server active object</li>
    37 
    32 <li>the object container index which produces object containers for each session.</li>
    38 <p>Definition at line <a class="el" href="secureserver_8h-source.html#l00190">190</a> of file <a class="el" href="secureserver_8h-source.html">secureserver.h</a>.</p>
    33 </ul>
    39 <hr><h2>Constructor &amp; Destructor Documentation</h2>
    34 <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_c_secure_server.html">CSecureServer</a> </dd></dl>
    40 <a class="anchor" name="42202b0478075c59aa39dca27b1cb48d"></a><!-- doxytag: member="CSecureServer::~CSecureServer" ref="42202b0478075c59aa39dca27b1cb48d" args="()" -->
    35 
    41 <div class="memitem">
    36 <p>Definition at line <a class="el" href="secureserver_8h_source.html#l00190">190</a> of file <a class="el" href="secureserver_8h_source.html">secureserver.h</a>.</p>
    42 <div class="memproto">
    37 <hr/><h2>Constructor &amp; Destructor Documentation</h2>
    43       <table class="memname">
    38 <a class="anchor" id="a42202b0478075c59aa39dca27b1cb48d"></a><!-- doxytag: member="CSecureServer::~CSecureServer" ref="a42202b0478075c59aa39dca27b1cb48d" args="()" -->
    44         <tr>
    39 <div class="memitem">
    45           <td class="memname">CSecureServer::~CSecureServer           </td>
    40 <div class="memproto">
    46           <td>(</td>
    41       <table class="memname">
    47           <td class="paramname">          </td>
    42         <tr>
    48           <td>&nbsp;)&nbsp;</td>
    43           <td class="memname">CSecureServer::~CSecureServer </td>
    49           <td width="100%"></td>
    44           <td>(</td>
    50         </tr>
    45           <td class="paramname"></td>
    51       </table>
    46           <td>&nbsp;)&nbsp;</td>
    52 </div>
    47           <td></td>
    53 <div class="memdoc">
    48         </tr>
    54 
    49       </table>
    55 <p>
    50 </div>
    56 Destructor. 
    51 <div class="memdoc">
    57 <p>Definition at line <a class="el" href="secureserverccountserver_8cpp-source.html#l00098">98</a> of file <a class="el" href="secureserverccountserver_8cpp-source.html">secureserverccountserver.cpp</a>.</p>
    52 <p>Destructor. </p>
    58 
    53 
    59 </div>
    54 <p>Definition at line <a class="el" href="secureserverccountserver_8cpp_source.html#l00098">98</a> of file <a class="el" href="secureserverccountserver_8cpp_source.html">secureserverccountserver.cpp</a>.</p>
    60 </div><p>
    55 
    61 <hr><h2>Member Function Documentation</h2>
    56 </div>
    62 <a class="anchor" name="1f53e7eb732c048d41f7a74069c971bf"></a><!-- doxytag: member="CSecureServer::NewSessionL" ref="1f53e7eb732c048d41f7a74069c971bf" args="(const TVersion &amp;aVersion, const RMessage2 &amp;aMessage) const " -->
    57 </div>
    63 <div class="memitem">
    58 <hr/><h2>Member Function Documentation</h2>
    64 <div class="memproto">
    59 <a class="anchor" id="a1f53e7eb732c048d41f7a74069c971bf"></a><!-- doxytag: member="CSecureServer::NewSessionL" ref="a1f53e7eb732c048d41f7a74069c971bf" args="(const TVersion &amp;aVersion, const RMessage2 &amp;aMessage) const " -->
    65       <table class="memname">
    60 <div class="memitem">
    66         <tr>
    61 <div class="memproto">
    67           <td class="memname">CSession2 * CSecureServer::NewSessionL           </td>
    62       <table class="memname">
       
    63         <tr>
       
    64           <td class="memname">CSession2 * CSecureServer::NewSessionL </td>
    68           <td>(</td>
    65           <td>(</td>
    69           <td class="paramtype">const TVersion &amp;&nbsp;</td>
    66           <td class="paramtype">const TVersion &amp;&nbsp;</td>
    70           <td class="paramname"> <em>aVersion</em>, </td>
    67           <td class="paramname"> <em>aVersion</em>, </td>
    71         </tr>
    68         </tr>
    72         <tr>
    69         <tr>
    76           <td class="paramname"> <em>aMessage</em></td><td>&nbsp;</td>
    73           <td class="paramname"> <em>aMessage</em></td><td>&nbsp;</td>
    77         </tr>
    74         </tr>
    78         <tr>
    75         <tr>
    79           <td></td>
    76           <td></td>
    80           <td>)</td>
    77           <td>)</td>
    81           <td></td><td></td><td width="100%"> const</td>
    78           <td></td><td></td><td> const</td>
    82         </tr>
    79         </tr>
    83       </table>
    80       </table>
    84 </div>
    81 </div>
    85 <div class="memdoc">
    82 <div class="memdoc">
    86 
    83 <p>Creates a server-side session object. </p>
    87 <p>
    84 <dl><dt><b>Parameters:</b></dt><dd>
    88 Creates a server-side session object. <dl compact><dt><b>Parameters:</b></dt><dd>
       
    89   <table border="0" cellspacing="2" cellpadding="0">
    85   <table border="0" cellspacing="2" cellpadding="0">
    90     <tr><td valign="top"></td><td valign="top"><em>aVersion</em>&nbsp;</td><td>The version information supplied by the client. </td></tr>
    86     <tr><td valign="top"></td><td valign="top"><em>aVersion</em>&nbsp;</td><td>The version information supplied by the client. </td></tr>
    91     <tr><td valign="top"></td><td valign="top"><em>aMessage</em>&nbsp;</td><td>Represents the details of the client request that is requesting the creation of the session. </td></tr>
    87     <tr><td valign="top"></td><td valign="top"><em>aMessage</em>&nbsp;</td><td>Represents the details of the client request that is requesting the creation of the session. </td></tr>
    92   </table>
    88   </table>
    93 </dl>
    89   </dd>
    94 
    90 </dl>
    95 <p>Definition at line <a class="el" href="secureserverccountserver_8cpp-source.html#l00108">108</a> of file <a class="el" href="secureserverccountserver_8cpp-source.html">secureserverccountserver.cpp</a>.</p>
    91 
    96 
    92 <p>Definition at line <a class="el" href="secureserverccountserver_8cpp_source.html#l00108">108</a> of file <a class="el" href="secureserverccountserver_8cpp_source.html">secureserverccountserver.cpp</a>.</p>
    97 </div>
    93 
    98 </div><p>
    94 </div>
    99 <a class="anchor" name="3d4524a4e4accf80a32364780ae43e91"></a><!-- doxytag: member="CSecureServer::NewL" ref="3d4524a4e4accf80a32364780ae43e91" args="(CActive::TPriority aActiveObjectPriority)" -->
    95 </div>
   100 <div class="memitem">
    96 <a class="anchor" id="a3d4524a4e4accf80a32364780ae43e91"></a><!-- doxytag: member="CSecureServer::NewL" ref="a3d4524a4e4accf80a32364780ae43e91" args="(CActive::TPriority aActiveObjectPriority)" -->
   101 <div class="memproto">
    97 <div class="memitem">
   102       <table class="memname">
    98 <div class="memproto">
   103         <tr>
    99       <table class="memname">
   104           <td class="memname"><a class="el" href="class_c_secure_server.html">CSecureServer</a> * CSecureServer::NewL           </td>
   100         <tr>
       
   101           <td class="memname"><a class="el" href="class_c_secure_server.html">CSecureServer</a> * CSecureServer::NewL </td>
   105           <td>(</td>
   102           <td>(</td>
   106           <td class="paramtype">CActive::TPriority&nbsp;</td>
   103           <td class="paramtype">CActive::TPriority&nbsp;</td>
   107           <td class="paramname"> <em>aActiveObjectPriority</em>          </td>
   104           <td class="paramname"> <em>aActiveObjectPriority</em></td>
   108           <td>&nbsp;)&nbsp;</td>
   105           <td>&nbsp;)&nbsp;</td>
   109           <td width="100%"><code> [static]</code></td>
   106           <td><code> [static]</code></td>
   110         </tr>
   107         </tr>
   111       </table>
   108       </table>
   112 </div>
   109 </div>
   113 <div class="memdoc">
   110 <div class="memdoc">
   114 
   111 <p>Creates a new server object and returns the handle to it. </p>
   115 <p>
   112 <dl><dt><b>Parameters:</b></dt><dd>
   116 Creates a new server object and returns the handle to it. <dl compact><dt><b>Parameters:</b></dt><dd>
       
   117   <table border="0" cellspacing="2" cellpadding="0">
   113   <table border="0" cellspacing="2" cellpadding="0">
   118     <tr><td valign="top"></td><td valign="top"><em>aActiveObjectPriority</em>&nbsp;</td><td>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. </td></tr>
   114     <tr><td valign="top"></td><td valign="top"><em>aActiveObjectPriority</em>&nbsp;</td><td>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. </td></tr>
   119   </table>
   115   </table>
   120 </dl>
   116   </dd>
   121 <dl class="see" compact><dt><b>See also:</b></dt><dd>CActive </dd></dl>
   117 </dl>
   122 
   118 <dl class="see"><dt><b>See also:</b></dt><dd>CActive </dd></dl>
   123 <p>Definition at line <a class="el" href="secureserverccountserver_8cpp-source.html#l00040">40</a> of file <a class="el" href="secureserverccountserver_8cpp-source.html">secureserverccountserver.cpp</a>.</p>
   119 
   124 
   120 <p>Definition at line <a class="el" href="secureserverccountserver_8cpp_source.html#l00040">40</a> of file <a class="el" href="secureserverccountserver_8cpp_source.html">secureserverccountserver.cpp</a>.</p>
   125 </div>
   121 
   126 </div><p>
   122 </div>
   127 <a class="anchor" name="97b0ca5c5966bba8c0cee269d1909b75"></a><!-- doxytag: member="CSecureServer::ThreadFunction" ref="97b0ca5c5966bba8c0cee269d1909b75" args="(TAny *aStarted)" -->
   123 </div>
   128 <div class="memitem">
   124 <a class="anchor" id="a97b0ca5c5966bba8c0cee269d1909b75"></a><!-- doxytag: member="CSecureServer::ThreadFunction" ref="a97b0ca5c5966bba8c0cee269d1909b75" args="(TAny *aStarted)" -->
   129 <div class="memproto">
   125 <div class="memitem">
   130       <table class="memname">
   126 <div class="memproto">
   131         <tr>
   127       <table class="memname">
   132           <td class="memname">TInt CSecureServer::ThreadFunction           </td>
   128         <tr>
       
   129           <td class="memname">TInt CSecureServer::ThreadFunction </td>
   133           <td>(</td>
   130           <td>(</td>
   134           <td class="paramtype">TAny *&nbsp;</td>
   131           <td class="paramtype">TAny *&nbsp;</td>
   135           <td class="paramname"> <em>aStarted</em>          </td>
   132           <td class="paramname"> <em>aStarted</em></td>
   136           <td>&nbsp;)&nbsp;</td>
   133           <td>&nbsp;)&nbsp;</td>
   137           <td width="100%"><code> [static]</code></td>
   134           <td><code> [static]</code></td>
   138         </tr>
   135         </tr>
   139       </table>
   136       </table>
   140 </div>
   137 </div>
   141 <div class="memdoc">
   138 <div class="memdoc">
   142 
   139 <p>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</p>
   143 <p>
   140 <ul>
   144 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:<ul>
   141 <li>creates the server object</li>
   145 <li>creates the server object</li><li>creates the server’s active scheduler</li><li>starts the server’s active scheduler <dl class="return" compact><dt><b>Returns:</b></dt><dd>KErrNone. </dd></dl>
   142 <li>creates the server’s active scheduler</li>
   146 </li></ul>
   143 <li>starts the server’s active scheduler <dl class="return"><dt><b>Returns:</b></dt><dd>KErrNone. </dd></dl>
   147 <dl compact><dt><b>Parameters: </b></dt><dd>
   144 </li>
   148 <table border="0" cellspacing="2" cellpadding="0">
   145 </ul>
   149 <tr><td valign="top"><em>aStarted</em>&nbsp;</td><td>
   146 <dl><dt><b>Parameters:</b></dt><dd>
   150 aStarted </td></tr>
   147   <table border="0" cellspacing="2" cellpadding="0">
   151 </table>
   148     <tr><td valign="top"></td><td valign="top"><em>aStarted</em>&nbsp;</td><td>aStarted </td></tr>
   152 </dl>
   149   </table>
   153 <p>Definition at line <a class="el" href="secureserver_8cpp-source.html#l00034">34</a> of file <a class="el" href="secureserver_8cpp-source.html">secureserver.cpp</a>.</p>
   150   </dd>
   154 
   151 </dl>
   155 </div>
   152 
   156 </div><p>
   153 <p>Definition at line <a class="el" href="secureserver_8cpp_source.html#l00034">34</a> of file <a class="el" href="secureserver_8cpp_source.html">secureserver.cpp</a>.</p>
   157 <a class="anchor" name="c8c14996a41c6d897efaee0fa7d12cd2"></a><!-- doxytag: member="CSecureServer::PanicServer" ref="c8c14996a41c6d897efaee0fa7d12cd2" args="(TSecureServerPanic aPanic)" -->
   154 
   158 <div class="memitem">
   155 </div>
   159 <div class="memproto">
   156 </div>
   160       <table class="memname">
   157 <a class="anchor" id="ac8c14996a41c6d897efaee0fa7d12cd2"></a><!-- doxytag: member="CSecureServer::PanicServer" ref="ac8c14996a41c6d897efaee0fa7d12cd2" args="(TSecureServerPanic aPanic)" -->
   161         <tr>
   158 <div class="memitem">
   162           <td class="memname">void CSecureServer::PanicServer           </td>
   159 <div class="memproto">
   163           <td>(</td>
   160       <table class="memname">
   164           <td class="paramtype"><a class="el" href="secureserver_8h.html#091a5ad2956fb84c4470a59010a0d4ef">TSecureServerPanic</a>&nbsp;</td>
   161         <tr>
   165           <td class="paramname"> <em>aPanic</em>          </td>
   162           <td class="memname">void CSecureServer::PanicServer </td>
   166           <td>&nbsp;)&nbsp;</td>
   163           <td>(</td>
   167           <td width="100%"><code> [static]</code></td>
   164           <td class="paramtype"><a class="el" href="secureserver_8h.html#a091a5ad2956fb84c4470a59010a0d4ef">TSecureServerPanic</a>&nbsp;</td>
   168         </tr>
   165           <td class="paramname"> <em>aPanic</em></td>
   169       </table>
   166           <td>&nbsp;)&nbsp;</td>
   170 </div>
   167           <td><code> [static]</code></td>
   171 <div class="memdoc">
   168         </tr>
   172 
   169       </table>
   173 <p>
   170 </div>
   174 Panics the server. <dl compact><dt><b>Parameters:</b></dt><dd>
   171 <div class="memdoc">
       
   172 <p>Panics the server. </p>
       
   173 <dl><dt><b>Parameters:</b></dt><dd>
   175   <table border="0" cellspacing="2" cellpadding="0">
   174   <table border="0" cellspacing="2" cellpadding="0">
   176     <tr><td valign="top"></td><td valign="top"><em>aPanic</em>&nbsp;</td><td>The reason for the panic. </td></tr>
   175     <tr><td valign="top"></td><td valign="top"><em>aPanic</em>&nbsp;</td><td>The reason for the panic. </td></tr>
   177   </table>
   176   </table>
   178 </dl>
   177   </dd>
   179 
   178 </dl>
   180 <p>Definition at line <a class="el" href="secureserverccountserver_8cpp-source.html#l00029">29</a> of file <a class="el" href="secureserverccountserver_8cpp-source.html">secureserverccountserver.cpp</a>.</p>
   179 
   181 
   180 <p>Definition at line <a class="el" href="secureserverccountserver_8cpp_source.html#l00029">29</a> of file <a class="el" href="secureserverccountserver_8cpp_source.html">secureserverccountserver.cpp</a>.</p>
   182 </div>
   181 
   183 </div><p>
   182 </div>
   184 <a class="anchor" name="cf179b4c14ae84701779f659c9e4488f"></a><!-- doxytag: member="CSecureServer::CustomSecurityCheckL" ref="cf179b4c14ae84701779f659c9e4488f" args="(const RMessage2 &amp;aMsg, TInt &amp;aAction, TSecurityInfo &amp;aMissing)" -->
   183 </div>
   185 <div class="memitem">
   184 <a class="anchor" id="acf179b4c14ae84701779f659c9e4488f"></a><!-- doxytag: member="CSecureServer::CustomSecurityCheckL" ref="acf179b4c14ae84701779f659c9e4488f" args="(const RMessage2 &amp;aMsg, TInt &amp;aAction, TSecurityInfo &amp;aMissing)" -->
   186 <div class="memproto">
   185 <div class="memitem">
   187       <table class="memname">
   186 <div class="memproto">
   188         <tr>
   187       <table class="memname">
   189           <td class="memname">CPolicyServer::TCustomResult CSecureServer::CustomSecurityCheckL           </td>
   188         <tr>
       
   189           <td class="memname">CPolicyServer::TCustomResult CSecureServer::CustomSecurityCheckL </td>
   190           <td>(</td>
   190           <td>(</td>
   191           <td class="paramtype">const RMessage2 &amp;&nbsp;</td>
   191           <td class="paramtype">const RMessage2 &amp;&nbsp;</td>
   192           <td class="paramname"> <em>aMsg</em>, </td>
   192           <td class="paramname"> <em>aMsg</em>, </td>
   193         </tr>
   193         </tr>
   194         <tr>
   194         <tr>
   204           <td class="paramname"> <em>aMissing</em></td><td>&nbsp;</td>
   204           <td class="paramname"> <em>aMissing</em></td><td>&nbsp;</td>
   205         </tr>
   205         </tr>
   206         <tr>
   206         <tr>
   207           <td></td>
   207           <td></td>
   208           <td>)</td>
   208           <td>)</td>
   209           <td></td><td></td><td width="100%"></td>
   209           <td></td><td></td><td></td>
   210         </tr>
   210         </tr>
   211       </table>
   211       </table>
   212 </div>
   212 </div>
   213 <div class="memdoc">
   213 <div class="memdoc">
   214 
   214 <p>Performs a custom security check.</p>
   215 <p>
   215 <p>The policy server framework calls this function when a client sends requests to the server that are identified by the five enum values <a class="el" href="secureclientandserver_8h.html#a19a3f57ac2d7b8518f6682573ac637c2a1b3935c0f5f79f45a27de1fa32654e17">TSecureServerRequest::ESecureServerIncrease</a> to <a class="el" href="secureclientandserver_8h.html#a19a3f57ac2d7b8518f6682573ac637c2aa9d1e980d9ed0a23782b98761d7e57d7">TSecureServerRequest::ESecureServerReset</a>. The request numbers match the client-side requests identified by the functions:</p>
   216 Performs a custom security check.<p>
   216 <ul>
   217 The policy server framework calls this function when a client sends requests to the server that are identified by the five enum values <a class="el" href="secureclientandserver_8h.html#19a3f57ac2d7b8518f6682573ac637c21b3935c0f5f79f45a27de1fa32654e17">TSecureServerRequest::ESecureServerIncrease</a> to <a class="el" href="secureclientandserver_8h.html#19a3f57ac2d7b8518f6682573ac637c2a9d1e980d9ed0a23782b98761d7e57d7">TSecureServerRequest::ESecureServerReset</a>. The request numbers match the client-side requests identified by the functions:<ul>
   217 <li><a class="el" href="class_r_secure_sub_session.html#aa33648763c953202fb21f037b2d413e9">RSecureSubSession::Increase()</a>;</li>
   218 <li><a class="el" href="class_r_secure_sub_session.html#a33648763c953202fb21f037b2d413e9">RSecureSubSession::Increase()</a>;</li><li><a class="el" href="class_r_secure_sub_session.html#398e6146ebf438ee1f0b24c77b5b767c">RSecureSubSession::Decrease()</a>;</li><li>RSecureSubSession::IncreaseBy(TInt anInt);</li><li>RSecureSubSession::DecreaseBy(TInt anInt);</li><li><a class="el" href="class_r_secure_sub_session.html#9ce8394ea263eaba7f462bc2fdc62127">RSecureSubSession::Reset()</a>;</li></ul>
   218 <li><a class="el" href="class_r_secure_sub_session.html#a398e6146ebf438ee1f0b24c77b5b767c">RSecureSubSession::Decrease()</a>;</li>
   219 <p>
   219 <li>RSecureSubSession::IncreaseBy(TInt anInt);</li>
   220 See the const arrays defined in <a class="el" href="secureserver_8h.html">secureserver.h</a>. See the use of CPolicyServer::ECustomCheck in the third element in the array KSecureServerElementsIndex in <a class="el" href="secureserver_8h.html">secureserver.h</a>. <dl compact><dt><b>Parameters:</b></dt><dd>
   220 <li>RSecureSubSession::DecreaseBy(TInt anInt);</li>
       
   221 <li><a class="el" href="class_r_secure_sub_session.html#a9ce8394ea263eaba7f462bc2fdc62127">RSecureSubSession::Reset()</a>;</li>
       
   222 </ul>
       
   223 <p>See the const arrays defined in <a class="el" href="secureserver_8h.html">secureserver.h</a>. See the use of CPolicyServer::ECustomCheck in the third element in the array KSecureServerElementsIndex in <a class="el" href="secureserver_8h.html">secureserver.h</a>. </p>
       
   224 <dl><dt><b>Parameters:</b></dt><dd>
   221   <table border="0" cellspacing="2" cellpadding="0">
   225   <table border="0" cellspacing="2" cellpadding="0">
   222     <tr><td valign="top"></td><td valign="top"><em>aMsg</em>&nbsp;</td><td>The message to check. </td></tr>
   226     <tr><td valign="top"></td><td valign="top"><em>aMsg</em>&nbsp;</td><td>The message to check. </td></tr>
   223     <tr><td valign="top"></td><td valign="top"><em>aAction</em>&nbsp;</td><td>A reference to the action to take if the security check fails. </td></tr>
   227     <tr><td valign="top"></td><td valign="top"><em>aAction</em>&nbsp;</td><td>A reference to the action to take if the security check fails. </td></tr>
   224     <tr><td valign="top"></td><td valign="top"><em>aMissing</em>&nbsp;</td><td>A reference to the list of security attributes missing from the checked process. </td></tr>
   228     <tr><td valign="top"></td><td valign="top"><em>aMissing</em>&nbsp;</td><td>A reference to the list of security attributes missing from the checked process. </td></tr>
   225   </table>
   229   </table>
   226 </dl>
   230   </dd>
   227 <dl class="return" compact><dt><b>Returns:</b></dt><dd>A value from TCustomResult. </dd></dl>
   231 </dl>
   228 
   232 <dl class="return"><dt><b>Returns:</b></dt><dd>A value from TCustomResult. </dd></dl>
   229 <p>Definition at line <a class="el" href="secureserverccountserver_8cpp-source.html#l00136">136</a> of file <a class="el" href="secureserverccountserver_8cpp-source.html">secureserverccountserver.cpp</a>.</p>
   233 
   230 
   234 <p>Definition at line <a class="el" href="secureserverccountserver_8cpp_source.html#l00136">136</a> of file <a class="el" href="secureserverccountserver_8cpp_source.html">secureserverccountserver.cpp</a>.</p>
   231 </div>
   235 
   232 </div><p>
   236 </div>
   233 <a class="anchor" name="65a88f3753c16940867d3b277608bdac"></a><!-- doxytag: member="CSecureServer::NewContainerL" ref="65a88f3753c16940867d3b277608bdac" args="()" -->
   237 </div>
   234 <div class="memitem">
   238 <a class="anchor" id="a65a88f3753c16940867d3b277608bdac"></a><!-- doxytag: member="CSecureServer::NewContainerL" ref="a65a88f3753c16940867d3b277608bdac" args="()" -->
   235 <div class="memproto">
   239 <div class="memitem">
   236       <table class="memname">
   240 <div class="memproto">
   237         <tr>
   241       <table class="memname">
   238           <td class="memname">CObjectCon * CSecureServer::NewContainerL           </td>
   242         <tr>
   239           <td>(</td>
   243           <td class="memname">CObjectCon * CSecureServer::NewContainerL </td>
   240           <td class="paramname">          </td>
   244           <td>(</td>
   241           <td>&nbsp;)&nbsp;</td>
   245           <td class="paramname"></td>
   242           <td width="100%"></td>
   246           <td>&nbsp;)&nbsp;</td>
   243         </tr>
   247           <td></td>
   244       </table>
   248         </tr>
   245 </div>
   249       </table>
   246 <div class="memdoc">
   250 </div>
   247 
   251 <div class="memdoc">
   248 <p>
   252 <p>Creates a new object container when creating sub sessions. </p>
   249 Creates a new object container when creating sub sessions. <dl class="return" compact><dt><b>Returns:</b></dt><dd>An object container. </dd></dl>
   253 <dl class="return"><dt><b>Returns:</b></dt><dd>An object container. </dd></dl>
   250 
   254 
   251 <p>Definition at line <a class="el" href="secureserverccountserver_8cpp-source.html#l00053">53</a> of file <a class="el" href="secureserverccountserver_8cpp-source.html">secureserverccountserver.cpp</a>.</p>
   255 <p>Definition at line <a class="el" href="secureserverccountserver_8cpp_source.html#l00053">53</a> of file <a class="el" href="secureserverccountserver_8cpp_source.html">secureserverccountserver.cpp</a>.</p>
   252 
   256 
   253 </div>
   257 </div>
   254 </div><p>
   258 </div>
   255 <a class="anchor" name="e6b5aba2bd5e4b8bffaa4febbe874e37"></a><!-- doxytag: member="CSecureServer::RemoveContainer" ref="e6b5aba2bd5e4b8bffaa4febbe874e37" args="(CObjectCon *aCon)" -->
   259 <a class="anchor" id="ae6b5aba2bd5e4b8bffaa4febbe874e37"></a><!-- doxytag: member="CSecureServer::RemoveContainer" ref="ae6b5aba2bd5e4b8bffaa4febbe874e37" args="(CObjectCon *aCon)" -->
   256 <div class="memitem">
   260 <div class="memitem">
   257 <div class="memproto">
   261 <div class="memproto">
   258       <table class="memname">
   262       <table class="memname">
   259         <tr>
   263         <tr>
   260           <td class="memname">void CSecureServer::RemoveContainer           </td>
   264           <td class="memname">void CSecureServer::RemoveContainer </td>
   261           <td>(</td>
   265           <td>(</td>
   262           <td class="paramtype">CObjectCon *&nbsp;</td>
   266           <td class="paramtype">CObjectCon *&nbsp;</td>
   263           <td class="paramname"> <em>aCon</em>          </td>
   267           <td class="paramname"> <em>aCon</em></td>
   264           <td>&nbsp;)&nbsp;</td>
   268           <td>&nbsp;)&nbsp;</td>
   265           <td width="100%"></td>
   269           <td></td>
   266         </tr>
   270         </tr>
   267       </table>
   271       </table>
   268 </div>
   272 </div>
   269 <div class="memdoc">
   273 <div class="memdoc">
   270 
   274 <p>Removes an object from the object container. </p>
   271 <p>
   275 <dl><dt><b>Parameters:</b></dt><dd>
   272 Removes an object from the object container. <dl compact><dt><b>Parameters:</b></dt><dd>
       
   273   <table border="0" cellspacing="2" cellpadding="0">
   276   <table border="0" cellspacing="2" cellpadding="0">
   274     <tr><td valign="top"></td><td valign="top"><em>aCon</em>&nbsp;</td><td>A pointer to the object to be removed from the container. </td></tr>
   277     <tr><td valign="top"></td><td valign="top"><em>aCon</em>&nbsp;</td><td>A pointer to the object to be removed from the container. </td></tr>
   275   </table>
   278   </table>
   276 </dl>
   279   </dd>
   277 
   280 </dl>
   278 <p>Definition at line <a class="el" href="secureserverccountserver_8cpp-source.html#l00062">62</a> of file <a class="el" href="secureserverccountserver_8cpp-source.html">secureserverccountserver.cpp</a>.</p>
   281 
   279 
   282 <p>Definition at line <a class="el" href="secureserverccountserver_8cpp_source.html#l00062">62</a> of file <a class="el" href="secureserverccountserver_8cpp_source.html">secureserverccountserver.cpp</a>.</p>
   280 </div>
   283 
   281 </div><p>
   284 </div>
   282 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Jan 21 10:33:07 2010 for TB10.1 Example Applications by&nbsp;
   285 </div>
       
   286 </div>
       
   287 <hr size="1"/><address style="text-align: right;"><small>Generated by&nbsp;
   283 <a href="http://www.doxygen.org/index.html">
   288 <a href="http://www.doxygen.org/index.html">
   284 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
   289 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
   285 </body>
   290 </body>
   286 </html>
   291 </html>