Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/csasyncrequesthandler_8h_source.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>TB9.2 Example Applications: examples/S60CppExamples/ClientServerAsync/client/inc/csasyncrequesthandler.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.2 -->
<h1>examples/S60CppExamples/ClientServerAsync/client/inc/csasyncrequesthandler.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment">* ==============================================================================</span>
<a name="l00003"></a>00003 <span class="comment">* Name : csasyncrequesthandler.h</span>
<a name="l00004"></a>00004 <span class="comment">* Part of : CSAsync</span>
<a name="l00005"></a>00005 <span class="comment">* Interface :</span>
<a name="l00006"></a>00006 <span class="comment">* Description :</span>
<a name="l00007"></a>00007 <span class="comment">* Version :</span>
<a name="l00008"></a>00008 <span class="comment">*</span>
<a name="l00009"></a>00009 <span class="comment">* Copyright (c) 2004-2006 Nokia Corporation.</span>
<a name="l00010"></a>00010 <span class="comment">* This material, including documentation and any related</span>
<a name="l00011"></a>00011 <span class="comment">* computer programs, is protected by copyright controlled by</span>
<a name="l00012"></a>00012 <span class="comment">* Nokia Corporation.</span>
<a name="l00013"></a>00013 <span class="comment">* ==============================================================================</span>
<a name="l00014"></a>00014 <span class="comment">*/</span>
<a name="l00015"></a>00015
<a name="l00016"></a>00016
<a name="l00017"></a>00017 <span class="preprocessor">#ifndef __CCSASYNCREQUESTHANDLER_H__</span>
<a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define __CCSASYNCREQUESTHANDLER_H__</span>
<a name="l00019"></a>00019 <span class="preprocessor"></span>
<a name="l00020"></a>00020 <span class="comment">// INCLUDE FILES</span>
<a name="l00021"></a>00021 <span class="preprocessor">#include <e32base.h></span>
<a name="l00022"></a>00022 <span class="preprocessor">#include "TimeServerSession.h"</span>
<a name="l00023"></a>00023
<a name="l00024"></a>00024 <span class="comment">// FORWARD DECLARATIONS</span>
<a name="l00025"></a>00025 <span class="keyword">class </span><a class="code" href="class_m_async_time_observer.html">MAsyncTimeObserver</a>;
<a name="l00026"></a>00026
<a name="l00027"></a>00027 <span class="comment">// CLASS DECLARATION</span>
<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
<a name="l00034"></a>00034 {
<a name="l00035"></a>00035 <span class="keyword">public</span>: <span class="comment">// Constructors and destructors</span>
<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 );
<a name="l00046"></a>00046
<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 );
<a name="l00057"></a>00057
<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>();
<a name="l00064"></a>00064
<a name="l00065"></a>00065 <span class="keyword">public</span>: <span class="comment">// New functions</span>
<a name="l00066"></a>00066
<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>();
<a name="l00072"></a>00072
<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>() ;
<a name="l00078"></a>00078
<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>;
<a name="l00085"></a>00085
<a name="l00086"></a>00086 <span class="keyword">protected</span>: <span class="comment">// Functions from base classes</span>
<a name="l00087"></a>00087
<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>();
<a name="l00094"></a>00094
<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>();
<a name="l00100"></a>00100
<a name="l00101"></a>00101 <span class="keyword">private</span>: <span class="comment">// Constructors and destructors</span>
<a name="l00102"></a>00102
<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 );
<a name="l00110"></a>00110
<a name="l00116"></a>00116 <span class="keywordtype">void</span> ConstructL();
<a name="l00117"></a>00117
<a name="l00118"></a>00118 <span class="keyword">private</span>: <span class="comment">// Data</span>
<a name="l00119"></a>00119
<a name="l00123"></a>00123 <a class="code" href="class_r_time_server_session.html">RTimeServerSession</a> iSession;
<a name="l00124"></a>00124
<a name="l00128"></a>00128 TTime iTime;
<a name="l00129"></a>00129
<a name="l00133"></a>00133 <a class="code" href="class_m_async_time_observer.html">MAsyncTimeObserver</a>& iObserver;
<a name="l00134"></a>00134 };
<a name="l00135"></a>00135
<a name="l00136"></a>00136
<a name="l00137"></a>00137 <span class="preprocessor">#endif //__CCSASYNCREQUESTHANDLER_H__</span>
<a name="l00138"></a>00138 <span class="preprocessor"></span>
<a name="l00139"></a>00139 <span class="comment">// End of File</span>
</pre></div></div>
<hr size="1"/><address style="text-align: right;"><small>Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
</body>
</html>