⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 class_c_chat_bt_service_advertiser.html

📁 一个聊天的软件
💻 HTML
📖 第 1 页 / 共 3 页
字号:
ServiceName <dl compact><dt><b>Returns:</b></dt><dd>the service name </dd></dl><p>Implemented in <a class="el" href="class_c_chat_service_advertiser.html#c49c1aa737a94e570c89ebd2a94e965e">CChatServiceAdvertiser</a>.<p>Referenced by <a class="el" href="_chat_bt_service_advertiser_8cpp-source.html#l00075">StartAdvertisingL()</a>.    </td>  </tr></table><a class="anchor" name="ebc9cd24c06e87550b047f14fedb5bd1"></a><!-- doxytag: member="CChatBtServiceAdvertiser::ServiceDescription" ref="ebc9cd24c06e87550b047f14fedb5bd1" args="()=0" --><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">virtual const TDesC&amp; CChatBtServiceAdvertiser::ServiceDescription           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [protected, pure virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>ServiceDescription <dl compact><dt><b>Returns:</b></dt><dd>the service description </dd></dl><p>Implemented in <a class="el" href="class_c_chat_service_advertiser.html#84faa07921d601364175d12def9f01cb">CChatServiceAdvertiser</a>.<p>Referenced by <a class="el" href="_chat_bt_service_advertiser_8cpp-source.html#l00075">StartAdvertisingL()</a>.    </td>  </tr></table><a class="anchor" name="e8a170fa40d8d9d67f0cebf751b96e87"></a><!-- doxytag: member="CChatBtServiceAdvertiser::ConnectL" ref="e8a170fa40d8d9d67f0cebf751b96e87" args="()" --><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 CChatBtServiceAdvertiser::ConnectL           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [private]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>ConnectL Connect to the SDP database <p>Definition at line <a class="el" href="_chat_bt_service_advertiser_8cpp-source.html#l00060">60</a> of file <a class="el" href="_chat_bt_service_advertiser_8cpp-source.html">ChatBtServiceAdvertiser.cpp</a>.<p>References <a class="el" href="_chat_bt_service_advertiser_8h-source.html#l00145">iIsConnected</a>, <a class="el" href="_chat_bt_service_advertiser_8h-source.html#l00127">iSdpDatabase</a>, and <a class="el" href="_chat_bt_service_advertiser_8h-source.html#l00121">iSdpSession</a>.<p>Referenced by <a class="el" href="_chat_bt_service_advertiser_8cpp-source.html#l00075">StartAdvertisingL()</a>.<div class="fragment"><pre class="fragment"><a name="l00061"></a>00061     {<a name="l00062"></a>00062     <span class="keywordflow">if</span> ( !<a class="code" href="class_c_chat_bt_service_advertiser.html#0472aa651555d396fc349cb800ea1618">iIsConnected</a> )<a name="l00063"></a>00063         {<a name="l00064"></a>00064         User::LeaveIfError( <a class="code" href="class_c_chat_bt_service_advertiser.html#d0632d04b885bb921d789fddd3aae928">iSdpSession</a>.Connect() );<a name="l00065"></a>00065         User::LeaveIfError( <a class="code" href="class_c_chat_bt_service_advertiser.html#0624093ab131c90dd1f624ed8a2b4c1b">iSdpDatabase</a>.Open( <a class="code" href="class_c_chat_bt_service_advertiser.html#d0632d04b885bb921d789fddd3aae928">iSdpSession</a> ) );<a name="l00066"></a>00066         <a class="code" href="class_c_chat_bt_service_advertiser.html#0472aa651555d396fc349cb800ea1618">iIsConnected</a> = ETrue;<a name="l00067"></a>00067         }<a name="l00068"></a>00068     }</pre></div><p>    </td>  </tr></table><hr><h2>Member Data Documentation</h2><a class="anchor" name="d0632d04b885bb921d789fddd3aae928"></a><!-- doxytag: member="CChatBtServiceAdvertiser::iSdpSession" ref="d0632d04b885bb921d789fddd3aae928" args="" --><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">RSdp <a class="el" href="class_c_chat_bt_service_advertiser.html#d0632d04b885bb921d789fddd3aae928">CChatBtServiceAdvertiser::iSdpSession</a><code> [private]</code>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>iSdpSession a handle to the SDP session <p>Definition at line <a class="el" href="_chat_bt_service_advertiser_8h-source.html#l00121">121</a> of file <a class="el" href="_chat_bt_service_advertiser_8h-source.html">ChatBtServiceAdvertiser.h</a>.<p>Referenced by <a class="el" href="_chat_bt_service_advertiser_8cpp-source.html#l00060">ConnectL()</a>, and <a class="el" href="_chat_bt_service_advertiser_8cpp-source.html#l00040">~CChatBtServiceAdvertiser()</a>.    </td>  </tr></table><a class="anchor" name="0624093ab131c90dd1f624ed8a2b4c1b"></a><!-- doxytag: member="CChatBtServiceAdvertiser::iSdpDatabase" ref="0624093ab131c90dd1f624ed8a2b4c1b" args="" --><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">RSdpDatabase <a class="el" href="class_c_chat_bt_service_advertiser.html#0624093ab131c90dd1f624ed8a2b4c1b">CChatBtServiceAdvertiser::iSdpDatabase</a><code> [private]</code>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>iSdpDatabase a connection to the SDP database <p>Definition at line <a class="el" href="_chat_bt_service_advertiser_8h-source.html#l00127">127</a> of file <a class="el" href="_chat_bt_service_advertiser_8h-source.html">ChatBtServiceAdvertiser.h</a>.<p>Referenced by <a class="el" href="_chat_bt_service_advertiser_8cpp-source.html#l00060">ConnectL()</a>, <a class="el" href="_chat_bt_service_advertiser_8cpp-source.html#l00075">StartAdvertisingL()</a>, <a class="el" href="_chat_bt_service_advertiser_8cpp-source.html#l00146">StopAdvertisingL()</a>, <a class="el" href="_chat_bt_service_advertiser_8cpp-source.html#l00118">UpdateAvailabilityL()</a>, and <a class="el" href="_chat_bt_service_advertiser_8cpp-source.html#l00040">~CChatBtServiceAdvertiser()</a>.    </td>  </tr></table><a class="anchor" name="9b1caea877e51f30ee8c88479638dca8"></a><!-- doxytag: member="CChatBtServiceAdvertiser::iRecord" ref="9b1caea877e51f30ee8c88479638dca8" args="" --><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">TSdpServRecordHandle <a class="el" href="class_c_chat_bt_service_advertiser.html#9b1caea877e51f30ee8c88479638dca8">CChatBtServiceAdvertiser::iRecord</a><code> [private]</code>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>iRecord the record handle of the service record for this server <p>Definition at line <a class="el" href="_chat_bt_service_advertiser_8h-source.html#l00133">133</a> of file <a class="el" href="_chat_bt_service_advertiser_8h-source.html">ChatBtServiceAdvertiser.h</a>.<p>Referenced by <a class="el" href="_chat_bt_service_advertiser_8cpp-source.html#l00160">IsAdvertising()</a>, <a class="el" href="_chat_bt_service_advertiser_8cpp-source.html#l00075">StartAdvertisingL()</a>, <a class="el" href="_chat_bt_service_advertiser_8cpp-source.html#l00146">StopAdvertisingL()</a>, and <a class="el" href="_chat_bt_service_advertiser_8cpp-source.html#l00118">UpdateAvailabilityL()</a>.    </td>  </tr></table><a class="anchor" name="81266616ac61b523dcd21924946af588"></a><!-- doxytag: member="CChatBtServiceAdvertiser::iRecordState" ref="81266616ac61b523dcd21924946af588" args="" --><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">TInt <a class="el" href="class_c_chat_bt_service_advertiser.html#81266616ac61b523dcd21924946af588">CChatBtServiceAdvertiser::iRecordState</a><code> [private]</code>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>iRecordState the current record state - change number <p>Definition at line <a class="el" href="_chat_bt_service_advertiser_8h-source.html#l00139">139</a> of file <a class="el" href="_chat_bt_service_advertiser_8h-source.html">ChatBtServiceAdvertiser.h</a>.<p>Referenced by <a class="el" href="_chat_bt_service_advertiser_8cpp-source.html#l00118">UpdateAvailabilityL()</a>.    </td>  </tr></table><a class="anchor" name="0472aa651555d396fc349cb800ea1618"></a><!-- doxytag: member="CChatBtServiceAdvertiser::iIsConnected" ref="0472aa651555d396fc349cb800ea1618" args="" --><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">TBool <a class="el" href="class_c_chat_bt_service_advertiser.html#0472aa651555d396fc349cb800ea1618">CChatBtServiceAdvertiser::iIsConnected</a><code> [private]</code>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>iIsConnected has a connection been made to the SDP Database <p>Definition at line <a class="el" href="_chat_bt_service_advertiser_8h-source.html#l00145">145</a> of file <a class="el" href="_chat_bt_service_advertiser_8h-source.html">ChatBtServiceAdvertiser.h</a>.<p>Referenced by <a class="el" href="_chat_bt_service_advertiser_8cpp-source.html#l00060">ConnectL()</a>, and <a class="el" href="_chat_bt_service_advertiser_8cpp-source.html#l00075">StartAdvertisingL()</a>.    </td>  </tr></table><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="_chat_bt_service_advertiser_8h-source.html">ChatBtServiceAdvertiser.h</a><li><a class="el" href="_chat_bt_service_advertiser_8cpp-source.html">ChatBtServiceAdvertiser.cpp</a></ul><hr><table x-use-null-cells		style="x-cell-content-align: top;				width: 100%;				border-spacing: 0px;				border-spacing: 0px;"		cellspacing=0		width=100%>  <col style="width: 50%;">  <col style="width: 50%;">  <tr style="x-cell-content-align: top;"	valign=top>  <td style="width: 50%;			padding-right: 10px;			padding-left: 10px;			border-right-style: None;			border-left-style: None;			border-top-style: None;			border-bottom-style: None;"	width=50%>  <p style="font-family: Arial;"><small style="font-size: smaller;">

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -