Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_time_server.html
changeset 6 43e37759235e
equal deleted inserted replaced
5:f345bda72bc4 6:43e37759235e
       
     1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
       
     2 <html xmlns="http://www.w3.org/1999/xhtml">
       
     3 <head>
       
     4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
       
     5 <title>TB9.2 Example Applications: CTimeServer Class Reference</title>
       
     6 <link href="tabs.css" rel="stylesheet" type="text/css"/>
       
     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">
       
    12 <h1>CTimeServer Class Reference</h1><!-- doxytag: class="CTimeServer" --><!-- doxytag: inherits="CServer2,CServer2" -->
       
    13 <p>Inherits CServer2, and CServer2.</p>
       
    14 
       
    15 <p><a href="class_c_time_server-members.html">List of all members.</a></p>
       
    16 <table border="0" cellpadding="0" cellspacing="0">
       
    17 <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
       
    18 <tr><td class="memItemLeft" align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_time_server.html#a877cb5a498a575353d12576272a99992">~CTimeServer</a> ()</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_time_server.html#a9fb3c4c32d4050bc6f3b8ede0199bb7e">IncrementSessions</a> ()</td></tr>
       
    20 <tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_time_server.html#ad2b51a53e39f5844cce161bb912e0b7a">DecrementSessions</a> ()</td></tr>
       
    21 <tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_time_server.html#a6787f6b173c59446b202ae04177a5d88">WaitForTickL</a> ()</td></tr>
       
    22 <tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_time_server.html#aaf1149f0fedf24e384705ce734d6d7fe">Beat</a> ()</td></tr>
       
    23 <tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_time_server.html#adf49f002c1503eb70fb6e0e623ade0d8">Synchronize</a> ()</td></tr>
       
    24 <tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_time_server.html#a9fb3c4c32d4050bc6f3b8ede0199bb7e">IncrementSessions</a> ()</td></tr>
       
    25 <tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_time_server.html#ad2b51a53e39f5844cce161bb912e0b7a">DecrementSessions</a> ()</td></tr>
       
    26 <tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
       
    27 <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_c_time_server.html">CTimeServer</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_time_server.html#a59b4f2ad9c1b3a2c689b9ffa1cd11179">NewL</a> ()</td></tr>
       
    28 <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_c_time_server.html">CTimeServer</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_time_server.html#a599b3712d5d1f6e9e2017508c689d2e5">NewLC</a> ()</td></tr>
       
    29 <tr><td class="memItemLeft" align="right" valign="top">static TInt&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_time_server.html#af9f826864fde246cd6c53af89563ba70">ThreadFunction</a> (TAny *aStarted)</td></tr>
       
    30 <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_c_time_server.html">CTimeServer</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_time_server.html#ae1efa09cd586b02ebd5d3c82f5a421db">NewL</a> ()</td></tr>
       
    31 <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_c_time_server.html">CTimeServer</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_time_server.html#a56240a29754fdbe1610aa2ac73338474">NewLC</a> ()</td></tr>
       
    32 <tr><td class="memItemLeft" align="right" valign="top">static TInt&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_time_server.html#aa06c28ceaded3b71432ef76cecbbd46e">ThreadFunction</a> (TAny *aNone)</td></tr>
       
    33 <tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
       
    34 <tr><td class="memItemLeft" align="right" valign="top">TInt&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_time_server.html#a0f86707c23aa97a861ca8fe8e239194c">RunError</a> (TInt aError)</td></tr>
       
    35 <tr><td class="memItemLeft" align="right" valign="top">TInt&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_time_server.html#a0f86707c23aa97a861ca8fe8e239194c">RunError</a> (TInt aError)</td></tr>
       
    36 </table>
       
    37 <hr/><a name="_details"></a><h2>Detailed Description</h2>
       
    38 <p><a class="el" href="class_c_time_server.html">CTimeServer</a>. An instance of class <a class="el" href="class_c_time_server.html">CTimeServer</a> is the main server class for the ClientServerAsync example application.</p>
       
    39 <p><a class="el" href="class_c_time_server.html">CTimeServer</a>. An instance of class <a class="el" href="class_c_time_server.html">CTimeServer</a> is the main server class for the ClientServerSync example application </p>
       
    40 
       
    41 <p>Definition at line <a class="el" href="_client_server_async_2server_2inc_2timeserver_8h_source.html#l00030">30</a> of file <a class="el" href="_client_server_async_2server_2inc_2timeserver_8h_source.html">timeserver.h</a>.</p>
       
    42 <hr/><h2>Constructor &amp; Destructor Documentation</h2>
       
    43 <a class="anchor" id="a877cb5a498a575353d12576272a99992"></a><!-- doxytag: member="CTimeServer::~CTimeServer" ref="a877cb5a498a575353d12576272a99992" args="()" -->
       
    44 <div class="memitem">
       
    45 <div class="memproto">
       
    46       <table class="memname">
       
    47         <tr>
       
    48           <td class="memname">CTimeServer::~CTimeServer </td>
       
    49           <td>(</td>
       
    50           <td class="paramname"></td>
       
    51           <td>&nbsp;)&nbsp;</td>
       
    52           <td><code> [virtual]</code></td>
       
    53         </tr>
       
    54       </table>
       
    55 </div>
       
    56 <div class="memdoc">
       
    57 <p>~CTimeServer. Destructor. </p>
       
    58 
       
    59 <p>Definition at line <a class="el" href="_client_server_async_2server_2src_2timeserver_8cpp_source.html#l00078">78</a> of file <a class="el" href="_client_server_async_2server_2src_2timeserver_8cpp_source.html">timeserver.cpp</a>.</p>
       
    60 
       
    61 </div>
       
    62 </div>
       
    63 <hr/><h2>Member Function Documentation</h2>
       
    64 <a class="anchor" id="a59b4f2ad9c1b3a2c689b9ffa1cd11179"></a><!-- doxytag: member="CTimeServer::NewL" ref="a59b4f2ad9c1b3a2c689b9ffa1cd11179" args="()" -->
       
    65 <div class="memitem">
       
    66 <div class="memproto">
       
    67       <table class="memname">
       
    68         <tr>
       
    69           <td class="memname"><a class="el" href="class_c_time_server.html">CTimeServer</a> * CTimeServer::NewL </td>
       
    70           <td>(</td>
       
    71           <td class="paramname"></td>
       
    72           <td>&nbsp;)&nbsp;</td>
       
    73           <td><code> [static]</code></td>
       
    74         </tr>
       
    75       </table>
       
    76 </div>
       
    77 <div class="memdoc">
       
    78 <p>NewL. Two-phased constructor. </p>
       
    79 <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to created <a class="el" href="class_c_time_server.html">CTimeServer</a> object. </dd></dl>
       
    80 
       
    81 <p>Definition at line <a class="el" href="_client_server_async_2server_2src_2timeserver_8cpp_source.html#l00032">32</a> of file <a class="el" href="_client_server_async_2server_2src_2timeserver_8cpp_source.html">timeserver.cpp</a>.</p>
       
    82 
       
    83 </div>
       
    84 </div>
       
    85 <a class="anchor" id="a599b3712d5d1f6e9e2017508c689d2e5"></a><!-- doxytag: member="CTimeServer::NewLC" ref="a599b3712d5d1f6e9e2017508c689d2e5" args="()" -->
       
    86 <div class="memitem">
       
    87 <div class="memproto">
       
    88       <table class="memname">
       
    89         <tr>
       
    90           <td class="memname"><a class="el" href="class_c_time_server.html">CTimeServer</a> * CTimeServer::NewLC </td>
       
    91           <td>(</td>
       
    92           <td class="paramname"></td>
       
    93           <td>&nbsp;)&nbsp;</td>
       
    94           <td><code> [static]</code></td>
       
    95         </tr>
       
    96       </table>
       
    97 </div>
       
    98 <div class="memdoc">
       
    99 <p>NewLC. Two-phased constructor. </p>
       
   100 <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to created <a class="el" href="class_c_time_server.html">CTimeServer</a> object. </dd></dl>
       
   101 
       
   102 <p>Definition at line <a class="el" href="_client_server_async_2server_2src_2timeserver_8cpp_source.html#l00044">44</a> of file <a class="el" href="_client_server_async_2server_2src_2timeserver_8cpp_source.html">timeserver.cpp</a>.</p>
       
   103 
       
   104 </div>
       
   105 </div>
       
   106 <a class="anchor" id="af9f826864fde246cd6c53af89563ba70"></a><!-- doxytag: member="CTimeServer::ThreadFunction" ref="af9f826864fde246cd6c53af89563ba70" args="(TAny *aStarted)" -->
       
   107 <div class="memitem">
       
   108 <div class="memproto">
       
   109       <table class="memname">
       
   110         <tr>
       
   111           <td class="memname">TInt CTimeServer::ThreadFunction </td>
       
   112           <td>(</td>
       
   113           <td class="paramtype">TAny *&nbsp;</td>
       
   114           <td class="paramname"> <em>aStarted</em></td>
       
   115           <td>&nbsp;)&nbsp;</td>
       
   116           <td><code> [static]</code></td>
       
   117         </tr>
       
   118       </table>
       
   119 </div>
       
   120 <div class="memdoc">
       
   121 <p>ThreadFunction. Main function for the server thread. </p>
       
   122 <dl><dt><b>Parameters:</b></dt><dd>
       
   123   <table border="0" cellspacing="2" cellpadding="0">
       
   124     <tr><td valign="top"></td><td valign="top"><em>aStarted</em>&nbsp;</td><td>A semaphore to be flagged when server has been started. </td></tr>
       
   125   </table>
       
   126   </dd>
       
   127 </dl>
       
   128 <dl class="return"><dt><b>Returns:</b></dt><dd>Error code. </dd></dl>
       
   129 
       
   130 <p>Definition at line <a class="el" href="_client_server_async_2server_2src_2timeserver_8cpp_source.html#l00264">264</a> of file <a class="el" href="_client_server_async_2server_2src_2timeserver_8cpp_source.html">timeserver.cpp</a>.</p>
       
   131 
       
   132 </div>
       
   133 </div>
       
   134 <a class="anchor" id="a9fb3c4c32d4050bc6f3b8ede0199bb7e"></a><!-- doxytag: member="CTimeServer::IncrementSessions" ref="a9fb3c4c32d4050bc6f3b8ede0199bb7e" args="()" -->
       
   135 <div class="memitem">
       
   136 <div class="memproto">
       
   137       <table class="memname">
       
   138         <tr>
       
   139           <td class="memname">void CTimeServer::IncrementSessions </td>
       
   140           <td>(</td>
       
   141           <td class="paramname"></td>
       
   142           <td>&nbsp;)&nbsp;</td>
       
   143           <td></td>
       
   144         </tr>
       
   145       </table>
       
   146 </div>
       
   147 <div class="memdoc">
       
   148 <p>IncrementSessions. Increments the count of the active sessions for this server. </p>
       
   149 
       
   150 <p>Definition at line <a class="el" href="_client_server_async_2server_2src_2timeserver_8cpp_source.html#l00111">111</a> of file <a class="el" href="_client_server_async_2server_2src_2timeserver_8cpp_source.html">timeserver.cpp</a>.</p>
       
   151 
       
   152 </div>
       
   153 </div>
       
   154 <a class="anchor" id="ad2b51a53e39f5844cce161bb912e0b7a"></a><!-- doxytag: member="CTimeServer::DecrementSessions" ref="ad2b51a53e39f5844cce161bb912e0b7a" args="()" -->
       
   155 <div class="memitem">
       
   156 <div class="memproto">
       
   157       <table class="memname">
       
   158         <tr>
       
   159           <td class="memname">void CTimeServer::DecrementSessions </td>
       
   160           <td>(</td>
       
   161           <td class="paramname"></td>
       
   162           <td>&nbsp;)&nbsp;</td>
       
   163           <td></td>
       
   164         </tr>
       
   165       </table>
       
   166 </div>
       
   167 <div class="memdoc">
       
   168 <p>DecrementSessions. Decrements the count of the active sessions for this server. If no more sessions are in use the server terminates. </p>
       
   169 
       
   170 <p>Definition at line <a class="el" href="_client_server_async_2server_2src_2timeserver_8cpp_source.html#l00121">121</a> of file <a class="el" href="_client_server_async_2server_2src_2timeserver_8cpp_source.html">timeserver.cpp</a>.</p>
       
   171 
       
   172 </div>
       
   173 </div>
       
   174 <a class="anchor" id="a6787f6b173c59446b202ae04177a5d88"></a><!-- doxytag: member="CTimeServer::WaitForTickL" ref="a6787f6b173c59446b202ae04177a5d88" args="()" -->
       
   175 <div class="memitem">
       
   176 <div class="memproto">
       
   177       <table class="memname">
       
   178         <tr>
       
   179           <td class="memname">void CTimeServer::WaitForTickL </td>
       
   180           <td>(</td>
       
   181           <td class="paramname"></td>
       
   182           <td>&nbsp;)&nbsp;</td>
       
   183           <td></td>
       
   184         </tr>
       
   185       </table>
       
   186 </div>
       
   187 <div class="memdoc">
       
   188 <p>WaitForTickL. Activates the heartbeat. </p>
       
   189 
       
   190 <p>Definition at line <a class="el" href="_client_server_async_2server_2src_2timeserver_8cpp_source.html#l00181">181</a> of file <a class="el" href="_client_server_async_2server_2src_2timeserver_8cpp_source.html">timeserver.cpp</a>.</p>
       
   191 
       
   192 </div>
       
   193 </div>
       
   194 <a class="anchor" id="aaf1149f0fedf24e384705ce734d6d7fe"></a><!-- doxytag: member="CTimeServer::Beat" ref="aaf1149f0fedf24e384705ce734d6d7fe" args="()" -->
       
   195 <div class="memitem">
       
   196 <div class="memproto">
       
   197       <table class="memname">
       
   198         <tr>
       
   199           <td class="memname">void CTimeServer::Beat </td>
       
   200           <td>(</td>
       
   201           <td class="paramname"></td>
       
   202           <td>&nbsp;)&nbsp;</td>
       
   203           <td></td>
       
   204         </tr>
       
   205       </table>
       
   206 </div>
       
   207 <div class="memdoc">
       
   208 <p>From MBeating, Beat. A clock tick has occured. </p>
       
   209 
       
   210 <p>Definition at line <a class="el" href="_client_server_async_2server_2src_2timeserver_8cpp_source.html#l00195">195</a> of file <a class="el" href="_client_server_async_2server_2src_2timeserver_8cpp_source.html">timeserver.cpp</a>.</p>
       
   211 
       
   212 </div>
       
   213 </div>
       
   214 <a class="anchor" id="adf49f002c1503eb70fb6e0e623ade0d8"></a><!-- doxytag: member="CTimeServer::Synchronize" ref="adf49f002c1503eb70fb6e0e623ade0d8" args="()" -->
       
   215 <div class="memitem">
       
   216 <div class="memproto">
       
   217       <table class="memname">
       
   218         <tr>
       
   219           <td class="memname">void CTimeServer::Synchronize </td>
       
   220           <td>(</td>
       
   221           <td class="paramname"></td>
       
   222           <td>&nbsp;)&nbsp;</td>
       
   223           <td></td>
       
   224         </tr>
       
   225       </table>
       
   226 </div>
       
   227 <div class="memdoc">
       
   228 <p>From MBeating, Synchronize. Several clock ticks have occured. </p>
       
   229 
       
   230 <p>Definition at line <a class="el" href="_client_server_async_2server_2src_2timeserver_8cpp_source.html#l00205">205</a> of file <a class="el" href="_client_server_async_2server_2src_2timeserver_8cpp_source.html">timeserver.cpp</a>.</p>
       
   231 
       
   232 </div>
       
   233 </div>
       
   234 <a class="anchor" id="a0f86707c23aa97a861ca8fe8e239194c"></a><!-- doxytag: member="CTimeServer::RunError" ref="a0f86707c23aa97a861ca8fe8e239194c" args="(TInt aError)" -->
       
   235 <div class="memitem">
       
   236 <div class="memproto">
       
   237       <table class="memname">
       
   238         <tr>
       
   239           <td class="memname">TInt CTimeServer::RunError </td>
       
   240           <td>(</td>
       
   241           <td class="paramtype">TInt&nbsp;</td>
       
   242           <td class="paramname"> <em>aError</em></td>
       
   243           <td>&nbsp;)&nbsp;</td>
       
   244           <td><code> [protected]</code></td>
       
   245         </tr>
       
   246       </table>
       
   247 </div>
       
   248 <div class="memdoc">
       
   249 <p>From CActive, RunError. Processes any errors. </p>
       
   250 <dl><dt><b>Parameters:</b></dt><dd>
       
   251   <table border="0" cellspacing="2" cellpadding="0">
       
   252     <tr><td valign="top"></td><td valign="top"><em>aError</em>&nbsp;</td><td>The leave code reported. </td></tr>
       
   253   </table>
       
   254   </dd>
       
   255 </dl>
       
   256 <dl class="return"><dt><b>Returns:</b></dt><dd>return KErrNone if leave is handled. </dd></dl>
       
   257 
       
   258 <p>Definition at line <a class="el" href="_client_server_async_2server_2src_2timeserver_8cpp_source.html#l00135">135</a> of file <a class="el" href="_client_server_async_2server_2src_2timeserver_8cpp_source.html">timeserver.cpp</a>.</p>
       
   259 
       
   260 </div>
       
   261 </div>
       
   262 <a class="anchor" id="ae1efa09cd586b02ebd5d3c82f5a421db"></a><!-- doxytag: member="CTimeServer::NewL" ref="ae1efa09cd586b02ebd5d3c82f5a421db" args="()" -->
       
   263 <div class="memitem">
       
   264 <div class="memproto">
       
   265       <table class="memname">
       
   266         <tr>
       
   267           <td class="memname">static <a class="el" href="class_c_time_server.html">CTimeServer</a>* CTimeServer::NewL </td>
       
   268           <td>(</td>
       
   269           <td class="paramname"></td>
       
   270           <td>&nbsp;)&nbsp;</td>
       
   271           <td><code> [static]</code></td>
       
   272         </tr>
       
   273       </table>
       
   274 </div>
       
   275 <div class="memdoc">
       
   276 <p>NewL. Two-phased constructor. </p>
       
   277 <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to created <a class="el" href="class_c_time_server.html">CTimeServer</a> object. </dd></dl>
       
   278 
       
   279 </div>
       
   280 </div>
       
   281 <a class="anchor" id="a56240a29754fdbe1610aa2ac73338474"></a><!-- doxytag: member="CTimeServer::NewLC" ref="a56240a29754fdbe1610aa2ac73338474" args="()" -->
       
   282 <div class="memitem">
       
   283 <div class="memproto">
       
   284       <table class="memname">
       
   285         <tr>
       
   286           <td class="memname">static <a class="el" href="class_c_time_server.html">CTimeServer</a>* CTimeServer::NewLC </td>
       
   287           <td>(</td>
       
   288           <td class="paramname"></td>
       
   289           <td>&nbsp;)&nbsp;</td>
       
   290           <td><code> [static]</code></td>
       
   291         </tr>
       
   292       </table>
       
   293 </div>
       
   294 <div class="memdoc">
       
   295 <p>NewLC. Two-phased constructor. </p>
       
   296 <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to created <a class="el" href="class_c_time_server.html">CTimeServer</a> object. </dd></dl>
       
   297 
       
   298 </div>
       
   299 </div>
       
   300 <a class="anchor" id="aa06c28ceaded3b71432ef76cecbbd46e"></a><!-- doxytag: member="CTimeServer::ThreadFunction" ref="aa06c28ceaded3b71432ef76cecbbd46e" args="(TAny *aNone)" -->
       
   301 <div class="memitem">
       
   302 <div class="memproto">
       
   303       <table class="memname">
       
   304         <tr>
       
   305           <td class="memname">static TInt CTimeServer::ThreadFunction </td>
       
   306           <td>(</td>
       
   307           <td class="paramtype">TAny *&nbsp;</td>
       
   308           <td class="paramname"> <em>aNone</em></td>
       
   309           <td>&nbsp;)&nbsp;</td>
       
   310           <td><code> [static]</code></td>
       
   311         </tr>
       
   312       </table>
       
   313 </div>
       
   314 <div class="memdoc">
       
   315 <p>ThreadFunction. Main function for the server thread. </p>
       
   316 <dl><dt><b>Parameters:</b></dt><dd>
       
   317   <table border="0" cellspacing="2" cellpadding="0">
       
   318     <tr><td valign="top"></td><td valign="top"><em>aNone</em>&nbsp;</td><td>Not used. </td></tr>
       
   319   </table>
       
   320   </dd>
       
   321 </dl>
       
   322 <dl class="return"><dt><b>Returns:</b></dt><dd>Error code. </dd></dl>
       
   323 
       
   324 </div>
       
   325 </div>
       
   326 <a class="anchor" id="a9fb3c4c32d4050bc6f3b8ede0199bb7e"></a><!-- doxytag: member="CTimeServer::IncrementSessions" ref="a9fb3c4c32d4050bc6f3b8ede0199bb7e" args="()" -->
       
   327 <div class="memitem">
       
   328 <div class="memproto">
       
   329       <table class="memname">
       
   330         <tr>
       
   331           <td class="memname">void CTimeServer::IncrementSessions </td>
       
   332           <td>(</td>
       
   333           <td class="paramname"></td>
       
   334           <td>&nbsp;)&nbsp;</td>
       
   335           <td></td>
       
   336         </tr>
       
   337       </table>
       
   338 </div>
       
   339 <div class="memdoc">
       
   340 <p>IncrementSessions. Increments the count of the active sessions for this server. </p>
       
   341 
       
   342 </div>
       
   343 </div>
       
   344 <a class="anchor" id="ad2b51a53e39f5844cce161bb912e0b7a"></a><!-- doxytag: member="CTimeServer::DecrementSessions" ref="ad2b51a53e39f5844cce161bb912e0b7a" args="()" -->
       
   345 <div class="memitem">
       
   346 <div class="memproto">
       
   347       <table class="memname">
       
   348         <tr>
       
   349           <td class="memname">void CTimeServer::DecrementSessions </td>
       
   350           <td>(</td>
       
   351           <td class="paramname"></td>
       
   352           <td>&nbsp;)&nbsp;</td>
       
   353           <td></td>
       
   354         </tr>
       
   355       </table>
       
   356 </div>
       
   357 <div class="memdoc">
       
   358 <p>DecrementSessions. Decrements the count of the active sessions for this server. If no more sessions are in use the server terminates. </p>
       
   359 
       
   360 </div>
       
   361 </div>
       
   362 <a class="anchor" id="a0f86707c23aa97a861ca8fe8e239194c"></a><!-- doxytag: member="CTimeServer::RunError" ref="a0f86707c23aa97a861ca8fe8e239194c" args="(TInt aError)" -->
       
   363 <div class="memitem">
       
   364 <div class="memproto">
       
   365       <table class="memname">
       
   366         <tr>
       
   367           <td class="memname">TInt CTimeServer::RunError </td>
       
   368           <td>(</td>
       
   369           <td class="paramtype">TInt&nbsp;</td>
       
   370           <td class="paramname"> <em>aError</em></td>
       
   371           <td>&nbsp;)&nbsp;</td>
       
   372           <td><code> [protected]</code></td>
       
   373         </tr>
       
   374       </table>
       
   375 </div>
       
   376 <div class="memdoc">
       
   377 <p>From CActive, RunError. Processes any errors. </p>
       
   378 <dl><dt><b>Parameters:</b></dt><dd>
       
   379   <table border="0" cellspacing="2" cellpadding="0">
       
   380     <tr><td valign="top"></td><td valign="top"><em>aError</em>&nbsp;</td><td>The leave code reported. </td></tr>
       
   381   </table>
       
   382   </dd>
       
   383 </dl>
       
   384 <dl class="return"><dt><b>Returns:</b></dt><dd>return KErrNone if leave is handled. </dd></dl>
       
   385 
       
   386 </div>
       
   387 </div>
       
   388 </div>
       
   389 <hr size="1"/><address style="text-align: right;"><small>Generated by&nbsp;
       
   390 <a href="http://www.doxygen.org/index.html">
       
   391 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
       
   392 </body>
       
   393 </html>