Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/processserver_8h-source.html
changeset 1 25a17d01db0c
equal deleted inserted replaced
0:89d6a7a84779 1:25a17d01db0c
       
     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
       
     2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
       
     3 <title>TB10.1 Example Applications: examples/Base/IPC/AdvancedClientServerExample/ProcessServer/inc/processserver.h Source File</title>
       
     4 <link href="doxygen.css" rel="stylesheet" type="text/css">
       
     5 <link href="tabs.css" rel="stylesheet" type="text/css">
       
     6 </head><body>
       
     7 <!-- Generated by Doxygen 1.5.3 -->
       
     8 <h1>examples/Base/IPC/AdvancedClientServerExample/ProcessServer/inc/processserver.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).</span>
       
     9 <a name="l00002"></a>00002 <span class="comment">// All rights reserved.</span>
       
    10 <a name="l00003"></a>00003 <span class="comment">// This component and the accompanying materials are made available</span>
       
    11 <a name="l00004"></a>00004 <span class="comment">// under the terms of "Eclipse Public License v1.0"</span>
       
    12 <a name="l00005"></a>00005 <span class="comment">// which accompanies this distribution, and is available</span>
       
    13 <a name="l00006"></a>00006 <span class="comment">// at the URL "http://www.eclipse.org/legal/epl-v10.html".</span>
       
    14 <a name="l00007"></a>00007 <span class="comment">//</span>
       
    15 <a name="l00008"></a>00008 <span class="comment">// Initial Contributors:</span>
       
    16 <a name="l00009"></a>00009 <span class="comment">// Nokia Corporation - initial contribution.</span>
       
    17 <a name="l00010"></a>00010 <span class="comment">//</span>
       
    18 <a name="l00011"></a>00011 <span class="comment">// Contributors:</span>
       
    19 <a name="l00012"></a>00012 <span class="comment">//</span>
       
    20 <a name="l00013"></a>00013 <span class="comment">// Description:</span>
       
    21 <a name="l00014"></a>00014 <span class="comment">//</span>
       
    22 <a name="l00015"></a>00015 
       
    23 <a name="l00016"></a>00016 <span class="preprocessor">#ifndef __PROCESSSERVER_H__</span>
       
    24 <a name="l00017"></a>00017 <span class="preprocessor"></span><span class="preprocessor">#define __PROCESSSERVER_H__</span>
       
    25 <a name="l00018"></a>00018 <span class="preprocessor"></span>
       
    26 <a name="l00019"></a>00019 <span class="preprocessor">#include &lt;e32base.h&gt;</span>
       
    27 <a name="l00020"></a>00020 <span class="preprocessor">#include &lt;e32std.h&gt;</span>
       
    28 <a name="l00021"></a>00021 <span class="preprocessor">#include "shutdownserver.h"</span>
       
    29 <a name="l00022"></a>00022 <span class="preprocessor">#include "processclientserver.h"</span>
       
    30 <a name="l00023"></a>00023 <span class="preprocessor">#include "<a class="code" href="driver1_8h.html">driver1.h</a>"</span>
       
    31 <a name="l00024"></a>00024 
       
    32 <a name="l00025"></a>00025 <span class="keyword">class </span>CAsyncHandler; 
       
    33 <a name="l00029"></a><a class="code" href="class_c_process_server.html">00029</a> <span class="keyword">class </span><a class="code" href="class_c_process_server.html">CProcessServer</a> : <span class="keyword">public</span> CServer2
       
    34 <a name="l00030"></a>00030         {
       
    35 <a name="l00031"></a>00031 <span class="keyword">public</span>:
       
    36 <a name="l00035"></a><a class="code" href="class_c_process_server.html#82cab30ea5d500e0abc51d39a0889b38">00035</a>         <span class="keyword">enum</span> <a class="code" href="class_c_process_server.html#82cab30ea5d500e0abc51d39a0889b38">TDriverState</a>
       
    37 <a name="l00036"></a>00036                 {
       
    38 <a name="l00037"></a><a class="code" href="class_c_process_server.html#82cab30ea5d500e0abc51d39a0889b38febfde84b09cb7b3b4bfc1fe81587451">00037</a>                 <a class="code" href="class_c_process_server.html#82cab30ea5d500e0abc51d39a0889b38febfde84b09cb7b3b4bfc1fe81587451">EStateUnknown</a>,
       
    39 <a name="l00038"></a><a class="code" href="class_c_process_server.html#82cab30ea5d500e0abc51d39a0889b38e0571fa5b49a37bdac4e3d6e5f6f30a1">00038</a>                 <a class="code" href="class_c_process_server.html#82cab30ea5d500e0abc51d39a0889b38e0571fa5b49a37bdac4e3d6e5f6f30a1">EDriverLoaded</a>,
       
    40 <a name="l00039"></a><a class="code" href="class_c_process_server.html#82cab30ea5d500e0abc51d39a0889b38d1f2b7048e915bb24c249a40e10c500c">00039</a>                 <a class="code" href="class_c_process_server.html#82cab30ea5d500e0abc51d39a0889b38d1f2b7048e915bb24c249a40e10c500c">ELogicalChannelOpened</a>,
       
    41 <a name="l00040"></a><a class="code" href="class_c_process_server.html#82cab30ea5d500e0abc51d39a0889b38946b4628ef31d91ded88495747be5902">00040</a>                 <a class="code" href="class_c_process_server.html#82cab30ea5d500e0abc51d39a0889b38946b4628ef31d91ded88495747be5902">ESendingData</a>,
       
    42 <a name="l00041"></a><a class="code" href="class_c_process_server.html#82cab30ea5d500e0abc51d39a0889b385357bdbb689c819cd07b927e09b11e3f">00041</a>                 <a class="code" href="class_c_process_server.html#82cab30ea5d500e0abc51d39a0889b385357bdbb689c819cd07b927e09b11e3f">ELogicalChannelClosed</a>,
       
    43 <a name="l00042"></a><a class="code" href="class_c_process_server.html#82cab30ea5d500e0abc51d39a0889b386156c4dd182e5386ec555f3da184fdfd">00042</a>                 <a class="code" href="class_c_process_server.html#82cab30ea5d500e0abc51d39a0889b386156c4dd182e5386ec555f3da184fdfd">EDriverUnloaded</a>
       
    44 <a name="l00043"></a>00043                 };
       
    45 <a name="l00047"></a>00047         <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_c_process_server.html#239278f30e2253b2d0827752355dbef2">NewLC</a>();
       
    46 <a name="l00052"></a>00052         <a class="code" href="class_c_process_server.html#f9cff6818110c62a7ad6a1c19984297b">~CProcessServer</a>();
       
    47 <a name="l00057"></a>00057         CSession2* <a class="code" href="class_c_process_server.html#0025005d37f3cc34dc8e181373980ce9">NewSessionL</a>(<span class="keyword">const</span> TVersion&amp; aVersion,<span class="keyword">const</span> RMessage2&amp; aMessage) <span class="keyword">const</span>;
       
    48 <a name="l00062"></a>00062         <span class="keywordtype">void</span> <a class="code" href="class_c_process_server.html#d113263093aaa3489308e2ecc6f20c87">IncrementRefCount</a>();
       
    49 <a name="l00067"></a>00067         <span class="keywordtype">void</span> <a class="code" href="class_c_process_server.html#cc9e2e8092c07e6fbf8aa4f866a1ba89">DecrementRefCount</a>();
       
    50 <a name="l00071"></a>00071         TInt <a class="code" href="class_c_process_server.html#9333ba960d07b42c72d98466b01788ce">LoadDevice</a>();
       
    51 <a name="l00075"></a>00075         TInt <a class="code" href="class_c_process_server.html#3e78b0766ff78223d4ccf77fa717b269">UnloadDevice</a>();
       
    52 <a name="l00079"></a>00079         TInt <a class="code" href="class_c_process_server.html#1861af3b7073acf002b55520397c4678">OpenLogicalChannel</a>();
       
    53 <a name="l00083"></a>00083         <span class="keywordtype">void</span> <a class="code" href="class_c_process_server.html#c381e3ac102f3c720ca1cffec2ab570d">CloseLogicalChannel</a>();
       
    54 <a name="l00087"></a>00087         TInt <a class="code" href="class_c_process_server.html#a1e3677c879b6a531f67267ff63ec214">SendDataToDevice</a>(TRequestStatus&amp; aStatus, <span class="keyword">const</span> TDesC8&amp; aData);
       
    55 <a name="l00091"></a>00091         <span class="keywordtype">void</span> <a class="code" href="class_c_process_server.html#853cb371c075e2f74ac3e28a9a66f38e">CancelSendData</a>();
       
    56 <a name="l00095"></a>00095         <span class="keywordtype">void</span> <a class="code" href="class_c_process_server.html#6af5450445ef1f12826f88a24ec83043">UpdateDriverState</a>(<a class="code" href="class_c_process_server.html#82cab30ea5d500e0abc51d39a0889b38">TDriverState</a> aState);
       
    57 <a name="l00096"></a>00096         
       
    58 <a name="l00097"></a>00097 <span class="keyword">private</span>:
       
    59 <a name="l00098"></a>00098         <a class="code" href="class_c_process_server.html">CProcessServer</a>();
       
    60 <a name="l00099"></a>00099         <span class="keywordtype">void</span> ConstructL();
       
    61 <a name="l00100"></a>00100 
       
    62 <a name="l00101"></a>00101 <span class="keyword">private</span>:
       
    63 <a name="l00102"></a>00102         TInt                                    iRefCount;
       
    64 <a name="l00103"></a>00103         <a class="code" href="class_c_delay_server_shut_down.html">CDelayServerShutDown</a>*   iDelayProcessServerShutDown;
       
    65 <a name="l00104"></a>00104         <a class="code" href="class_r_driver1.html">RDriver1</a>                                iDriver;
       
    66 <a name="l00105"></a>00105         <a class="code" href="class_c_process_server.html#82cab30ea5d500e0abc51d39a0889b38">TDriverState</a>                    iDriverState;
       
    67 <a name="l00106"></a>00106         };
       
    68 <a name="l00107"></a>00107         
       
    69 <a name="l00108"></a>00108 
       
    70 <a name="l00109"></a>00109 
       
    71 <a name="l00110"></a>00110 <span class="preprocessor">#endif</span>
       
    72 </pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Thu Jan 21 10:32:56 2010 for TB10.1 Example Applications by&nbsp;
       
    73 <a href="http://www.doxygen.org/index.html">
       
    74 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
       
    75 </body>
       
    76 </html>