Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_m_t_p_request_unknown.html
author Dominic Pinkman <Dominic.Pinkman@Nokia.com>
Fri, 22 Jan 2010 18:26:19 +0000
changeset 1 25a17d01db0c
child 6 43e37759235e
permissions -rw-r--r--
Addition of the PDK content and example code for Documentation_content according to Feature bug 1607 and bug 1608

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>TB10.1 Example Applications: CMTPRequestUnknown Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.3 -->
<h1>CMTPRequestUnknown Class Reference</h1><!-- doxytag: class="CMTPRequestUnknown" --><!-- doxytag: inherits="CMTPExampleDpRequestProcessor" --><div class="dynheader">
Inheritance diagram for CMTPRequestUnknown:</div>
<div class="dynsection">

<p><center><img src="class_c_m_t_p_request_unknown.png" usemap="#CMTPRequestUnknown_map" border="0" alt=""></center>
<map name="CMTPRequestUnknown_map">
<area href="class_c_m_t_p_example_dp_request_processor.html" alt="CMTPExampleDpRequestProcessor" shape="rect" coords="0,56,214,80">
<area href="class_m_m_t_p_example_dp_request_processor.html" alt="MMTPExampleDpRequestProcessor" shape="rect" coords="0,0,214,24">
</map>
</div>

<p>
<a href="class_c_m_t_p_request_unknown-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_m_t_p_request_unknown.html#07a68ab7e326d210b91b72ebdb926cc4">~CMTPRequestUnknown</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <br>
<a class="el" href="class_m_m_t_p_example_dp_request_processor.html">MMTPExampleDpRequestProcessor</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_m_t_p_request_unknown.html#865d6777e7f7f30bceb56bd06256c346">NewL</a> (MMTPDataProviderFramework &amp;aFramework, MMTPConnection &amp;aConnection)</td></tr>

<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_m_t_p_request_unknown.html#02dbd0fb95536f666011e247a4b1c574">CMTPRequestUnknown</a> (MMTPDataProviderFramework &amp;aFramework, MMTPConnection &amp;aConnection)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_m_t_p_request_unknown.html#dc01db76da416891bd0d77560983d12f">ServiceL</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual TBool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_m_t_p_request_unknown.html#24d28954325b5308be1bd11f38a3c104">Match</a> (const TMTPTypeRequest &amp;aRequest, MMTPConnection &amp;aConnection) const </td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Defines device data provider OpenSession request processor 
<p>Definition at line <a class="el" href="cmtprequestunknown_8h-source.html#l00024">24</a> of file <a class="el" href="cmtprequestunknown_8h-source.html">cmtprequestunknown.h</a>.</p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="07a68ab7e326d210b91b72ebdb926cc4"></a><!-- doxytag: member="CMTPRequestUnknown::~CMTPRequestUnknown" ref="07a68ab7e326d210b91b72ebdb926cc4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CMTPRequestUnknown::~CMTPRequestUnknown           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Destructor 
<p>Definition at line <a class="el" href="cmtprequestunknown_8cpp-source.html#l00037">37</a> of file <a class="el" href="cmtprequestunknown_8cpp-source.html">cmtprequestunknown.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="02dbd0fb95536f666011e247a4b1c574"></a><!-- doxytag: member="CMTPRequestUnknown::CMTPRequestUnknown" ref="02dbd0fb95536f666011e247a4b1c574" args="(MMTPDataProviderFramework &amp;aFramework, MMTPConnection &amp;aConnection)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CMTPRequestUnknown::CMTPRequestUnknown           </td>
          <td>(</td>
          <td class="paramtype">MMTPDataProviderFramework &amp;&nbsp;</td>
          <td class="paramname"> <em>aFramework</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">MMTPConnection &amp;&nbsp;</td>
          <td class="paramname"> <em>aConnection</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Standard c++ constructor 
<p>Definition at line <a class="el" href="cmtprequestunknown_8cpp-source.html#l00045">45</a> of file <a class="el" href="cmtprequestunknown_8cpp-source.html">cmtprequestunknown.cpp</a>.</p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="865d6777e7f7f30bceb56bd06256c346"></a><!-- doxytag: member="CMTPRequestUnknown::NewL" ref="865d6777e7f7f30bceb56bd06256c346" args="(MMTPDataProviderFramework &amp;aFramework, MMTPConnection &amp;aConnection)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_m_m_t_p_example_dp_request_processor.html">MMTPExampleDpRequestProcessor</a> * CMTPRequestUnknown::NewL           </td>
          <td>(</td>
          <td class="paramtype">MMTPDataProviderFramework &amp;&nbsp;</td>
          <td class="paramname"> <em>aFramework</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">MMTPConnection &amp;&nbsp;</td>
          <td class="paramname"> <em>aConnection</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Two-phase construction method <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>aFramework</em>&nbsp;</td><td>The data provider framework </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>aConnection</em>&nbsp;</td><td>The connection from which the request comes </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>a pointer to the created request processor object </dd></dl>

<p>Definition at line <a class="el" href="cmtprequestunknown_8cpp-source.html#l00026">26</a> of file <a class="el" href="cmtprequestunknown_8cpp-source.html">cmtprequestunknown.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="dc01db76da416891bd0d77560983d12f"></a><!-- doxytag: member="CMTPRequestUnknown::ServiceL" ref="dc01db76da416891bd0d77560983d12f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CMTPRequestUnknown::ServiceL           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
OpenSession request handler 
<p>Implements <a class="el" href="class_c_m_t_p_example_dp_request_processor.html">CMTPExampleDpRequestProcessor</a>.</p>

<p>Definition at line <a class="el" href="cmtprequestunknown_8cpp-source.html#l00055">55</a> of file <a class="el" href="cmtprequestunknown_8cpp-source.html">cmtprequestunknown.cpp</a>.</p>

</div>
</div><p>
<a class="anchor" name="24d28954325b5308be1bd11f38a3c104"></a><!-- doxytag: member="CMTPRequestUnknown::Match" ref="24d28954325b5308be1bd11f38a3c104" args="(const TMTPTypeRequest &amp;aRequest, MMTPConnection &amp;aConnection) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TBool CMTPRequestUnknown::Match           </td>
          <td>(</td>
          <td class="paramtype">const TMTPTypeRequest &amp;&nbsp;</td>
          <td class="paramname"> <em>aRequest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">MMTPConnection &amp;&nbsp;</td>
          <td class="paramname"> <em>aConnection</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const<code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Override to match both the unknown requests <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>aRequest</em>&nbsp;</td><td>The request to match </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>aConnection</em>&nbsp;</td><td>The connection from which the request comes </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>always return ETrue to process all unknown request </dd></dl>

<p>Reimplemented from <a class="el" href="class_c_m_t_p_example_dp_request_processor.html#1e0ed8c9f87cd095914b518d6fa18f51">CMTPExampleDpRequestProcessor</a>.</p>

<p>Definition at line <a class="el" href="cmtprequestunknown_8cpp-source.html#l00066">66</a> of file <a class="el" href="cmtprequestunknown_8cpp-source.html">cmtprequestunknown.cpp</a>.</p>

</div>
</div><p>
<hr size="1"><address style="text-align: right;"><small>Generated on Thu Jan 21 10:33:07 2010 for TB10.1 Example Applications by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
</body>
</html>