Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_r_count_session.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: RCountSession Class 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>RCountSession Class Reference</h1><!-- doxytag: class="RCountSession" -->
       
     9 <p>
       
    10 <a href="class_r_count_session-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
       
    11 <tr><td></td></tr>
       
    12 <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
       
    13 <tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_count_session.html#7295a2ee03f848825201d5b1e9851f6b">RCountSession</a> ()</td></tr>
       
    14 
       
    15 <tr><td class="memItemLeft" nowrap align="right" valign="top">TInt&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_count_session.html#cd29db0e4420ca6ae6c8b8097ef74db5">Connect</a> ()</td></tr>
       
    16 
       
    17 <tr><td class="memItemLeft" nowrap align="right" valign="top">TVersion&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_count_session.html#1a9b9934faa988767ac3d7546f27f485">Version</a> () const </td></tr>
       
    18 
       
    19 <tr><td class="memItemLeft" nowrap align="right" valign="top">TInt&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_count_session.html#a0c3f5f48536d904c20f5f65e8fa847a">ResourceCount</a> ()</td></tr>
       
    20 
       
    21 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_r_count_session.html#d773246941374f366b767907678ddf1d">Close</a> ()</td></tr>
       
    22 
       
    23 </table>
       
    24 <hr><a name="_details"></a><h2>Detailed Description</h2>
       
    25 <a class="el" href="class_r_count_session.html">RCountSession</a><p>
       
    26 The client-side handle to a session with the server, The class forms a layer over the Symbian provided RSessionBase class.<p>
       
    27 The class deals with the requests made by the main example code by forwarding them to the server. The type of request is identified by a code, one of the TCountServRqst enum values, and arguments are passed via a TIpcArgs object. 
       
    28 <p>Definition at line <a class="el" href="_complex_client_8h-source.html#l00032">32</a> of file <a class="el" href="_complex_client_8h-source.html">ComplexClient.h</a>.</p>
       
    29 <hr><h2>Constructor &amp; Destructor Documentation</h2>
       
    30 <a class="anchor" name="7295a2ee03f848825201d5b1e9851f6b"></a><!-- doxytag: member="RCountSession::RCountSession" ref="7295a2ee03f848825201d5b1e9851f6b" args="()" -->
       
    31 <div class="memitem">
       
    32 <div class="memproto">
       
    33       <table class="memname">
       
    34         <tr>
       
    35           <td class="memname">RCountSession::RCountSession           </td>
       
    36           <td>(</td>
       
    37           <td class="paramname">          </td>
       
    38           <td>&nbsp;)&nbsp;</td>
       
    39           <td width="100%"></td>
       
    40         </tr>
       
    41       </table>
       
    42 </div>
       
    43 <div class="memdoc">
       
    44 
       
    45 <p>
       
    46 Constructor 
       
    47 <p>Definition at line <a class="el" href="_complex_client_session_8cpp-source.html#l00029">29</a> of file <a class="el" href="_complex_client_session_8cpp-source.html">ComplexClientSession.cpp</a>.</p>
       
    48 
       
    49 </div>
       
    50 </div><p>
       
    51 <hr><h2>Member Function Documentation</h2>
       
    52 <a class="anchor" name="cd29db0e4420ca6ae6c8b8097ef74db5"></a><!-- doxytag: member="RCountSession::Connect" ref="cd29db0e4420ca6ae6c8b8097ef74db5" args="()" -->
       
    53 <div class="memitem">
       
    54 <div class="memproto">
       
    55       <table class="memname">
       
    56         <tr>
       
    57           <td class="memname">TInt RCountSession::Connect           </td>
       
    58           <td>(</td>
       
    59           <td class="paramname">          </td>
       
    60           <td>&nbsp;)&nbsp;</td>
       
    61           <td width="100%"></td>
       
    62         </tr>
       
    63       </table>
       
    64 </div>
       
    65 <div class="memdoc">
       
    66 
       
    67 <p>
       
    68 Connects to the server using 4 message slots.<p>
       
    69 In this example, the server is implemented as a separate thread. The function starts that thread before attempting to create a session with the server.<p>
       
    70 The version information specifies the earliest version of the server that we can talk to. 
       
    71 <p>Definition at line <a class="el" href="_complex_client_session_8cpp-source.html#l00043">43</a> of file <a class="el" href="_complex_client_session_8cpp-source.html">ComplexClientSession.cpp</a>.</p>
       
    72 
       
    73 </div>
       
    74 </div><p>
       
    75 <a class="anchor" name="1a9b9934faa988767ac3d7546f27f485"></a><!-- doxytag: member="RCountSession::Version" ref="1a9b9934faa988767ac3d7546f27f485" args="() const " -->
       
    76 <div class="memitem">
       
    77 <div class="memproto">
       
    78       <table class="memname">
       
    79         <tr>
       
    80           <td class="memname">TVersion RCountSession::Version           </td>
       
    81           <td>(</td>
       
    82           <td class="paramtype">void&nbsp;</td>
       
    83           <td class="paramname">          </td>
       
    84           <td>&nbsp;)&nbsp;</td>
       
    85           <td width="100%"> const</td>
       
    86         </tr>
       
    87       </table>
       
    88 </div>
       
    89 <div class="memdoc">
       
    90 
       
    91 <p>
       
    92 Returns the earliest version number of the server that we can talk to. 
       
    93 <p>Definition at line <a class="el" href="_complex_client_session_8cpp-source.html#l00055">55</a> of file <a class="el" href="_complex_client_session_8cpp-source.html">ComplexClientSession.cpp</a>.</p>
       
    94 
       
    95 </div>
       
    96 </div><p>
       
    97 <a class="anchor" name="a0c3f5f48536d904c20f5f65e8fa847a"></a><!-- doxytag: member="RCountSession::ResourceCount" ref="a0c3f5f48536d904c20f5f65e8fa847a" args="()" -->
       
    98 <div class="memitem">
       
    99 <div class="memproto">
       
   100       <table class="memname">
       
   101         <tr>
       
   102           <td class="memname">TInt RCountSession::ResourceCount           </td>
       
   103           <td>(</td>
       
   104           <td class="paramname">          </td>
       
   105           <td>&nbsp;)&nbsp;</td>
       
   106           <td width="100%"></td>
       
   107         </tr>
       
   108       </table>
       
   109 </div>
       
   110 <div class="memdoc">
       
   111 
       
   112 <p>
       
   113 A server request to get the number of subsessions in this session. 
       
   114 <p>Definition at line <a class="el" href="_complex_client_session_8cpp-source.html#l00079">79</a> of file <a class="el" href="_complex_client_session_8cpp-source.html">ComplexClientSession.cpp</a>.</p>
       
   115 
       
   116 </div>
       
   117 </div><p>
       
   118 <a class="anchor" name="d773246941374f366b767907678ddf1d"></a><!-- doxytag: member="RCountSession::Close" ref="d773246941374f366b767907678ddf1d" args="()" -->
       
   119 <div class="memitem">
       
   120 <div class="memproto">
       
   121       <table class="memname">
       
   122         <tr>
       
   123           <td class="memname">void RCountSession::Close           </td>
       
   124           <td>(</td>
       
   125           <td class="paramname">          </td>
       
   126           <td>&nbsp;)&nbsp;</td>
       
   127           <td width="100%"></td>
       
   128         </tr>
       
   129       </table>
       
   130 </div>
       
   131 <div class="memdoc">
       
   132 
       
   133 <p>
       
   134 A request to close the session.<p>
       
   135 It makes a call to the server, which deletes the object container and object index for this session, before calling <a class="el" href="class_r_count_session.html#d773246941374f366b767907678ddf1d">Close()</a> on the base class. 
       
   136 <p>Definition at line <a class="el" href="_complex_client_session_8cpp-source.html#l00067">67</a> of file <a class="el" href="_complex_client_session_8cpp-source.html">ComplexClientSession.cpp</a>.</p>
       
   137 
       
   138 </div>
       
   139 </div><p>
       
   140 <hr size="1"><address style="text-align: right;"><small>Generated on Thu Jan 21 10:33:08 2010 for TB10.1 Example Applications by&nbsp;
       
   141 <a href="http://www.doxygen.org/index.html">
       
   142 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
       
   143 </body>
       
   144 </html>