📄 class_c_chat_bt_service_searcher.html
字号:
<td><p><a class="el" href="class_c_chat_bt_service_searcher.html#2a759a7d9eefa26695ecbec5584b4263">NextRecordRequestComplete()</a> Process the result of the next record request <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>aError</em> </td><td>the error code </td></tr> <tr><td valign="top"></td><td valign="top"><em>aHandle</em> </td><td>the handle of the service record </td></tr> <tr><td valign="top"></td><td valign="top"><em>aTotalRecordsCount</em> </td><td>the total number of matching service records </td></tr> </table></dl><p>Definition at line <a class="el" href="_chat_bt_service_searcher_8cpp-source.html#l00118">118</a> of file <a class="el" href="_chat_bt_service_searcher_8cpp-source.html">ChatBtServiceSearcher.cpp</a>.<p>References <a class="el" href="_chat_bt_service_searcher_8cpp-source.html#l00137">NextRecordRequestCompleteL()</a>.<div class="fragment"><pre class="fragment"><a name="l00122"></a>00122 {<a name="l00123"></a>00123 TRAPD( error, <a name="l00124"></a>00124 <a class="code" href="class_c_chat_bt_service_searcher.html#404bbdb6cd2c08c6bd7e40a4e05330c0">NextRecordRequestCompleteL</a>( aError, aHandle, aTotalRecordsCount ) );<a name="l00125"></a>00125 <a name="l00126"></a>00126 <span class="keywordflow">if</span> ( error != KErrNone ) <a name="l00127"></a>00127 {<a name="l00128"></a>00128 Panic( EChatBtServiceSearcherNextRecordRequestComplete );<a name="l00129"></a>00129 }<a name="l00130"></a>00130 }</pre></div><p> </td> </tr></table><a class="anchor" name="b379e7c6c82e99acbcd138c24daa38c7"></a><!-- doxytag: member="CChatBtServiceSearcher::AttributeRequestResult" ref="b379e7c6c82e99acbcd138c24daa38c7" args="(TSdpServRecordHandle aHandle, TSdpAttributeID aAttrID, CSdpAttrValue *aAttrValue)" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void CChatBtServiceSearcher::AttributeRequestResult </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">TSdpServRecordHandle </td> <td class="mdname" nowrap> <em>aHandle</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>TSdpAttributeID </td> <td class="mdname" nowrap> <em>aAttrID</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>CSdpAttrValue * </td> <td class="mdname" nowrap> <em>aAttrValue</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p><a class="el" href="class_c_chat_bt_service_searcher.html#b379e7c6c82e99acbcd138c24daa38c7">AttributeRequestResult()</a> Process the next attribute requested <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>aHandle</em> </td><td>the handle of the service record </td></tr> <tr><td valign="top"></td><td valign="top"><em>aAttrID</em> </td><td>the id of the attribute </td></tr> <tr><td valign="top"></td><td valign="top"><em>aAttrValue</em> </td><td>the value of the attribute </td></tr> </table></dl><p>Definition at line <a class="el" href="_chat_bt_service_searcher_8cpp-source.html#l00174">174</a> of file <a class="el" href="_chat_bt_service_searcher_8cpp-source.html">ChatBtServiceSearcher.cpp</a>.<p>References <a class="el" href="_chat_bt_service_searcher_8cpp-source.html#l00194">AttributeRequestResultL()</a>.<div class="fragment"><pre class="fragment"><a name="l00178"></a>00178 {<a name="l00179"></a>00179 TRAPD( error, <a class="code" href="class_c_chat_bt_service_searcher.html#c2bd362f01ad7e4d671a33c062b42836">AttributeRequestResultL</a>( aHandle, aAttrID, aAttrValue ) );<a name="l00180"></a>00180 <span class="keywordflow">if</span> ( error != KErrNone )<a name="l00181"></a>00181 {<a name="l00182"></a>00182 Panic( EChatBtServiceSearcherAttributeRequestResult );<a name="l00183"></a>00183 }<a name="l00184"></a>00184 <span class="comment">// Delete obsolete local atribute pointer. </span><a name="l00185"></a>00185 <span class="keyword">delete</span> aAttrValue;<a name="l00186"></a>00186 aAttrValue = NULL;<a name="l00187"></a>00187 }</pre></div><p> </td> </tr></table><a class="anchor" name="6c73c8c919f9d7de5cd49fa6fe68b63d"></a><!-- doxytag: member="CChatBtServiceSearcher::AttributeRequestComplete" ref="6c73c8c919f9d7de5cd49fa6fe68b63d" args="(TSdpServRecordHandle aHandle, TInt aError)" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void CChatBtServiceSearcher::AttributeRequestComplete </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">TSdpServRecordHandle </td> <td class="mdname" nowrap> <em>aHandle</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>TInt </td> <td class="mdname" nowrap> <em>aError</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p><a class="el" href="class_c_chat_bt_service_searcher.html#6c73c8c919f9d7de5cd49fa6fe68b63d">AttributeRequestComplete()</a> Process the arrtibute request completion <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>aHandle</em> </td><td>the handle of the service record </td></tr> <tr><td valign="top"></td><td valign="top"><em>aError</em> </td><td>the error code </td></tr> </table></dl><p>Definition at line <a class="el" href="_chat_bt_service_searcher_8cpp-source.html#l00218">218</a> of file <a class="el" href="_chat_bt_service_searcher_8cpp-source.html">ChatBtServiceSearcher.cpp</a>.<p>References <a class="el" href="_chat_bt_service_searcher_8cpp-source.html#l00233">AttributeRequestCompleteL()</a>.<div class="fragment"><pre class="fragment"><a name="l00220"></a>00220 {<a name="l00221"></a>00221 TRAPD( error, <a class="code" href="class_c_chat_bt_service_searcher.html#2a3dd55c534c57375233a15780a00ddf">AttributeRequestCompleteL</a>( aHandle, aError ) );<a name="l00222"></a>00222 <span class="keywordflow">if</span> ( error != KErrNone )<a name="l00223"></a>00223 {<a name="l00224"></a>00224 Panic( EChatBtServiceSearcherAttributeRequestComplete );<a name="l00225"></a>00225 }<a name="l00226"></a>00226 }</pre></div><p> </td> </tr></table><a class="anchor" name="404bbdb6cd2c08c6bd7e40a4e05330c0"></a><!-- doxytag: member="CChatBtServiceSearcher::NextRecordRequestCompleteL" ref="404bbdb6cd2c08c6bd7e40a4e05330c0" args="(TInt aError, TSdpServRecordHandle aHandle, TInt aTotalRecordsCount)" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void CChatBtServiceSearcher::NextRecordRequestCompleteL </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">TInt </td> <td class="mdname" nowrap> <em>aError</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>TSdpServRecordHandle </td> <td class="mdname" nowrap> <em>aHandle</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>TInt </td> <td class="mdname" nowrap> <em>aTotalRecordsCount</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"><code> [private]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p><a class="el" href="class_c_chat_bt_service_searcher.html#404bbdb6cd2c08c6bd7e40a4e05330c0">NextRecordRequestCompleteL()</a> Process the result of the next record request <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>aError</em> </td><td>the error code </td></tr> <tr><td valign="top"></td><td valign="top"><em>aHandle</em> </td><td>the handle of the service record </td></tr> <tr><td valign="top"></td><td valign="top"><em>aTotalRecordsCount</em> </td><td>the total number of matching service records </td></tr> </table></dl><p>Definition at line <a class="el" href="_chat_bt_service_searcher_8cpp-source.html#l00137">137</a> of file <a class="el" href="_chat_bt_service_searcher_8cpp-source.html">ChatBtServiceSearcher.cpp</a>.<p>References <a class="el" href="_chat_bt_service_searcher_8cpp-source.html#l00265">Finished()</a>, <a class="el" href="_chat_bt_service_searcher_8h-source.html#l00238">iAgent</a>, <a class="el" href="_chat_bt_service_searcher_8h-source.html#l00254">iLog</a>, and <a class="el" href="class_m_log.html#70fb5098d98a8b349c056b46102d5de9">MLog::LogL()</a>.<p>Referenced by <a class="el" href="_chat_bt_service_searcher_8cpp-source.html#l00118">NextRecordRequestComplete()</a>.<div class="fragment"><pre class="fragment"><a name="l00141"></a>00141 {<a name="l00142"></a>00142 <span class="keywordflow">if</span> ( aError == KErrEof )<a name="l00143"></a>00143 {<a name="l00144"></a>00144 <a class="code" href="class_c_chat_bt_service_searcher.html#0b7e2b5c9c80bd53f50bc0e518a464ec">Finished</a>();<a name="l00145"></a>00145 <span class="keywordflow">return</span>;<a name="l00146"></a>00146 }<a name="l00147"></a>00147 <a name="l00148"></a>00148 <span class="keywordflow">if</span> ( aError != KErrNone )<a name="l00149"></a>00149 {<a name="l00150"></a>00150 <a class="code" href="class_c_chat_bt_service_searcher.html#9d387bbae93f2ae894f3e1c32e6bf1c6">iLog</a>.<a class="code" href="class_m_log.html#70fb5098d98a8b349c056b46102d5de9">LogL</a>( KErrNRRCErr, aError );<a name="l00151"></a>00151 <a class="code" href="class_c_chat_bt_service_searcher.html#0b7e2b5c9c80bd53f50bc0e518a464ec">Finished</a>( aError );<a name="l00152"></a>00152 <span class="keywordflow">return</span>;<a name="l00153"></a>00153 }<a name="l00154"></a>00154 <a name="l00155"></a>00155 <span class="keywordflow">if</span> ( aTotalRecordsCount == 0 )<a name="l00156"></a>00156 {<a name="l00157"></a>00157 HBufC* errNRRCNoRecords = StringLoader
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -