|
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: TRequest Class Reference</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 <div class="contents"> |
|
12 <h1>TRequest Class Reference</h1><!-- doxytag: class="TRequest" --> |
|
13 <p><a href="class_t_request-members.html">List of all members.</a></p> |
|
14 <table border="0" cellpadding="0" cellspacing="0"> |
|
15 <tr><td colspan="2"><h2>Public Types</h2></td></tr> |
|
16 <tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_request.html#aa84aea38f54090a2fc4755441ea99086">TOperationType</a> { <b>EFetchTasks</b> = 1, |
|
17 <b>ETaskDone</b> |
|
18 }</td></tr> |
|
19 <tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr> |
|
20 <tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_request.html#ad1bfe2a053a3d898a965a180e8a63373">GetMessage</a> (TDesC &aUsername, TDesC &aPassword, <a class="el" href="class_t_request.html#aa84aea38f54090a2fc4755441ea99086">TRequest::TOperationType</a> aOperation, TDesC &aId, TDes8 &aMessage)</td></tr> |
|
21 </table> |
|
22 <hr/><a name="_details"></a><h2>Detailed Description</h2> |
|
23 <p>A parser class for handling requests to the server. </p> |
|
24 |
|
25 <p>Definition at line <a class="el" href="_request_8h_source.html#l00024">24</a> of file <a class="el" href="_request_8h_source.html">Request.h</a>.</p> |
|
26 <hr/><h2>Member Enumeration Documentation</h2> |
|
27 <a class="anchor" id="aa84aea38f54090a2fc4755441ea99086"></a><!-- doxytag: member="TRequest::TOperationType" ref="aa84aea38f54090a2fc4755441ea99086" args="" --> |
|
28 <div class="memitem"> |
|
29 <div class="memproto"> |
|
30 <table class="memname"> |
|
31 <tr> |
|
32 <td class="memname">enum <a class="el" href="class_t_request.html#aa84aea38f54090a2fc4755441ea99086">TRequest::TOperationType</a></td> |
|
33 </tr> |
|
34 </table> |
|
35 </div> |
|
36 <div class="memdoc"> |
|
37 <p>Determines which operation is in question. </p> |
|
38 |
|
39 <p>Definition at line <a class="el" href="_request_8h_source.html#l00021">21</a> of file <a class="el" href="_request_8h_source.html">Request.h</a>.</p> |
|
40 |
|
41 </div> |
|
42 </div> |
|
43 <hr/><h2>Member Function Documentation</h2> |
|
44 <a class="anchor" id="ad1bfe2a053a3d898a965a180e8a63373"></a><!-- doxytag: member="TRequest::GetMessage" ref="ad1bfe2a053a3d898a965a180e8a63373" args="(TDesC &aUsername, TDesC &aPassword, TRequest::TOperationType aOperation, TDesC &aId, TDes8 &aMessage)" --> |
|
45 <div class="memitem"> |
|
46 <div class="memproto"> |
|
47 <table class="memname"> |
|
48 <tr> |
|
49 <td class="memname">void TRequest::GetMessage </td> |
|
50 <td>(</td> |
|
51 <td class="paramtype">TDesC & </td> |
|
52 <td class="paramname"> <em>aUsername</em>, </td> |
|
53 </tr> |
|
54 <tr> |
|
55 <td class="paramkey"></td> |
|
56 <td></td> |
|
57 <td class="paramtype">TDesC & </td> |
|
58 <td class="paramname"> <em>aPassword</em>, </td> |
|
59 </tr> |
|
60 <tr> |
|
61 <td class="paramkey"></td> |
|
62 <td></td> |
|
63 <td class="paramtype"><a class="el" href="class_t_request.html#aa84aea38f54090a2fc4755441ea99086">TRequest::TOperationType</a> </td> |
|
64 <td class="paramname"> <em>aOperation</em>, </td> |
|
65 </tr> |
|
66 <tr> |
|
67 <td class="paramkey"></td> |
|
68 <td></td> |
|
69 <td class="paramtype">TDesC & </td> |
|
70 <td class="paramname"> <em>aId</em>, </td> |
|
71 </tr> |
|
72 <tr> |
|
73 <td class="paramkey"></td> |
|
74 <td></td> |
|
75 <td class="paramtype">TDes8 & </td> |
|
76 <td class="paramname"> <em>aMessage</em></td><td> </td> |
|
77 </tr> |
|
78 <tr> |
|
79 <td></td> |
|
80 <td>)</td> |
|
81 <td></td><td></td><td><code> [static]</code></td> |
|
82 </tr> |
|
83 </table> |
|
84 </div> |
|
85 <div class="memdoc"> |
|
86 <p>Function returns a valid message descriptor via reference parameter. </p> |
|
87 <dl><dt><b>Parameters:</b></dt><dd> |
|
88 <table border="0" cellspacing="2" cellpadding="0"> |
|
89 <tr><td valign="top"></td><td valign="top"><em>aUsername</em> </td><td>Client's username. </td></tr> |
|
90 <tr><td valign="top"></td><td valign="top"><em>aPassword</em> </td><td>Client's password. </td></tr> |
|
91 <tr><td valign="top"></td><td valign="top"><em>aOperation</em> </td><td>Type of operation. </td></tr> |
|
92 <tr><td valign="top"></td><td valign="top"><em>aId</em> </td><td>Id of the task to be completed. </td></tr> |
|
93 <tr><td valign="top"></td><td valign="top"><em>aMessage</em> </td><td>The descriptor to which the message is saved. </td></tr> |
|
94 </table> |
|
95 </dd> |
|
96 </dl> |
|
97 |
|
98 <p>Definition at line <a class="el" href="_request_8cpp_source.html#l00033">33</a> of file <a class="el" href="_request_8cpp_source.html">Request.cpp</a>.</p> |
|
99 |
|
100 </div> |
|
101 </div> |
|
102 </div> |
|
103 <hr size="1"/><address style="text-align: right;"><small>Generated by |
|
104 <a href="http://www.doxygen.org/index.html"> |
|
105 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> |
|
106 </body> |
|
107 </html> |