Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_service_discoverer.html
changeset 6 43e37759235e
equal deleted inserted replaced
5:f345bda72bc4 6:43e37759235e
       
     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: CServiceDiscoverer 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>CServiceDiscoverer Class Reference</h1><!-- doxytag: class="CServiceDiscoverer" -->
       
    13 <p><a href="class_c_service_discoverer-members.html">List of all members.</a></p>
       
    14 <table border="0" cellpadding="0" cellspacing="0">
       
    15 <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
       
    16 <tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_service_discoverer.html#a5b2d0445970a22d19dfc40c88554646b">~CServiceDiscoverer</a> ()</td></tr>
       
    17 <tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_service_discoverer.html#ae75c6998eec994853effa62131ed1d48">DiscoverServicesOnDeviceL</a> (<a class="el" href="struct_t_device_data.html">TDeviceData</a> *aDevData)</td></tr>
       
    18 <tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_service_discoverer.html#a1b2f22f43eb02687b945e5e67ac4eae8">DiscoverServicesL</a> (TDeviceDataList *aDevDataList)</td></tr>
       
    19 <tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_service_discoverer.html#accff779372cf2bc9bfaae0b5b5e35872">FinishDiscovery</a> ()</td></tr>
       
    20 <tr><td class="memItemLeft" align="right" valign="top">TBool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_service_discoverer.html#ac5987a2bdca5e9dfc441c827e1b26e07">HasServices</a> ()</td></tr>
       
    21 <tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
       
    22 <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_c_service_discoverer.html">CServiceDiscoverer</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_service_discoverer.html#a2dad79c50af3415d82b76b8b61a5045a">NewL</a> (<a class="el" href="class_m_service_disco_observer.html">MServiceDiscoObserver</a> &amp;aObserver)</td></tr>
       
    23 <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_c_service_discoverer.html">CServiceDiscoverer</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_service_discoverer.html#aa46a9c42ecbd7cb9976927b6858cb993">NewLC</a> (<a class="el" href="class_m_service_disco_observer.html">MServiceDiscoObserver</a> &amp;aObserver)</td></tr>
       
    24 <tr><td colspan="2"><h2>Public Attributes</h2></td></tr>
       
    25 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5f53b55c19558df9a783b2a78891a22a"></a><!-- doxytag: member="CServiceDiscoverer::iRunning" ref="a5f53b55c19558df9a783b2a78891a22a" args="" -->
       
    26 TBool&nbsp;</td><td class="memItemRight" valign="bottom"><b>iRunning</b></td></tr>
       
    27 </table>
       
    28 <hr/><a name="_details"></a><h2>Detailed Description</h2>
       
    29 
       
    30 <p>Definition at line <a class="el" href="_service_discoverer_8h_source.html#l00034">34</a> of file <a class="el" href="_service_discoverer_8h_source.html">ServiceDiscoverer.h</a>.</p>
       
    31 <hr/><h2>Constructor &amp; Destructor Documentation</h2>
       
    32 <a class="anchor" id="a5b2d0445970a22d19dfc40c88554646b"></a><!-- doxytag: member="CServiceDiscoverer::~CServiceDiscoverer" ref="a5b2d0445970a22d19dfc40c88554646b" args="()" -->
       
    33 <div class="memitem">
       
    34 <div class="memproto">
       
    35       <table class="memname">
       
    36         <tr>
       
    37           <td class="memname">CServiceDiscoverer::~CServiceDiscoverer </td>
       
    38           <td>(</td>
       
    39           <td class="paramname"></td>
       
    40           <td>&nbsp;)&nbsp;</td>
       
    41           <td></td>
       
    42         </tr>
       
    43       </table>
       
    44 </div>
       
    45 <div class="memdoc">
       
    46 <p><a class="el" href="class_c_service_discoverer.html#a5b2d0445970a22d19dfc40c88554646b">~CServiceDiscoverer()</a></p>
       
    47 <p>discussion Destroy the object and release all memory objects </p>
       
    48 
       
    49 <p>Definition at line <a class="el" href="_service_discoverer_8cpp_source.html#l00036">36</a> of file <a class="el" href="_service_discoverer_8cpp_source.html">ServiceDiscoverer.cpp</a>.</p>
       
    50 
       
    51 </div>
       
    52 </div>
       
    53 <hr/><h2>Member Function Documentation</h2>
       
    54 <a class="anchor" id="a2dad79c50af3415d82b76b8b61a5045a"></a><!-- doxytag: member="CServiceDiscoverer::NewL" ref="a2dad79c50af3415d82b76b8b61a5045a" args="(MServiceDiscoObserver &amp;aObserver)" -->
       
    55 <div class="memitem">
       
    56 <div class="memproto">
       
    57       <table class="memname">
       
    58         <tr>
       
    59           <td class="memname"><a class="el" href="class_c_service_discoverer.html">CServiceDiscoverer</a> * CServiceDiscoverer::NewL </td>
       
    60           <td>(</td>
       
    61           <td class="paramtype"><a class="el" href="class_m_service_disco_observer.html">MServiceDiscoObserver</a> &amp;&nbsp;</td>
       
    62           <td class="paramname"> <em>aObserver</em></td>
       
    63           <td>&nbsp;)&nbsp;</td>
       
    64           <td><code> [static]</code></td>
       
    65         </tr>
       
    66       </table>
       
    67 </div>
       
    68 <div class="memdoc">
       
    69 <p><a class="el" href="class_c_service_discoverer.html#a2dad79c50af3415d82b76b8b61a5045a">NewL()</a></p>
       
    70 <p>discussion Create new <a class="el" href="class_c_service_advertiser.html">CServiceAdvertiser</a> object return a pointer to the created instance of <a class="el" href="class_c_service_advertiser.html">CServiceAdvertiser</a> </p>
       
    71 
       
    72 <p>Definition at line <a class="el" href="_service_discoverer_8cpp_source.html#l00009">9</a> of file <a class="el" href="_service_discoverer_8cpp_source.html">ServiceDiscoverer.cpp</a>.</p>
       
    73 
       
    74 </div>
       
    75 </div>
       
    76 <a class="anchor" id="aa46a9c42ecbd7cb9976927b6858cb993"></a><!-- doxytag: member="CServiceDiscoverer::NewLC" ref="aa46a9c42ecbd7cb9976927b6858cb993" args="(MServiceDiscoObserver &amp;aObserver)" -->
       
    77 <div class="memitem">
       
    78 <div class="memproto">
       
    79       <table class="memname">
       
    80         <tr>
       
    81           <td class="memname"><a class="el" href="class_c_service_discoverer.html">CServiceDiscoverer</a> * CServiceDiscoverer::NewLC </td>
       
    82           <td>(</td>
       
    83           <td class="paramtype"><a class="el" href="class_m_service_disco_observer.html">MServiceDiscoObserver</a> &amp;&nbsp;</td>
       
    84           <td class="paramname"> <em>aObserver</em></td>
       
    85           <td>&nbsp;)&nbsp;</td>
       
    86           <td><code> [static]</code></td>
       
    87         </tr>
       
    88       </table>
       
    89 </div>
       
    90 <div class="memdoc">
       
    91 <p><a class="el" href="class_c_service_discoverer.html#aa46a9c42ecbd7cb9976927b6858cb993">NewLC()</a> </p>
       
    92 
       
    93 <p>Definition at line <a class="el" href="_service_discoverer_8cpp_source.html#l00017">17</a> of file <a class="el" href="_service_discoverer_8cpp_source.html">ServiceDiscoverer.cpp</a>.</p>
       
    94 
       
    95 </div>
       
    96 </div>
       
    97 <a class="anchor" id="ae75c6998eec994853effa62131ed1d48"></a><!-- doxytag: member="CServiceDiscoverer::DiscoverServicesOnDeviceL" ref="ae75c6998eec994853effa62131ed1d48" args="(TDeviceData *aDevData)" -->
       
    98 <div class="memitem">
       
    99 <div class="memproto">
       
   100       <table class="memname">
       
   101         <tr>
       
   102           <td class="memname">void CServiceDiscoverer::DiscoverServicesOnDeviceL </td>
       
   103           <td>(</td>
       
   104           <td class="paramtype"><a class="el" href="struct_t_device_data.html">TDeviceData</a> *&nbsp;</td>
       
   105           <td class="paramname"> <em>aDevData</em></td>
       
   106           <td>&nbsp;)&nbsp;</td>
       
   107           <td></td>
       
   108         </tr>
       
   109       </table>
       
   110 </div>
       
   111 <div class="memdoc">
       
   112 <p>DiscoverServiceOnDeviceL()</p>
       
   113 <p>discussion Discovers services on a given device. service discovery agent will be started to do the service discovery. search pattern will be used to limit the discovery for our services (matching service id).</p>
       
   114 <p>param aDevData device data record </p>
       
   115 
       
   116 <p>Definition at line <a class="el" href="_service_discoverer_8cpp_source.html#l00050">50</a> of file <a class="el" href="_service_discoverer_8cpp_source.html">ServiceDiscoverer.cpp</a>.</p>
       
   117 
       
   118 </div>
       
   119 </div>
       
   120 <a class="anchor" id="a1b2f22f43eb02687b945e5e67ac4eae8"></a><!-- doxytag: member="CServiceDiscoverer::DiscoverServicesL" ref="a1b2f22f43eb02687b945e5e67ac4eae8" args="(TDeviceDataList *aDevDataList)" -->
       
   121 <div class="memitem">
       
   122 <div class="memproto">
       
   123       <table class="memname">
       
   124         <tr>
       
   125           <td class="memname">void CServiceDiscoverer::DiscoverServicesL </td>
       
   126           <td>(</td>
       
   127           <td class="paramtype">TDeviceDataList *&nbsp;</td>
       
   128           <td class="paramname"> <em>aDevDataList</em></td>
       
   129           <td>&nbsp;)&nbsp;</td>
       
   130           <td></td>
       
   131         </tr>
       
   132       </table>
       
   133 </div>
       
   134 <div class="memdoc">
       
   135 <p>DiscoverServiceOnDeviceL()</p>
       
   136 <p>discussion Starts service discovery for all given devices.</p>
       
   137 <p>param aDevDataList list of devices to do the service discovery for. </p>
       
   138 
       
   139 <p>Definition at line <a class="el" href="_service_discoverer_8cpp_source.html#l00082">82</a> of file <a class="el" href="_service_discoverer_8cpp_source.html">ServiceDiscoverer.cpp</a>.</p>
       
   140 
       
   141 </div>
       
   142 </div>
       
   143 <a class="anchor" id="accff779372cf2bc9bfaae0b5b5e35872"></a><!-- doxytag: member="CServiceDiscoverer::FinishDiscovery" ref="accff779372cf2bc9bfaae0b5b5e35872" args="()" -->
       
   144 <div class="memitem">
       
   145 <div class="memproto">
       
   146       <table class="memname">
       
   147         <tr>
       
   148           <td class="memname">void CServiceDiscoverer::FinishDiscovery </td>
       
   149           <td>(</td>
       
   150           <td class="paramname"></td>
       
   151           <td>&nbsp;)&nbsp;</td>
       
   152           <td></td>
       
   153         </tr>
       
   154       </table>
       
   155 </div>
       
   156 <div class="memdoc">
       
   157 <p><a class="el" href="class_c_service_discoverer.html#accff779372cf2bc9bfaae0b5b5e35872">FinishDiscovery()</a></p>
       
   158 <p>discussion Stops the service discovery, stops the discovery agent.</p>
       
   159 <p>param aDevData device data record </p>
       
   160 
       
   161 <p>Definition at line <a class="el" href="_service_discoverer_8cpp_source.html#l00098">98</a> of file <a class="el" href="_service_discoverer_8cpp_source.html">ServiceDiscoverer.cpp</a>.</p>
       
   162 
       
   163 </div>
       
   164 </div>
       
   165 <a class="anchor" id="ac5987a2bdca5e9dfc441c827e1b26e07"></a><!-- doxytag: member="CServiceDiscoverer::HasServices" ref="ac5987a2bdca5e9dfc441c827e1b26e07" args="()" -->
       
   166 <div class="memitem">
       
   167 <div class="memproto">
       
   168       <table class="memname">
       
   169         <tr>
       
   170           <td class="memname">TBool CServiceDiscoverer::HasServices </td>
       
   171           <td>(</td>
       
   172           <td class="paramname"></td>
       
   173           <td>&nbsp;)&nbsp;</td>
       
   174           <td></td>
       
   175         </tr>
       
   176       </table>
       
   177 </div>
       
   178 <div class="memdoc">
       
   179 <p><a class="el" href="class_c_service_discoverer.html#ac5987a2bdca5e9dfc441c827e1b26e07">HasServices()</a></p>
       
   180 <p>discussion check if any services were discovered.</p>
       
   181 <p>return true if any usable services were discovered. </p>
       
   182 
       
   183 <p>Definition at line <a class="el" href="_service_discoverer_8cpp_source.html#l00279">279</a> of file <a class="el" href="_service_discoverer_8cpp_source.html">ServiceDiscoverer.cpp</a>.</p>
       
   184 
       
   185 </div>
       
   186 </div>
       
   187 </div>
       
   188 <hr size="1"/><address style="text-align: right;"><small>Generated by&nbsp;
       
   189 <a href="http://www.doxygen.org/index.html">
       
   190 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
       
   191 </body>
       
   192 </html>