<!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: TRequest Class Reference</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 -->
<div class="contents">
<h1>TRequest Class Reference</h1><!-- doxytag: class="TRequest" -->
<p><a href="class_t_request-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Types</h2></td></tr>
<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,
<b>ETaskDone</b>
}</td></tr>
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
<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>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>A parser class for handling requests to the server. </p>
<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>
<hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="aa84aea38f54090a2fc4755441ea99086"></a><!-- doxytag: member="TRequest::TOperationType" ref="aa84aea38f54090a2fc4755441ea99086" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="class_t_request.html#aa84aea38f54090a2fc4755441ea99086">TRequest::TOperationType</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Determines which operation is in question. </p>
<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>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ad1bfe2a053a3d898a965a180e8a63373"></a><!-- doxytag: member="TRequest::GetMessage" ref="ad1bfe2a053a3d898a965a180e8a63373" args="(TDesC &aUsername, TDesC &aPassword, TRequest::TOperationType aOperation, TDesC &aId, TDes8 &aMessage)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void TRequest::GetMessage </td>
<td>(</td>
<td class="paramtype">TDesC & </td>
<td class="paramname"> <em>aUsername</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">TDesC & </td>
<td class="paramname"> <em>aPassword</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_t_request.html#aa84aea38f54090a2fc4755441ea99086">TRequest::TOperationType</a> </td>
<td class="paramname"> <em>aOperation</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">TDesC & </td>
<td class="paramname"> <em>aId</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">TDes8 & </td>
<td class="paramname"> <em>aMessage</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Function returns a valid message descriptor via reference parameter. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>aUsername</em> </td><td>Client's username. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>aPassword</em> </td><td>Client's password. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>aOperation</em> </td><td>Type of operation. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>aId</em> </td><td>Id of the task to be completed. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>aMessage</em> </td><td>The descriptor to which the message is saved. </td></tr>
</table>
</dd>
</dl>
<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>
</div>
</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>