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

📄 class_c_chat_base.html

📁 一个聊天的软件
💻 HTML
📖 第 1 页 / 共 3 页
字号:
        <tr>          <td class="md" nowrap valign="top">void CChatBase::SetServer           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">TBool&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>aServerMode</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p><a class="el" href="class_c_chat_base.html#3632b5e9a01d31118bbf932b3cd23f34">SetServer()</a> Set servermode <dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>aServerMode</em>&nbsp;</td><td>ETrue if servermode is used </td></tr>  </table></dl><p>Definition at line <a class="el" href="_chat_base_8cpp-source.html#l00120">120</a> of file <a class="el" href="_chat_base_8cpp-source.html">ChatBase.cpp</a>.<p>References <a class="el" href="_chat_base_8h-source.html#l00188">iServerMode</a>.<p>Referenced by <a class="el" href="_chat_inet_8cpp-source.html#l00468">CChatInet::StartL()</a>, and <a class="el" href="_chat_bt_8cpp-source.html#l00453">CChatBt::StartL()</a>.<div class="fragment"><pre class="fragment"><a name="l00121"></a>00121     {<a name="l00122"></a>00122     <a class="code" href="class_c_chat_base.html#19c3ad7757a5f7faf529044eea8714b4">iServerMode</a> = aServerMode;<a name="l00123"></a>00123     }          </pre></div><p>    </td>  </tr></table><a class="anchor" name="81c1c91932cc8383d3742da23a680f2d"></a><!-- doxytag: member="CChatBase::Server" ref="81c1c91932cc8383d3742da23a680f2d" 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 CChatBase::Server           </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></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p><a class="el" href="class_c_chat_base.html#81c1c91932cc8383d3742da23a680f2d">Server()</a> Get Servermode <dl compact><dt><b>Returns:</b></dt><dd>servermode </dd></dl><p>Definition at line <a class="el" href="_chat_base_8cpp-source.html#l00110">110</a> of file <a class="el" href="_chat_base_8cpp-source.html">ChatBase.cpp</a>.<p>References <a class="el" href="_chat_base_8h-source.html#l00188">iServerMode</a>.<p>Referenced by <a class="el" href="_chat_appui_8cpp-source.html#l00103">CChatAppUi::DynInitMenuPaneL()</a>, and <a class="el" href="_chat_appui_8cpp-source.html#l00201">CChatAppUi::HandleCommandL()</a>.<div class="fragment"><pre class="fragment"><a name="l00111"></a>00111     {<a name="l00112"></a>00112     <span class="keywordflow">return</span> <a class="code" href="class_c_chat_base.html#19c3ad7757a5f7faf529044eea8714b4">iServerMode</a>;<a name="l00113"></a>00113     }    </pre></div><p>    </td>  </tr></table><a class="anchor" name="deacd9f98d0548748cf116698aea2be0"></a><!-- doxytag: member="CChatBase::SetState" ref="deacd9f98d0548748cf116698aea2be0" args="(TChatState aState)" --><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 CChatBase::SetState           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">TChatState&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>aState</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p><a class="el" href="class_c_chat_base.html#deacd9f98d0548748cf116698aea2be0">SetState()</a> Set state <dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>aState</em>&nbsp;</td><td>the state of the engine </td></tr>  </table></dl><p>Definition at line <a class="el" href="_chat_base_8cpp-source.html#l00130">130</a> of file <a class="el" href="_chat_base_8cpp-source.html">ChatBase.cpp</a>.<p>References <a class="el" href="_chat_base_8h-source.html#l00178">iState</a>.<p>Referenced by <a class="el" href="_chat_bt_8cpp-source.html#l00058">CChatBt::CChatBt()</a>, <a class="el" href="_chat_inet_8cpp-source.html#l00059">CChatInet::CChatInet()</a>, <a class="el" href="_chat_inet_8cpp-source.html#l00265">CChatInet::ConnectL()</a>, <a class="el" href="_chat_bt_8cpp-source.html#l00314">CChatBt::ConnectL()</a>, <a class="el" href="_chat_inet_8cpp-source.html#l00327">CChatInet::ConnectToServerL()</a>, <a class="el" href="_chat_inet_8cpp-source.html#l00287">CChatInet::DisconnectL()</a>, <a class="el" href="_chat_bt_8cpp-source.html#l00337">CChatBt::DisconnectL()</a>, <a class="el" href="_chat_inet_8cpp-source.html#l00106">CChatInet::DoCancel()</a>, <a class="el" href="_chat_inet_8cpp-source.html#l00123">CChatInet::RunL()</a>, <a class="el" href="_chat_bt_8cpp-source.html#l00123">CChatBt::RunL()</a>, <a class="el" href="_chat_inet_8cpp-source.html#l00427">CChatInet::SendMessageL()</a>, <a class="el" href="_chat_bt_8cpp-source.html#l00408">CChatBt::SendMessageL()</a>, <a class="el" href="_chat_bt_8cpp-source.html#l00488">CChatBt::SetSecurityWithChannelL()</a>, <a class="el" href="_chat_inet_8cpp-source.html#l00468">CChatInet::StartL()</a>, and <a class="el" href="_chat_inet_8cpp-source.html#l00528">CChatInet::Stop()</a>.<div class="fragment"><pre class="fragment"><a name="l00131"></a>00131   {<a name="l00132"></a>00132   <a class="code" href="class_c_chat_base.html#63052a309baec315239b427aa7647b76">iState</a> = aState;<a name="l00133"></a>00133   }</pre></div><p>    </td>  </tr></table><a class="anchor" name="af77e92297a4bac4704e440284577ebe"></a><!-- doxytag: member="CChatBase::State" ref="af77e92297a4bac4704e440284577ebe" 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 CChatBase::State           </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></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p><a class="el" href="class_c_chat_base.html#af77e92297a4bac4704e440284577ebe">State()</a> Get State <dl compact><dt><b>Returns:</b></dt><dd>state </dd></dl><p>Definition at line <a class="el" href="_chat_base_8cpp-source.html#l00140">140</a> of file <a class="el" href="_chat_base_8cpp-source.html">ChatBase.cpp</a>.<p>References <a class="el" href="_chat_base_8h-source.html#l00178">iState</a>.<p>Referenced by <a class="el" href="_chat_inet_8cpp-source.html#l00265">CChatInet::ConnectL()</a>, <a class="el" href="_chat_bt_8cpp-source.html#l00314">CChatBt::ConnectL()</a>, <a class="el" href="_chat_inet_8cpp-source.html#l00287">CChatInet::DisconnectL()</a>, <a class="el" href="_chat_bt_8cpp-source.html#l00337">CChatBt::DisconnectL()</a>, <a class="el" href="_chat_inet_8cpp-source.html#l00106">CChatInet::DoCancel()</a>, <a class="el" href="_chat_base_8cpp-source.html#l00160">IsConnected()</a>, <a class="el" href="_chat_base_8cpp-source.html#l00171">IsConnecting()</a>, <a class="el" href="_chat_base_8cpp-source.html#l00150">IsReadyToSendMessage()</a>, <a class="el" href="_chat_base_8cpp-source.html#l00188">IsSendingMessage()</a>, <a class="el" href="_chat_inet_8cpp-source.html#l00123">CChatInet::RunL()</a>, <a class="el" href="_chat_bt_8cpp-source.html#l00123">CChatBt::RunL()</a>, <a class="el" href="_chat_inet_8cpp-source.html#l00427">CChatInet::SendMessageL()</a>, <a class="el" href="_chat_bt_8cpp-source.html#l00408">CChatBt::SendMessageL()</a>, <a class="el" href="_chat_inet_8cpp-source.html#l00468">CChatInet::StartL()</a>, <a class="el" href="_chat_bt_8cpp-source.html#l00453">CChatBt::StartL()</a>, <a class="el" href="_chat_inet_8cpp-source.html#l00528">CChatInet::Stop()</a>, <a class="el" href="_chat_bt_8cpp-source.html#l00565">CChatBt::StopL()</a>, <a class="el" href="_chat_bt_8cpp-source.html#l00070">CChatBt::~CChatBt()</a>, and <a class="el" href="_chat_inet_8cpp-source.html#l00072">CChatInet::~CChatInet()</a>.<div class="fragment"><pre class="fragment"><a name="l00141"></a>00141   {<a name="l00142"></a>00142   <span class="keywordflow">return</span> <a class="code" href="class_c_chat_base.html#63052a309baec315239b427aa7647b76">iState</a>;<a name="l00143"></a>00143   }</pre></div><p>    </td>  </tr></table><a class="anchor" name="a96c98612bf6f9cf039ebba7b70c0eda"></a><!-- doxytag: member="CChatBase::IsConnected" ref="a96c98612bf6f9cf039ebba7b70c0eda" 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 CChatBase::IsConnected           </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></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p><a class="el" href="class_c_chat_base.html#a96c98612bf6f9cf039ebba7b70c0eda">IsConnected()</a> <dl compact><dt><b>Returns:</b></dt><dd>ETrue if the client is fully connected to the server. </dd></dl><p>Definition at line <a class="el" href="_chat_base_8cpp-source.html#l00160">160</a> of file <a class="el" href="_chat_base_8cpp-source.html">ChatBase.cpp</a>.<p>References <a class="el" href="_chat_base_8cpp-source.html#l00140">State()</a>.<p>Referenced by <a class="el" href="_chat_appui_8cpp-source.html#l00103">CChatAppUi::DynInitMenuPaneL()</a>, and <a class="el" href="_chat_appui_8cpp-source.html#l00201">CChatAppUi::HandleCommandL()</a>.<div class="fragment"><pre class="fragment"><a name="l00161"></a>00161     {<a name="l00162"></a>00162     <span class="keywordflow">return</span> ( ( <a class="code" href="class_c_chat_base.html#af77e92297a4bac4704e440284577ebe">State</a>() == EConnected )||( <a class="code" href="class_c_chat_base.html#af77e92297a4bac4704e440284577ebe">State</a>() == ESendingMessage ) );<a name="l00163"></a>00163     }</pre></div><p>    </td>  </tr></table><a class="anchor" name="edf42798c6c889d28287f2f51eefb976"></a><!-- doxytag: member="CChatBase::IsConnecting" ref="edf42798c6c889d28287f2f51eefb976" 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 CChatBase::IsConnecting           </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></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p><a class="el" href="class_c_chat_base.html#edf42798c6c889d28287f2f51eefb976">IsConnecting()</a> <dl compact><dt><b>Returns:</b></dt><dd>ETrue if the client is establishing a connection to the server. </dd></dl><p>Definition at line <a class="el" href="_chat_base_8cpp-source.html#l00171">171</a> of file <a class="el" href="_chat_base_8cpp-source.html">ChatBase.cpp</a>.<p>References <a class="el" href="_chat_base_8cpp-source.html#l00140">State()</a>.<p>Referenced by <a class="el" href="_chat_appui_8cpp-source.html#l00103">CChatAppUi::DynInitMenuPaneL()</a>, and <a class="el" href="_chat_appui_8cpp-source.html#l00201">CChatAppUi::HandleCommandL()</a>.<div class="fragment"><pre class="fragment"><a name="l00172"></a>00172     {<a name="l00173"></a>00173     <span class="keywordflow">return</span> ( ( <a class="code" href="class_c_chat_base.html#af77e92297a4bac4704e440284577ebe">State</a>() == EGettingDevice )<a name="l00174"></a>00174         ||<a name="l00175"></a>00175         ( <a class="code" href="class_c_chat_base.html#af77e92297a4bac4704e440284577ebe">State</a>() == EGettingService )<a name="l00176"></a>00176         ||<a name="l00177"></a>00177         ( <a class="code" href="class_c_chat_base.html#af77e92297a4bac4704e440284577ebe">State</a>() == EGettingConnection )<a name="l00178"></a>00178         || <a name="l00179"></a>00179         ( <a class="code" href="class_c_chat_base.html#af77e92297a4bac4704e440284577ebe">State</a>() == EConnecting )  <a name="l00180"></a>00180         );<a name="l00181"></a>00181     }</pre></div><p>    </td>  </tr></table><a class="anchor" name="4adb7fd4f0c88e83162631743047bb71"></a><!-- doxytag: member="CChatBase::IsSendingMessage" ref="4adb7fd4f0c88e83162631743047bb71" 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 CChatBase::IsSendingMessage           </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></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td>

⌨️ 快捷键说明

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