examples/S60CppExamples/ClientServerAsync/doc/timesession_8h-source.html

00001 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
00002 <html>
00003 
00004 <head>
00005 <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
00006 <title>timesession.h Source File</title>
00007 <link href="style.css" rel="stylesheet" type="text/css">
00008 </head>
00009 
00010 <table border="0" width="100%" height="8" bgcolor="#eeeeee">
00011 <tr> <td width="100%" height="1"><b><font size="2" color="#000000" face="Arial, Helvetica, sans-serif"><strong><a name=Top></a>
00012 S60 5th Edition SDK </strong></font></b><br><i>Example Applications Guide</i></td></tr> </table>
00013 <!-- Generated by Doxygen 1.4.5 -->
00014 <div class="tabs">
00015   <ul>
00016     <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
00017     <li><a href="annotated.html"><span>Classes</span></a></li>
00018     <li id="current"><a href="files.html"><span>Files</span></a></li>
00019   </ul></div>
00020 <h1>timesession.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
00021 <a name="l00002"></a>00002 <span class="comment">* ==============================================================================</span>
00022 <a name="l00003"></a>00003 <span class="comment">*  Name        : timesession.h</span>
00023 <a name="l00004"></a>00004 <span class="comment">*  Part of     : CSAsync</span>
00024 <a name="l00005"></a>00005 <span class="comment">*  Interface   :</span>
00025 <a name="l00006"></a>00006 <span class="comment">*  Description :</span>
00026 <a name="l00007"></a>00007 <span class="comment">*  Version     :</span>
00027 <a name="l00008"></a>00008 <span class="comment">*</span>
00028 <a name="l00009"></a>00009 <span class="comment">*  Copyright (c) 2004-2006 Nokia Corporation.</span>
00029 <a name="l00010"></a>00010 <span class="comment">*  This material, including documentation and any related</span>
00030 <a name="l00011"></a>00011 <span class="comment">*  computer programs, is protected by copyright controlled by</span>
00031 <a name="l00012"></a>00012 <span class="comment">*  Nokia Corporation.</span>
00032 <a name="l00013"></a>00013 <span class="comment">* ==============================================================================</span>
00033 <a name="l00014"></a>00014 <span class="comment">*/</span>
00034 <a name="l00015"></a>00015 
00035 <a name="l00016"></a>00016 
00036 <a name="l00017"></a>00017 <span class="preprocessor">#ifndef __CTIMESESSION_H__</span>
00037 <a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define __CTIMESESSION_H__</span>
00038 <a name="l00019"></a>00019 <span class="preprocessor"></span>
00039 <a name="l00020"></a>00020 <span class="comment">// INCLUDE FILES</span>
00040 <a name="l00021"></a>00021 <span class="preprocessor">#include &lt;e32base.h&gt;</span>
00041 <a name="l00022"></a>00022 
00042 <a name="l00023"></a>00023 <span class="comment">// FORWARD DECLARATIONS</span>
00043 <a name="l00024"></a>00024 <span class="keyword">class </span><a class="code" href="class_c_time_server.html">CTimeServer</a>;
00044 <a name="l00025"></a>00025 
00045 <a name="l00026"></a>00026 <span class="comment">// CLASS DECLARATION</span><span class="comment"></span>
00046 <a name="l00027"></a>00027 <span class="comment"></span>
00050 <a name="l00031"></a><a class="code" href="class_c_time_server_session.html">00031</a> <span class="keyword">class </span><a class="code" href="class_c_time_server_session.html">CTimeServerSession</a> : <span class="keyword">public</span> CSession2
00051 <a name="l00032"></a>00032     {
00052 <a name="l00033"></a>00033     <span class="keyword">public</span>: <span class="comment">// Constructors and destructors</span>
00053 <a name="l00034"></a>00034 <span class="comment"></span>
00054 <a name="l00035"></a>00035 <span class="comment">        </span>
00060 <a name="l00041"></a>00041         <span class="keyword">static</span> <a class="code" href="class_c_time_server_session.html">CTimeServerSession</a>* <a class="code" href="class_c_time_server_session.html#73d44aed371951fd548af4329b779411">NewL</a>( <a class="code" href="class_c_time_server.html">CTimeServer</a>&amp; aServer );
00061 <a name="l00042"></a>00042 <span class="comment"></span>
00062 <a name="l00043"></a>00043 <span class="comment">        </span>
00068 <a name="l00049"></a>00049         <span class="keyword">static</span> <a class="code" href="class_c_time_server_session.html">CTimeServerSession</a>* <a class="code" href="class_c_time_server_session.html#e1d8bbb0d9472f94ae559c6cb4e59e74">NewLC</a>( <a class="code" href="class_c_time_server.html">CTimeServer</a>&amp; aServer );
00069 <a name="l00050"></a>00050 <span class="comment"></span>
00070 <a name="l00051"></a>00051 <span class="comment">        </span>
00074 <a name="l00055"></a>00055         <span class="keyword">virtual</span> <a class="code" href="class_c_time_server_session.html#efc8537cb8d65ded65903587ad44c2e0">~CTimeServerSession</a>();
00075 <a name="l00056"></a>00056 
00076 <a name="l00057"></a>00057     <span class="keyword">public</span>: <span class="comment">// New functions</span>
00077 <a name="l00058"></a>00058 <span class="comment"></span>
00078 <a name="l00059"></a>00059 <span class="comment">        </span>
00083 <a name="l00064"></a>00064         <span class="keywordtype">void</span> <a class="code" href="class_c_time_server_session.html#ecff8e289d914777ae0c503db937cf33">SendTimeToClient</a>();
00084 <a name="l00065"></a>00065 
00085 <a name="l00066"></a>00066     <span class="keyword">public</span>: <span class="comment">// Functions from base classes</span>
00086 <a name="l00067"></a>00067 <span class="comment"></span>
00087 <a name="l00068"></a>00068 <span class="comment">        </span>
00093 <a name="l00074"></a>00074         <span class="keywordtype">void</span> <a class="code" href="class_c_time_server_session.html#75c0a1442736b57144c9ad541d87d370">ServiceL</a>( <span class="keyword">const</span> RMessage2&amp; aMessage );
00094 <a name="l00075"></a>00075 
00095 <a name="l00076"></a>00076     <span class="keyword">private</span>: <span class="comment">// Constructors and destructors</span>
00096 <a name="l00077"></a>00077 <span class="comment"></span>
00097 <a name="l00078"></a>00078 <span class="comment">        </span>
00102 <a name="l00083"></a>00083         <a class="code" href="class_c_time_server_session.html#88d810fed35057dcca6673d50400186c">CTimeServerSession</a>( <a class="code" href="class_c_time_server.html">CTimeServer</a>&amp; aServer );
00103 <a name="l00084"></a>00084 <span class="comment"></span>
00104 <a name="l00085"></a>00085 <span class="comment">        </span>
00108 <a name="l00089"></a>00089         <span class="keywordtype">void</span> <a class="code" href="class_c_time_server_session.html#9ce34ba0b947863222da3c63d0481044">ConstructL</a>();
00109 <a name="l00090"></a>00090 
00110 <a name="l00091"></a>00091     <span class="keyword">private</span>: <span class="comment">// New methods</span>
00111 <a name="l00092"></a>00092 <span class="comment"></span>
00112 <a name="l00093"></a>00093 <span class="comment">        </span>
00118 <a name="l00099"></a>00099         <span class="keywordtype">void</span> <a class="code" href="class_c_time_server_session.html#fc9ec0d1642cb12692ca61f4a163e601">PanicClient</a>( <span class="keyword">const</span> RMessagePtr2&amp; aMessage, 
00119 <a name="l00100"></a>00100                           TInt aPanic ) <span class="keyword">const</span>;
00120 <a name="l00101"></a>00101 <span class="comment"></span>
00121 <a name="l00102"></a>00102 <span class="comment">        </span>
00127 <a name="l00108"></a>00108         <span class="keywordtype">void</span> <a class="code" href="class_c_time_server_session.html#8fac529732093d7c4331fb0e03da87f1">RequestTimeL</a>( <span class="keyword">const</span> RMessage2&amp; aMessage );
00128 <a name="l00109"></a>00109 
00129 <a name="l00110"></a>00110     <span class="keyword">private</span>: <span class="comment">// Data</span>
00130 <a name="l00111"></a>00111 <span class="comment"></span>
00131 <a name="l00112"></a>00112 <span class="comment">        </span>
00134 <a name="l00115"></a><a class="code" href="class_c_time_server_session.html#6a31e2b3666880d5daf8f63641125e71">00115</a>         TBool <a class="code" href="class_c_time_server_session.html#6a31e2b3666880d5daf8f63641125e71">iWaitingForTick</a>;
00135 <a name="l00116"></a>00116 <span class="comment"></span>
00136 <a name="l00117"></a>00117 <span class="comment">        </span>
00139 <a name="l00120"></a><a class="code" href="class_c_time_server_session.html#83107f9dbd3370ed4e809e8cc7b35380">00120</a>         RMessage2 <a class="code" href="class_c_time_server_session.html#83107f9dbd3370ed4e809e8cc7b35380">iMessage</a>;
00140 <a name="l00121"></a>00121 <span class="comment"></span>
00141 <a name="l00122"></a>00122 <span class="comment">        </span>
00144 <a name="l00125"></a><a class="code" href="class_c_time_server_session.html#2fd325e8f3ad0cd0f67a39cca15fa423">00125</a>         <a class="code" href="class_c_time_server.html">CTimeServer</a>&amp; <a class="code" href="class_c_time_server_session.html#2fd325e8f3ad0cd0f67a39cca15fa423">iServer</a>;
00145 <a name="l00126"></a>00126     };
00146 <a name="l00127"></a>00127 
00147 <a name="l00128"></a>00128 <span class="preprocessor">#endif // __CTIMESESSION_H__</span>
00148 <a name="l00129"></a>00129 <span class="preprocessor"></span>
00149 <a name="l00130"></a>00130 
00150 <a name="l00131"></a>00131 <span class="comment">// End of File</span>
00151 </pre></div><hr>
00152 
00153 <table x-use-null-cells
00154                 style="x-cell-content-align: top;
00155                                 width: 100%;
00156                                 border-spacing: 0px;
00157                                 border-spacing: 0px;"
00158                 cellspacing=0
00159                 width=100%>
00160   <col style="width: 50%;">
00161   <col style="width: 50%;">
00162 
00163   <tr style="x-cell-content-align: top;"
00164         valign=top>
00165   <td style="width: 50%;
00166                         padding-right: 10px;
00167                         padding-left: 10px;
00168                         border-right-style: None;
00169                         border-left-style: None;
00170                         border-top-style: None;
00171                         border-bottom-style: None;"
00172         width=50%>
00173   <p style="font-family: Arial;"><small style="font-size: smaller;">© Nokia 2009</small></td>
00174   <td style="width: 50%;
00175                         padding-right: 10px;
00176                         padding-left: 10px;
00177                         border-top-style: None;
00178                         border-bottom-style: None;
00179                         border-right-style: None;"
00180         width=50%>
00181   <p style="text-align: right; margin-right: -4px;"
00182         align=right><span style="font-weight: bold;"><a href="#Top"
00183                                                                                                         title="Back to top"><img
00184  src="top.gif"
00185         x-maintain-ratio=TRUE
00186         alt="Back to top"
00187         style="border: none;
00188                         width: 18px;
00189                         height: 15px;
00190                         float: none;
00191                         border-style: none;
00192                         border-style: none;"
00193         width=18
00194         height=15
00195         border=0></a></span></td></tr>
00196  </table>
00197 </body>
00198 </html>
00199 

Generated by  doxygen 1.6.2