|
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: examples/S60CppExamples/ClientServerAsync/client/inc/csasyncrequesthandler.h Source File</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 <h1>examples/S60CppExamples/ClientServerAsync/client/inc/csasyncrequesthandler.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> |
|
12 <a name="l00002"></a>00002 <span class="comment">* ==============================================================================</span> |
|
13 <a name="l00003"></a>00003 <span class="comment">* Name : csasyncrequesthandler.h</span> |
|
14 <a name="l00004"></a>00004 <span class="comment">* Part of : CSAsync</span> |
|
15 <a name="l00005"></a>00005 <span class="comment">* Interface :</span> |
|
16 <a name="l00006"></a>00006 <span class="comment">* Description :</span> |
|
17 <a name="l00007"></a>00007 <span class="comment">* Version :</span> |
|
18 <a name="l00008"></a>00008 <span class="comment">*</span> |
|
19 <a name="l00009"></a>00009 <span class="comment">* Copyright (c) 2004-2006 Nokia Corporation.</span> |
|
20 <a name="l00010"></a>00010 <span class="comment">* This material, including documentation and any related</span> |
|
21 <a name="l00011"></a>00011 <span class="comment">* computer programs, is protected by copyright controlled by</span> |
|
22 <a name="l00012"></a>00012 <span class="comment">* Nokia Corporation.</span> |
|
23 <a name="l00013"></a>00013 <span class="comment">* ==============================================================================</span> |
|
24 <a name="l00014"></a>00014 <span class="comment">*/</span> |
|
25 <a name="l00015"></a>00015 |
|
26 <a name="l00016"></a>00016 |
|
27 <a name="l00017"></a>00017 <span class="preprocessor">#ifndef __CCSASYNCREQUESTHANDLER_H__</span> |
|
28 <a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define __CCSASYNCREQUESTHANDLER_H__</span> |
|
29 <a name="l00019"></a>00019 <span class="preprocessor"></span> |
|
30 <a name="l00020"></a>00020 <span class="comment">// INCLUDE FILES</span> |
|
31 <a name="l00021"></a>00021 <span class="preprocessor">#include <e32base.h></span> |
|
32 <a name="l00022"></a>00022 <span class="preprocessor">#include "TimeServerSession.h"</span> |
|
33 <a name="l00023"></a>00023 |
|
34 <a name="l00024"></a>00024 <span class="comment">// FORWARD DECLARATIONS</span> |
|
35 <a name="l00025"></a>00025 <span class="keyword">class </span><a class="code" href="class_m_async_time_observer.html">MAsyncTimeObserver</a>; |
|
36 <a name="l00026"></a>00026 |
|
37 <a name="l00027"></a>00027 <span class="comment">// CLASS DECLARATION</span> |
|
38 <a name="l00033"></a><a class="code" href="class_c_c_s_async_request_handler.html">00033</a> <span class="comment"></span><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 |
|
39 <a name="l00034"></a>00034 { |
|
40 <a name="l00035"></a>00035 <span class="keyword">public</span>: <span class="comment">// Constructors and destructors</span> |
|
41 <a name="l00045"></a>00045 <span class="comment"></span> <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#ace1ec40e7106ef002104b42eee746f64">NewL</a>( <a class="code" href="class_m_async_time_observer.html">MAsyncTimeObserver</a>& aObserver ); |
|
42 <a name="l00046"></a>00046 |
|
43 <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#a5e2a6f65b5d2a9c33a1bae7d76c334d1">NewLC</a>( <a class="code" href="class_m_async_time_observer.html">MAsyncTimeObserver</a>& aObserver ); |
|
44 <a name="l00057"></a>00057 |
|
45 <a name="l00063"></a>00063 <span class="keyword">virtual</span> <a class="code" href="class_c_c_s_async_request_handler.html#abdff5aea2c8550c9399f2f78d8216e81">~CCSAsyncRequestHandler</a>(); |
|
46 <a name="l00064"></a>00064 |
|
47 <a name="l00065"></a>00065 <span class="keyword">public</span>: <span class="comment">// New functions</span> |
|
48 <a name="l00066"></a>00066 |
|
49 <a name="l00071"></a>00071 <span class="keywordtype">void</span> <a class="code" href="class_c_c_s_async_request_handler.html#ad34e374499b67c21347c5f87f7911324">RequestTime</a>(); |
|
50 <a name="l00072"></a>00072 |
|
51 <a name="l00077"></a>00077 <span class="keywordtype">void</span> <a class="code" href="class_c_c_s_async_request_handler.html#a64c5f14d32e4351b484cbc5717457d4c">CancelRequest</a>() ; |
|
52 <a name="l00078"></a>00078 |
|
53 <a name="l00084"></a>00084 TTime <a class="code" href="class_c_c_s_async_request_handler.html#aabca1fcdd326961717cd467071b93432">Time</a>() <span class="keyword">const</span>; |
|
54 <a name="l00085"></a>00085 |
|
55 <a name="l00086"></a>00086 <span class="keyword">protected</span>: <span class="comment">// Functions from base classes</span> |
|
56 <a name="l00087"></a>00087 |
|
57 <a name="l00093"></a>00093 <span class="keywordtype">void</span> <a class="code" href="class_c_c_s_async_request_handler.html#a68039f23cd042511b6911beeec532a0f">RunL</a>(); |
|
58 <a name="l00094"></a>00094 |
|
59 <a name="l00099"></a>00099 <span class="keywordtype">void</span> <a class="code" href="class_c_c_s_async_request_handler.html#ab2c9e682b7fc6a09691feeb8c8ffe721">DoCancel</a>(); |
|
60 <a name="l00100"></a>00100 |
|
61 <a name="l00101"></a>00101 <span class="keyword">private</span>: <span class="comment">// Constructors and destructors</span> |
|
62 <a name="l00102"></a>00102 |
|
63 <a name="l00109"></a>00109 <a class="code" href="class_c_c_s_async_request_handler.html">CCSAsyncRequestHandler</a>( <a class="code" href="class_m_async_time_observer.html">MAsyncTimeObserver</a>& aObserver ); |
|
64 <a name="l00110"></a>00110 |
|
65 <a name="l00116"></a>00116 <span class="keywordtype">void</span> ConstructL(); |
|
66 <a name="l00117"></a>00117 |
|
67 <a name="l00118"></a>00118 <span class="keyword">private</span>: <span class="comment">// Data</span> |
|
68 <a name="l00119"></a>00119 |
|
69 <a name="l00123"></a>00123 <a class="code" href="class_r_time_server_session.html">RTimeServerSession</a> iSession; |
|
70 <a name="l00124"></a>00124 |
|
71 <a name="l00128"></a>00128 TTime iTime; |
|
72 <a name="l00129"></a>00129 |
|
73 <a name="l00133"></a>00133 <a class="code" href="class_m_async_time_observer.html">MAsyncTimeObserver</a>& iObserver; |
|
74 <a name="l00134"></a>00134 }; |
|
75 <a name="l00135"></a>00135 |
|
76 <a name="l00136"></a>00136 |
|
77 <a name="l00137"></a>00137 <span class="preprocessor">#endif //__CCSASYNCREQUESTHANDLER_H__</span> |
|
78 <a name="l00138"></a>00138 <span class="preprocessor"></span> |
|
79 <a name="l00139"></a>00139 <span class="comment">// End of File</span> |
|
80 </pre></div></div> |
|
81 <hr size="1"/><address style="text-align: right;"><small>Generated by |
|
82 <a href="http://www.doxygen.org/index.html"> |
|
83 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> |
|
84 </body> |
|
85 </html> |