examples/S60CppExamples/ClientServerAsync/doc/csasyncrequesthandler_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>csasyncrequesthandler.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>csasyncrequesthandler.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        : csasyncrequesthandler.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 __CCSASYNCREQUESTHANDLER_H__</span>
00037 <a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define __CCSASYNCREQUESTHANDLER_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 <span class="preprocessor">#include "TimeServerSession.h"</span>
00042 <a name="l00023"></a>00023 
00043 <a name="l00024"></a>00024 <span class="comment">// FORWARD DECLARATIONS</span>
00044 <a name="l00025"></a>00025 <span class="keyword">class </span><a class="code" href="class_m_async_time_observer.html">MAsyncTimeObserver</a>;
00045 <a name="l00026"></a>00026 
00046 <a name="l00027"></a>00027 <span class="comment">// CLASS DECLARATION</span><span class="comment"></span>
00047 <a name="l00028"></a>00028 <span class="comment"></span>
00052 <a name="l00033"></a><a class="code" href="class_c_c_s_async_request_handler.html">00033</a> <span class="keyword">class </span><a class="code" href="class_c_c_s_async_request_handler.html">CCSAsyncRequestHandler</a> : <span class="keyword">public</span> CActive
00053 <a name="l00034"></a>00034     {
00054 <a name="l00035"></a>00035     <span class="keyword">public</span>: <span class="comment">// Constructors and destructors</span><span class="comment"></span>
00055 <a name="l00036"></a>00036 <span class="comment">        </span>
00064 <a name="l00045"></a>00045         <span class="keyword">static</span> <a class="code" href="class_c_c_s_async_request_handler.html">CCSAsyncRequestHandler</a>* <a class="code" href="class_c_c_s_async_request_handler.html#e27bf7140859a754f6f06c51dbbd1b12">NewL</a>( <a class="code" href="class_m_async_time_observer.html">MAsyncTimeObserver</a>&amp; aObserver );
00065 <a name="l00046"></a>00046 <span class="comment"></span>
00066 <a name="l00047"></a>00047 <span class="comment">        </span>
00075 <a name="l00056"></a>00056         <span class="keyword">static</span> <a class="code" href="class_c_c_s_async_request_handler.html">CCSAsyncRequestHandler</a>* <a class="code" href="class_c_c_s_async_request_handler.html#aea906e05bc2fa2a15b3152501b0f12e">NewLC</a>( <a class="code" href="class_m_async_time_observer.html">MAsyncTimeObserver</a>&amp; aObserver );
00076 <a name="l00057"></a>00057 <span class="comment"></span>
00077 <a name="l00058"></a>00058 <span class="comment">        </span>
00082 <a name="l00063"></a>00063         <span class="keyword">virtual</span> <a class="code" href="class_c_c_s_async_request_handler.html#91aee909b7becabe937b696acc0c1590">~CCSAsyncRequestHandler</a>();
00083 <a name="l00064"></a>00064 
00084 <a name="l00065"></a>00065     <span class="keyword">public</span>: <span class="comment">// New functions</span>
00085 <a name="l00066"></a>00066 <span class="comment"></span>
00086 <a name="l00067"></a>00067 <span class="comment">        </span>
00090 <a name="l00071"></a>00071         <span class="keywordtype">void</span> <a class="code" href="class_c_c_s_async_request_handler.html#481d63e2f4e33b9cb8ed4680a965da25">RequestTime</a>();
00091 <a name="l00072"></a>00072 <span class="comment"></span>
00092 <a name="l00073"></a>00073 <span class="comment">        </span>
00096 <a name="l00077"></a>00077         <span class="keywordtype">void</span> <a class="code" href="class_c_c_s_async_request_handler.html#63d7f6ab1c508b38c31d416e01f71a29">CancelRequest</a>() ;
00097 <a name="l00078"></a>00078 <span class="comment"></span>
00098 <a name="l00079"></a>00079 <span class="comment">        </span>
00103 <a name="l00084"></a>00084         TTime <a class="code" href="class_c_c_s_async_request_handler.html#abd5ca40d94b3e8941d79e5362c038b2">Time</a>() <span class="keyword">const</span>;
00104 <a name="l00085"></a>00085 
00105 <a name="l00086"></a>00086     <span class="keyword">protected</span>: <span class="comment">// Functions from base classes</span>
00106 <a name="l00087"></a>00087 <span class="comment"></span>
00107 <a name="l00088"></a>00088 <span class="comment">        </span>
00112 <a name="l00093"></a>00093         <span class="keywordtype">void</span> <a class="code" href="class_c_c_s_async_request_handler.html#98dcd20e4dd117488a6a90dadd4dfac5">RunL</a>();
00113 <a name="l00094"></a>00094 <span class="comment"></span>
00114 <a name="l00095"></a>00095 <span class="comment">        </span>
00118 <a name="l00099"></a>00099         <span class="keywordtype">void</span> <a class="code" href="class_c_c_s_async_request_handler.html#79737b00f2b6a07492c7caf4220c6691">DoCancel</a>();
00119 <a name="l00100"></a>00100 
00120 <a name="l00101"></a>00101     <span class="keyword">private</span>: <span class="comment">// Constructors and destructors</span>
00121 <a name="l00102"></a>00102 <span class="comment"></span>
00122 <a name="l00103"></a>00103 <span class="comment">        </span>
00128 <a name="l00109"></a>00109         <a class="code" href="class_c_c_s_async_request_handler.html#7f4ba53fa1861a0a692566cdfa024cd4">CCSAsyncRequestHandler</a>( <a class="code" href="class_m_async_time_observer.html">MAsyncTimeObserver</a>&amp; aObserver );
00129 <a name="l00110"></a>00110 <span class="comment"></span>
00130 <a name="l00111"></a>00111 <span class="comment">        </span>
00135 <a name="l00116"></a>00116         <span class="keywordtype">void</span> <a class="code" href="class_c_c_s_async_request_handler.html#9ce34ba0b947863222da3c63d0481044">ConstructL</a>();
00136 <a name="l00117"></a>00117 
00137 <a name="l00118"></a>00118     <span class="keyword">private</span>: <span class="comment">// Data</span>
00138 <a name="l00119"></a>00119 <span class="comment"></span>
00139 <a name="l00120"></a>00120 <span class="comment">        </span>
00142 <a name="l00123"></a><a class="code" href="class_c_c_s_async_request_handler.html#d8033daa9b951c54149345b6871648bb">00123</a>         <a class="code" href="class_r_time_server_session.html">RTimeServerSession</a> <a class="code" href="class_c_c_s_async_request_handler.html#d8033daa9b951c54149345b6871648bb">iSession</a>;
00143 <a name="l00124"></a>00124 <span class="comment"></span>
00144 <a name="l00125"></a>00125 <span class="comment">        </span>
00147 <a name="l00128"></a><a class="code" href="class_c_c_s_async_request_handler.html#ab88bd4e7e44b5e05aab3f182f76db1f">00128</a>         TTime <a class="code" href="class_c_c_s_async_request_handler.html#ab88bd4e7e44b5e05aab3f182f76db1f">iTime</a>;
00148 <a name="l00129"></a>00129 <span class="comment"></span>
00149 <a name="l00130"></a>00130 <span class="comment">        </span>
00152 <a name="l00133"></a><a class="code" href="class_c_c_s_async_request_handler.html#5598d19cc10719afd28055422087a200">00133</a>         <a class="code" href="class_m_async_time_observer.html">MAsyncTimeObserver</a>&amp; <a class="code" href="class_c_c_s_async_request_handler.html#5598d19cc10719afd28055422087a200">iObserver</a>;
00153 <a name="l00134"></a>00134     };
00154 <a name="l00135"></a>00135 
00155 <a name="l00136"></a>00136 
00156 <a name="l00137"></a>00137 <span class="preprocessor">#endif //__CCSASYNCREQUESTHANDLER_H__</span>
00157 <a name="l00138"></a>00138 <span class="preprocessor"></span>
00158 <a name="l00139"></a>00139 <span class="comment">// End of File</span>
00159 </pre></div><hr>
00160 
00161 <table x-use-null-cells
00162                 style="x-cell-content-align: top;
00163                                 width: 100%;
00164                                 border-spacing: 0px;
00165                                 border-spacing: 0px;"
00166                 cellspacing=0
00167                 width=100%>
00168   <col style="width: 50%;">
00169   <col style="width: 50%;">
00170 
00171   <tr style="x-cell-content-align: top;"
00172         valign=top>
00173   <td style="width: 50%;
00174                         padding-right: 10px;
00175                         padding-left: 10px;
00176                         border-right-style: None;
00177                         border-left-style: None;
00178                         border-top-style: None;
00179                         border-bottom-style: None;"
00180         width=50%>
00181   <p style="font-family: Arial;"><small style="font-size: smaller;">© Nokia 2009</small></td>
00182   <td style="width: 50%;
00183                         padding-right: 10px;
00184                         padding-left: 10px;
00185                         border-top-style: None;
00186                         border-bottom-style: None;
00187                         border-right-style: None;"
00188         width=50%>
00189   <p style="text-align: right; margin-right: -4px;"
00190         align=right><span style="font-weight: bold;"><a href="#Top"
00191                                                                                                         title="Back to top"><img
00192  src="top.gif"
00193         x-maintain-ratio=TRUE
00194         alt="Back to top"
00195         style="border: none;
00196                         width: 18px;
00197                         height: 15px;
00198                         float: none;
00199                         border-style: none;
00200                         border-style: none;"
00201         width=18
00202         height=15
00203         border=0></a></span></td></tr>
00204  </table>
00205 </body>
00206 </html>
00207 

Generated by  doxygen 1.6.2