Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/secureclientandserver_8h.html
changeset 1 25a17d01db0c
child 6 43e37759235e
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/secureserver/secureclientandserver.h File Reference</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/secureserver/secureclientandserver.h File Reference</h1>
       
     9 <p>
       
    10 <a href="secureclientandserver_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
       
    11 <tr><td></td></tr>
       
    12 <tr><td colspan="2"><br><h2>Enumerations</h2></td></tr>
       
    13 <tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="secureclientandserver_8h.html#19a3f57ac2d7b8518f6682573ac637c2">TSecureServerRequest</a> { <br>
       
    14 &nbsp;&nbsp;<a class="el" href="secureclientandserver_8h.html#19a3f57ac2d7b8518f6682573ac637c2eeea637ffeed72685729b2eb5c0a1d06">ESecureServerCreateSubSession</a>, 
       
    15 <a class="el" href="secureclientandserver_8h.html#19a3f57ac2d7b8518f6682573ac637c2019d5723fe668d1d7092919022bb7cd8">ESecureServerCloseSubSession</a>, 
       
    16 <a class="el" href="secureclientandserver_8h.html#19a3f57ac2d7b8518f6682573ac637c2340b8bb36e8a83dedc23b33ad454cc41">ESecureServerInitSubSession</a>, 
       
    17 <a class="el" href="secureclientandserver_8h.html#19a3f57ac2d7b8518f6682573ac637c28e272085a7b510b91c0e210e46eb687e">ESecureServerCloseSession</a>, 
       
    18 <br>
       
    19 &nbsp;&nbsp;<a class="el" href="secureclientandserver_8h.html#19a3f57ac2d7b8518f6682573ac637c2ac8031c2e6141daa00372a90dbea0686">ESecureServerValue</a>, 
       
    20 <a class="el" href="secureclientandserver_8h.html#19a3f57ac2d7b8518f6682573ac637c27fc92e555feb4e8e8cacd2ea4508b4ed">ESecureServerResourceCount</a>, 
       
    21 <a class="el" href="secureclientandserver_8h.html#19a3f57ac2d7b8518f6682573ac637c21b3935c0f5f79f45a27de1fa32654e17">ESecureServerIncrease</a>, 
       
    22 <a class="el" href="secureclientandserver_8h.html#19a3f57ac2d7b8518f6682573ac637c29c27793f5b6b3beb6aad11d0bf953144">ESecureServerIncreaseBy</a>, 
       
    23 <br>
       
    24 &nbsp;&nbsp;<a class="el" href="secureclientandserver_8h.html#19a3f57ac2d7b8518f6682573ac637c242948fe36fdaab2a2d9a4328ea3eedec">ESecureServerDecrease</a>, 
       
    25 <a class="el" href="secureclientandserver_8h.html#19a3f57ac2d7b8518f6682573ac637c20bcce01e7f822786412221374e7a8b76">ESecureServerDecreaseBy</a>, 
       
    26 <a class="el" href="secureclientandserver_8h.html#19a3f57ac2d7b8518f6682573ac637c2a9d1e980d9ed0a23782b98761d7e57d7">ESecureServerReset</a>, 
       
    27 <a class="el" href="secureclientandserver_8h.html#19a3f57ac2d7b8518f6682573ac637c21c7338d8bb93ce1b82088d1282516d3d">ESecureServerSaveCounter</a>, 
       
    28 <br>
       
    29 &nbsp;&nbsp;<a class="el" href="secureclientandserver_8h.html#19a3f57ac2d7b8518f6682573ac637c2f1d352024cd4a379c9dd9406152b9592">ESecureServerSetCounterFromFile</a>
       
    30 <br>
       
    31  }</td></tr>
       
    32 
       
    33 <tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="secureclientandserver_8h.html#c31a03d737c6ab16ba55ceab73d57b71">TSecureServerLeave</a> { <a class="el" href="secureclientandserver_8h.html#c31a03d737c6ab16ba55ceab73d57b71e3a6b8e17c25d02a3ae9ca7362ba4d0c">ENonNumericString</a> =  99
       
    34  }</td></tr>
       
    35 
       
    36 <tr><td colspan="2"><br><h2>Functions</h2></td></tr>
       
    37 <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="secureclientandserver_8h.html#5eadd4429627d82193b37536d4faa03a">_LIT</a> (KSecureServerName,&quot;SecureServer&quot;)</td></tr>
       
    38 
       
    39 <tr><td class="memItemLeft" nowrap align="right" valign="top">IMPORT_C TInt&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="secureclientandserver_8h.html#f110d475e98114c0f2a42b7313af8e67">StartThread</a> (RThread &amp;aServerThread)</td></tr>
       
    40 
       
    41 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a44b67f5bd192f795516c61a404c49c5"></a><!-- doxytag: member="secureclientandserver.h::_LIT" ref="a44b67f5bd192f795516c61a404c49c5" args="(KTextConsoleTitle,&quot;Secure Server Console&quot;)" -->
       
    42 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTextConsoleTitle,&quot;Secure Server Console&quot;)</td></tr>
       
    43 
       
    44 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9935f72ce83f6c42ca010bfad2381b43"></a><!-- doxytag: member="secureclientandserver.h::_LIT" ref="9935f72ce83f6c42ca010bfad2381b43" args="(KTextFailed,&quot; failed, leave code = %d&quot;)" -->
       
    45 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTextFailed,&quot; failed, leave code = %d&quot;)</td></tr>
       
    46 
       
    47 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c81b0ae4c5093cd9997583ca1d62e74a"></a><!-- doxytag: member="secureclientandserver.h::_LIT" ref="c81b0ae4c5093cd9997583ca1d62e74a" args="(KTextPressAnyKey,&quot; [press any key]\n&quot;)" -->
       
    48 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTextPressAnyKey,&quot; [press any key]\n&quot;)</td></tr>
       
    49 
       
    50 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5ced82582356fd101e490423d7dca696"></a><!-- doxytag: member="secureclientandserver.h::_LIT" ref="5ced82582356fd101e490423d7dca696" args="(KTxtTestingCountServer,&quot;Testing the count server test with 2 client sub sessions; these represent independent counters \n\n&quot;)" -->
       
    51 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTxtTestingCountServer,&quot;Testing the count server test with 2 client sub sessions; these represent independent counters \n\n&quot;)</td></tr>
       
    52 
       
    53 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3da8b2ce1bac05e1fb81cc1df3815bac"></a><!-- doxytag: member="secureclientandserver.h::_LIT" ref="3da8b2ce1bac05e1fb81cc1df3815bac" args="(KTxtInitCounterAWith,&quot;\nInitialize counter A with : &quot;)" -->
       
    54 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTxtInitCounterAWith,&quot;\nInitialize counter A with : &quot;)</td></tr>
       
    55 
       
    56 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="83d6c2387c7508a4bfac3bbe18374730"></a><!-- doxytag: member="secureclientandserver.h::_LIT" ref="83d6c2387c7508a4bfac3bbe18374730" args="(KTxtInitCounterBWith,&quot;\nInitialize counter B with : &quot;)" -->
       
    57 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTxtInitCounterBWith,&quot;\nInitialize counter B with : &quot;)</td></tr>
       
    58 
       
    59 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="627ec66ab6493c54e9de7d33b6cefbeb"></a><!-- doxytag: member="secureclientandserver.h::_LIT" ref="627ec66ab6493c54e9de7d33b6cefbeb" args="(KTxtInitCounterFailed,&quot;\nSetting the counter from string failed: non-numeric character detected\n&quot;)" -->
       
    60 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTxtInitCounterFailed,&quot;\nSetting the counter from string failed: non-numeric character detected\n&quot;)</td></tr>
       
    61 
       
    62 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2886f7bfd65b3571f32ce88b1ac5e5ce"></a><!-- doxytag: member="secureclientandserver.h::_LIT" ref="2886f7bfd65b3571f32ce88b1ac5e5ce" args="(KTxtInitCounterSucceeded,&quot;\nSetting the counter from string succeeded\n&quot;)" -->
       
    63 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTxtInitCounterSucceeded,&quot;\nSetting the counter from string succeeded\n&quot;)</td></tr>
       
    64 
       
    65 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b8f927064c3e79d258c0cb323e1e4199"></a><!-- doxytag: member="secureclientandserver.h::_LIT" ref="b8f927064c3e79d258c0cb323e1e4199" args="(KTxtGetCounterAValue,&quot;Getting counterA value from server: %d \n&quot;)" -->
       
    66 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTxtGetCounterAValue,&quot;Getting counterA value from server: %d \n&quot;)</td></tr>
       
    67 
       
    68 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f6a8628c5bde31e2f190f7a5a53ec991"></a><!-- doxytag: member="secureclientandserver.h::_LIT" ref="f6a8628c5bde31e2f190f7a5a53ec991" args="(KTxtGetCounterBValue,&quot;Getting counterB value from server: %d \n&quot;)" -->
       
    69 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTxtGetCounterBValue,&quot;Getting counterB value from server: %d \n&quot;)</td></tr>
       
    70 
       
    71 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8f8dca1513a0a5a6d26ab55142da1fdc"></a><!-- doxytag: member="secureclientandserver.h::_LIT" ref="8f8dca1513a0a5a6d26ab55142da1fdc" args="(KTxtTransactionId,&quot;***\nTransaction ID of the session : %d\n***\n&quot;)" -->
       
    72 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTxtTransactionId,&quot;***\nTransaction ID of the session : %d\n***\n&quot;)</td></tr>
       
    73 
       
    74 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dbb0f0ff26cc435d54237e6857c15577"></a><!-- doxytag: member="secureclientandserver.h::_LIT" ref="dbb0f0ff26cc435d54237e6857c15577" args="(KMsgPressAnyKey,&quot; (press any key to continue)\n&quot;)" -->
       
    75 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KMsgPressAnyKey,&quot; (press any key to continue)\n&quot;)</td></tr>
       
    76 
       
    77 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4f8e3b106dd74f45993958c668ef7a6b"></a><!-- doxytag: member="secureclientandserver.h::_LIT" ref="4f8e3b106dd74f45993958c668ef7a6b" args="(KTxtOption,&quot;\nEnter 1 to initialise from file\n&quot;)" -->
       
    78 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTxtOption,&quot;\nEnter 1 to initialise from file\n&quot;)</td></tr>
       
    79 
       
    80 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="51c5db8fd4df6e6d0e59312a35d7fe66"></a><!-- doxytag: member="secureclientandserver.h::_LIT" ref="51c5db8fd4df6e6d0e59312a35d7fe66" args="(KTxtInitFromFile,&quot;\nInitialising from file, value = %d\n&quot;)" -->
       
    81 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTxtInitFromFile,&quot;\nInitialising from file, value = %d\n&quot;)</td></tr>
       
    82 
       
    83 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9e263f2de1821cddf47afcab5d05bd94"></a><!-- doxytag: member="secureclientandserver.h::_LIT" ref="9e263f2de1821cddf47afcab5d05bd94" args="(KTxtTransactionID,&quot;\nEnter the Transaction ID for the session\n&quot;)" -->
       
    84 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTxtTransactionID,&quot;\nEnter the Transaction ID for the session\n&quot;)</td></tr>
       
    85 
       
    86 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9bbc182e7bfd5cf9b511a92f9277ef8a"></a><!-- doxytag: member="secureclientandserver.h::_LIT" ref="9bbc182e7bfd5cf9b511a92f9277ef8a" args="(KTxtSaveToFile,&quot;\nTo save the value of counter A press 'a' and for counter B press 'b'..\n&quot;)" -->
       
    87 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTxtSaveToFile,&quot;\nTo save the value of counter A press 'a' and for counter B press 'b'..\n&quot;)</td></tr>
       
    88 
       
    89 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="250ee6e3d2a05100e7a82110851073f9"></a><!-- doxytag: member="secureclientandserver.h::_LIT" ref="250ee6e3d2a05100e7a82110851073f9" args="(KTxtSelectCounter,&quot;\nYou selected counter %c\n&quot;)" -->
       
    90 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTxtSelectCounter,&quot;\nYou selected counter %c\n&quot;)</td></tr>
       
    91 
       
    92 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="30763216d0442e6f4a95152ee4aa9525"></a><!-- doxytag: member="secureclientandserver.h::_LIT" ref="30763216d0442e6f4a95152ee4aa9525" args="(KTxtSaveCounter,&quot;\nSaving Counter Value..\n&quot;)" -->
       
    93 &nbsp;</td><td class="memItemRight" valign="bottom"><b>_LIT</b> (KTxtSaveCounter,&quot;\nSaving Counter Value..\n&quot;)</td></tr>
       
    94 
       
    95 <tr><td colspan="2"><br><h2>Variables</h2></td></tr>
       
    96 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6c2390f8a2966c6633b3291aafb96bac"></a><!-- doxytag: member="secureclientandserver.h::KDefaultMessageSlots" ref="6c2390f8a2966c6633b3291aafb96bac" args="" -->
       
    97 const TUint&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="secureclientandserver_8h.html#6c2390f8a2966c6633b3291aafb96bac">KDefaultMessageSlots</a> = 4</td></tr>
       
    98 
       
    99 <tr><td class="memItemLeft" nowrap align="right" valign="top">const TUint&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="secureclientandserver_8h.html#2c7a31de3ef992e8aa4c26453c32fc5f">KSecureServMajorVersionNumber</a> = 0</td></tr>
       
   100 
       
   101 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="278c356b18a5bf229401b22dc41f4a93"></a><!-- doxytag: member="secureclientandserver.h::KSecureServMinorVersionNumber" ref="278c356b18a5bf229401b22dc41f4a93" args="" -->
       
   102 const TUint&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="secureclientandserver_8h.html#278c356b18a5bf229401b22dc41f4a93">KSecureServMinorVersionNumber</a> = 1</td></tr>
       
   103 
       
   104 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d2f7af8cbb138c526da5559f77f5764d"></a><!-- doxytag: member="secureclientandserver.h::KSecureServBuildVersionNumber" ref="d2f7af8cbb138c526da5559f77f5764d" args="" -->
       
   105 const TUint&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="secureclientandserver_8h.html#d2f7af8cbb138c526da5559f77f5764d">KSecureServBuildVersionNumber</a> = 1</td></tr>
       
   106 
       
   107 </table>
       
   108 <hr><a name="_details"></a><h2>Detailed Description</h2>
       
   109 <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_r_secure_sub_session.html">RSecureSubSession</a> </dd></dl>
       
   110 
       
   111 <p>Definition in file <a class="el" href="secureclientandserver_8h-source.html">secureclientandserver.h</a>.</p>
       
   112 <hr><h2>Enumeration Type Documentation</h2>
       
   113 <a class="anchor" name="19a3f57ac2d7b8518f6682573ac637c2"></a><!-- doxytag: member="secureclientandserver.h::TSecureServerRequest" ref="19a3f57ac2d7b8518f6682573ac637c2" args="" -->
       
   114 <div class="memitem">
       
   115 <div class="memproto">
       
   116       <table class="memname">
       
   117         <tr>
       
   118           <td class="memname">enum <a class="el" href="secureclientandserver_8h.html#19a3f57ac2d7b8518f6682573ac637c2">TSecureServerRequest</a>          </td>
       
   119         </tr>
       
   120       </table>
       
   121 </div>
       
   122 <div class="memdoc">
       
   123 
       
   124 <p>
       
   125 Op codes supported by the server. <dl compact><dt><b>Enumerator: </b></dt><dd>
       
   126 <table border="0" cellspacing="2" cellpadding="0">
       
   127 <tr><td valign="top"><em><a class="anchor" name="19a3f57ac2d7b8518f6682573ac637c2eeea637ffeed72685729b2eb5c0a1d06"></a><!-- doxytag: member="ESecureServerCreateSubSession" ref="19a3f57ac2d7b8518f6682573ac637c2eeea637ffeed72685729b2eb5c0a1d06" args="" -->ESecureServerCreateSubSession</em>&nbsp;</td><td>
       
   128 Op code to create a subsession. </td></tr>
       
   129 <tr><td valign="top"><em><a class="anchor" name="19a3f57ac2d7b8518f6682573ac637c2019d5723fe668d1d7092919022bb7cd8"></a><!-- doxytag: member="ESecureServerCloseSubSession" ref="19a3f57ac2d7b8518f6682573ac637c2019d5723fe668d1d7092919022bb7cd8" args="" -->ESecureServerCloseSubSession</em>&nbsp;</td><td>
       
   130 Op code to close a subsession. </td></tr>
       
   131 <tr><td valign="top"><em><a class="anchor" name="19a3f57ac2d7b8518f6682573ac637c2340b8bb36e8a83dedc23b33ad454cc41"></a><!-- doxytag: member="ESecureServerInitSubSession" ref="19a3f57ac2d7b8518f6682573ac637c2340b8bb36e8a83dedc23b33ad454cc41" args="" -->ESecureServerInitSubSession</em>&nbsp;</td><td>
       
   132 Op code to initialise the counter of the subsession. </td></tr>
       
   133 <tr><td valign="top"><em><a class="anchor" name="19a3f57ac2d7b8518f6682573ac637c28e272085a7b510b91c0e210e46eb687e"></a><!-- doxytag: member="ESecureServerCloseSession" ref="19a3f57ac2d7b8518f6682573ac637c28e272085a7b510b91c0e210e46eb687e" args="" -->ESecureServerCloseSession</em>&nbsp;</td><td>
       
   134 Op code to close a session. </td></tr>
       
   135 <tr><td valign="top"><em><a class="anchor" name="19a3f57ac2d7b8518f6682573ac637c2ac8031c2e6141daa00372a90dbea0686"></a><!-- doxytag: member="ESecureServerValue" ref="19a3f57ac2d7b8518f6682573ac637c2ac8031c2e6141daa00372a90dbea0686" args="" -->ESecureServerValue</em>&nbsp;</td><td>
       
   136 Op code to get the counter value from the server. </td></tr>
       
   137 <tr><td valign="top"><em><a class="anchor" name="19a3f57ac2d7b8518f6682573ac637c27fc92e555feb4e8e8cacd2ea4508b4ed"></a><!-- doxytag: member="ESecureServerResourceCount" ref="19a3f57ac2d7b8518f6682573ac637c27fc92e555feb4e8e8cacd2ea4508b4ed" args="" -->ESecureServerResourceCount</em>&nbsp;</td><td>
       
   138 Op code to get the resource count from the server. </td></tr>
       
   139 <tr><td valign="top"><em><a class="anchor" name="19a3f57ac2d7b8518f6682573ac637c21b3935c0f5f79f45a27de1fa32654e17"></a><!-- doxytag: member="ESecureServerIncrease" ref="19a3f57ac2d7b8518f6682573ac637c21b3935c0f5f79f45a27de1fa32654e17" args="" -->ESecureServerIncrease</em>&nbsp;</td><td>
       
   140 Op code to increase the counter value by one. </td></tr>
       
   141 <tr><td valign="top"><em><a class="anchor" name="19a3f57ac2d7b8518f6682573ac637c29c27793f5b6b3beb6aad11d0bf953144"></a><!-- doxytag: member="ESecureServerIncreaseBy" ref="19a3f57ac2d7b8518f6682573ac637c29c27793f5b6b3beb6aad11d0bf953144" args="" -->ESecureServerIncreaseBy</em>&nbsp;</td><td>
       
   142 Op code to increase the counter value by a value greater than one. </td></tr>
       
   143 <tr><td valign="top"><em><a class="anchor" name="19a3f57ac2d7b8518f6682573ac637c242948fe36fdaab2a2d9a4328ea3eedec"></a><!-- doxytag: member="ESecureServerDecrease" ref="19a3f57ac2d7b8518f6682573ac637c242948fe36fdaab2a2d9a4328ea3eedec" args="" -->ESecureServerDecrease</em>&nbsp;</td><td>
       
   144 Op code to decrease the counter value by one. </td></tr>
       
   145 <tr><td valign="top"><em><a class="anchor" name="19a3f57ac2d7b8518f6682573ac637c20bcce01e7f822786412221374e7a8b76"></a><!-- doxytag: member="ESecureServerDecreaseBy" ref="19a3f57ac2d7b8518f6682573ac637c20bcce01e7f822786412221374e7a8b76" args="" -->ESecureServerDecreaseBy</em>&nbsp;</td><td>
       
   146 Op code to increase the counter value by a value greater than one. </td></tr>
       
   147 <tr><td valign="top"><em><a class="anchor" name="19a3f57ac2d7b8518f6682573ac637c2a9d1e980d9ed0a23782b98761d7e57d7"></a><!-- doxytag: member="ESecureServerReset" ref="19a3f57ac2d7b8518f6682573ac637c2a9d1e980d9ed0a23782b98761d7e57d7" args="" -->ESecureServerReset</em>&nbsp;</td><td>
       
   148 Op code to reset the counter to default value. </td></tr>
       
   149 <tr><td valign="top"><em><a class="anchor" name="19a3f57ac2d7b8518f6682573ac637c21c7338d8bb93ce1b82088d1282516d3d"></a><!-- doxytag: member="ESecureServerSaveCounter" ref="19a3f57ac2d7b8518f6682573ac637c21c7338d8bb93ce1b82088d1282516d3d" args="" -->ESecureServerSaveCounter</em>&nbsp;</td><td>
       
   150 Op code to save the counter value to the counter.dat file. </td></tr>
       
   151 <tr><td valign="top"><em><a class="anchor" name="19a3f57ac2d7b8518f6682573ac637c2f1d352024cd4a379c9dd9406152b9592"></a><!-- doxytag: member="ESecureServerSetCounterFromFile" ref="19a3f57ac2d7b8518f6682573ac637c2f1d352024cd4a379c9dd9406152b9592" args="" -->ESecureServerSetCounterFromFile</em>&nbsp;</td><td>
       
   152 Op code to set the counter value from the counter.dat file. </td></tr>
       
   153 </table>
       
   154 </dl>
       
   155 
       
   156 <p>Definition at line <a class="el" href="secureclientandserver_8h-source.html#l00052">52</a> of file <a class="el" href="secureclientandserver_8h-source.html">secureclientandserver.h</a>.</p>
       
   157 
       
   158 </div>
       
   159 </div><p>
       
   160 <a class="anchor" name="c31a03d737c6ab16ba55ceab73d57b71"></a><!-- doxytag: member="secureclientandserver.h::TSecureServerLeave" ref="c31a03d737c6ab16ba55ceab73d57b71" args="" -->
       
   161 <div class="memitem">
       
   162 <div class="memproto">
       
   163       <table class="memname">
       
   164         <tr>
       
   165           <td class="memname">enum <a class="el" href="secureclientandserver_8h.html#c31a03d737c6ab16ba55ceab73d57b71">TSecureServerLeave</a>          </td>
       
   166         </tr>
       
   167       </table>
       
   168 </div>
       
   169 <div class="memdoc">
       
   170 
       
   171 <p>
       
   172 Defines the leave code of the server. <dl compact><dt><b>Enumerator: </b></dt><dd>
       
   173 <table border="0" cellspacing="2" cellpadding="0">
       
   174 <tr><td valign="top"><em><a class="anchor" name="c31a03d737c6ab16ba55ceab73d57b71e3a6b8e17c25d02a3ae9ca7362ba4d0c"></a><!-- doxytag: member="ENonNumericString" ref="c31a03d737c6ab16ba55ceab73d57b71e3a6b8e17c25d02a3ae9ca7362ba4d0c" args="" -->ENonNumericString</em>&nbsp;</td><td>
       
   175 Leave code if the string that sets the counter contains non-numeric characters. For example, the string "ab" is invalid and "10" is valid. <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_c_secure_server_sub_session.html#97ed872aae87b8cb76d6fa101a52303f">CSecureServerSubSession::SetFromStringL</a> </dd></dl>
       
   176 </td></tr>
       
   177 </table>
       
   178 </dl>
       
   179 
       
   180 <p>Definition at line <a class="el" href="secureclientandserver_8h-source.html#l00111">111</a> of file <a class="el" href="secureclientandserver_8h-source.html">secureclientandserver.h</a>.</p>
       
   181 
       
   182 </div>
       
   183 </div><p>
       
   184 <hr><h2>Function Documentation</h2>
       
   185 <a class="anchor" name="5eadd4429627d82193b37536d4faa03a"></a><!-- doxytag: member="secureclientandserver.h::_LIT" ref="5eadd4429627d82193b37536d4faa03a" args="(KSecureServerName,&quot;SecureServer&quot;)" -->
       
   186 <div class="memitem">
       
   187 <div class="memproto">
       
   188       <table class="memname">
       
   189         <tr>
       
   190           <td class="memname">_LIT           </td>
       
   191           <td>(</td>
       
   192           <td class="paramtype">KSecureServerName&nbsp;</td>
       
   193           <td class="paramname">, </td>
       
   194         </tr>
       
   195         <tr>
       
   196           <td class="paramkey"></td>
       
   197           <td></td>
       
   198           <td class="paramtype">&quot;SecureServer&quot;&nbsp;</td>
       
   199           <td class="paramname"></td><td>&nbsp;</td>
       
   200         </tr>
       
   201         <tr>
       
   202           <td></td>
       
   203           <td>)</td>
       
   204           <td></td><td></td><td width="100%"></td>
       
   205         </tr>
       
   206       </table>
       
   207 </div>
       
   208 <div class="memdoc">
       
   209 
       
   210 <p>
       
   211 Name of the server. 
       
   212 </div>
       
   213 </div><p>
       
   214 <a class="anchor" name="f110d475e98114c0f2a42b7313af8e67"></a><!-- doxytag: member="secureclientandserver.h::StartThread" ref="f110d475e98114c0f2a42b7313af8e67" args="(RThread &amp;aServerThread)" -->
       
   215 <div class="memitem">
       
   216 <div class="memproto">
       
   217       <table class="memname">
       
   218         <tr>
       
   219           <td class="memname">IMPORT_C TInt StartThread           </td>
       
   220           <td>(</td>
       
   221           <td class="paramtype">RThread &amp;&nbsp;</td>
       
   222           <td class="paramname"> <em>aServerThread</em>          </td>
       
   223           <td>&nbsp;)&nbsp;</td>
       
   224           <td width="100%"></td>
       
   225         </tr>
       
   226       </table>
       
   227 </div>
       
   228 <div class="memdoc">
       
   229 
       
   230 <p>
       
   231 Create the thread that will act as the server. This function is exported from the DLL and called by the client.<p>
       
   232 Note that a server can also be implemented as a separate executable (i.e. as a separate process).<p>
       
   233 Creates the server thread. If the server is not running, the function starts the server thread. The function <a class="el" href="class_c_secure_server.html#97b0ca5c5966bba8c0cee269d1909b75">CSecureServer::ThreadFunction()</a> contains the code that is called when the server thread starts. <dl compact><dt><b>Parameters:</b></dt><dd>
       
   234   <table border="0" cellspacing="2" cellpadding="0">
       
   235     <tr><td valign="top"></td><td valign="top"><em>aServerThread</em>&nbsp;</td><td>The handle to the server thread. </td></tr>
       
   236   </table>
       
   237 </dl>
       
   238 <dl class="return" compact><dt><b>Returns:</b></dt><dd>KErrNone if successful, or an error code returned by RThread::Create(). </dd></dl>
       
   239 <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_c_secure_server.html#97b0ca5c5966bba8c0cee269d1909b75">CSecureServer::ThreadFunction()</a> </dd></dl>
       
   240 
       
   241 <p>Definition at line <a class="el" href="_complex_server_8cpp-source.html#l00084">84</a> of file <a class="el" href="_complex_server_8cpp-source.html">ComplexServer.cpp</a>.</p>
       
   242 
       
   243 </div>
       
   244 </div><p>
       
   245 <hr><h2>Variable Documentation</h2>
       
   246 <a class="anchor" name="2c7a31de3ef992e8aa4c26453c32fc5f"></a><!-- doxytag: member="secureclientandserver.h::KSecureServMajorVersionNumber" ref="2c7a31de3ef992e8aa4c26453c32fc5f" args="" -->
       
   247 <div class="memitem">
       
   248 <div class="memproto">
       
   249       <table class="memname">
       
   250         <tr>
       
   251           <td class="memname">const TUint <a class="el" href="secureclientandserver_8h.html#2c7a31de3ef992e8aa4c26453c32fc5f">KSecureServMajorVersionNumber</a> = 0          </td>
       
   252         </tr>
       
   253       </table>
       
   254 </div>
       
   255 <div class="memdoc">
       
   256 
       
   257 <p>
       
   258 Version numbers of the server. 
       
   259 <p>Definition at line <a class="el" href="secureclientandserver_8h-source.html#l00043">43</a> of file <a class="el" href="secureclientandserver_8h-source.html">secureclientandserver.h</a>.</p>
       
   260 
       
   261 </div>
       
   262 </div><p>
       
   263 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Jan 21 10:33:02 2010 for TB10.1 Example Applications by&nbsp;
       
   264 <a href="http://www.doxygen.org/index.html">
       
   265 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
       
   266 </body>
       
   267 </html>