classSendInterface.html 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.16"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>Socket Server: SendInterface Class Reference</title>
  9. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="search/searchdata.js"></script>
  14. <script type="text/javascript" src="search/search.js"></script>
  15. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  19. <div id="titlearea">
  20. <table cellspacing="0" cellpadding="0">
  21. <tbody>
  22. <tr style="height: 56px;">
  23. <td id="projectalign" style="padding-left: 0.5em;">
  24. <div id="projectname">Socket Server
  25. </div>
  26. </td>
  27. </tr>
  28. </tbody>
  29. </table>
  30. </div>
  31. <!-- end header part -->
  32. <!-- Generated by Doxygen 1.8.16 -->
  33. <script type="text/javascript">
  34. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  35. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  36. /* @license-end */
  37. </script>
  38. <script type="text/javascript" src="menudata.js"></script>
  39. <script type="text/javascript" src="menu.js"></script>
  40. <script type="text/javascript">
  41. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  42. $(function() {
  43. initMenu('',true,false,'search.php','Search');
  44. $(document).ready(function() { init_search(); });
  45. });
  46. /* @license-end */</script>
  47. <div id="main-nav"></div>
  48. <!-- window showing the filter options -->
  49. <div id="MSearchSelectWindow"
  50. onmouseover="return searchBox.OnSearchSelectShow()"
  51. onmouseout="return searchBox.OnSearchSelectHide()"
  52. onkeydown="return searchBox.OnSearchSelectKey(event)">
  53. </div>
  54. <!-- iframe showing the search results (closed by default) -->
  55. <div id="MSearchResultsWindow">
  56. <iframe src="javascript:void(0)" frameborder="0"
  57. name="MSearchResults" id="MSearchResults">
  58. </iframe>
  59. </div>
  60. </div><!-- top -->
  61. <div class="header">
  62. <div class="summary">
  63. <a href="#pub-methods">Public Member Functions</a> &#124;
  64. <a href="classSendInterface-members.html">List of all members</a> </div>
  65. <div class="headertitle">
  66. <div class="title">SendInterface Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div>
  67. </div><!--header-->
  68. <div class="contents">
  69. <p><code>#include &lt;<a class="el" href="send__interface_8h_source.html">send_interface.h</a>&gt;</code></p>
  70. <div class="dynheader">
  71. Inheritance diagram for SendInterface:</div>
  72. <div class="dyncontent">
  73. <div class="center">
  74. <img src="classSendInterface.png" usemap="#SendInterface_map" alt=""/>
  75. <map id="SendInterface_map" name="SendInterface_map">
  76. <area href="classSocketListener.html" alt="SocketListener" shape="rect" coords="0,56,95,80"/>
  77. </map>
  78. </div></div>
  79. <table class="memberdecls">
  80. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  81. Public Member Functions</h2></td></tr>
  82. <tr class="memitem:a2475e2b3ffaf5591b6e73d66d6a0a308"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSendInterface.html#a2475e2b3ffaf5591b6e73d66d6a0a308">sendMessage</a> (int client_socket_fd, std::shared_ptr&lt; char[]&gt; message)=0</td></tr>
  83. <tr class="separator:a2475e2b3ffaf5591b6e73d66d6a0a308"><td class="memSeparator" colspan="2">&#160;</td></tr>
  84. </table>
  85. <h2 class="groupheader">Member Function Documentation</h2>
  86. <a id="a2475e2b3ffaf5591b6e73d66d6a0a308"></a>
  87. <h2 class="memtitle"><span class="permalink"><a href="#a2475e2b3ffaf5591b6e73d66d6a0a308">&#9670;&nbsp;</a></span>sendMessage()</h2>
  88. <div class="memitem">
  89. <div class="memproto">
  90. <table class="mlabels">
  91. <tr>
  92. <td class="mlabels-left">
  93. <table class="memname">
  94. <tr>
  95. <td class="memname">virtual void SendInterface::sendMessage </td>
  96. <td>(</td>
  97. <td class="paramtype">int&#160;</td>
  98. <td class="paramname"><em>client_socket_fd</em>, </td>
  99. </tr>
  100. <tr>
  101. <td class="paramkey"></td>
  102. <td></td>
  103. <td class="paramtype">std::shared_ptr&lt; char[]&gt;&#160;</td>
  104. <td class="paramname"><em>message</em>&#160;</td>
  105. </tr>
  106. <tr>
  107. <td></td>
  108. <td>)</td>
  109. <td></td><td></td>
  110. </tr>
  111. </table>
  112. </td>
  113. <td class="mlabels-right">
  114. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  115. </tr>
  116. </table>
  117. </div><div class="memdoc">
  118. <p>Implemented in <a class="el" href="classSocketListener.html#a47a9f1bbbe160e06bb8b97118ed96c57">SocketListener</a>.</p>
  119. </div>
  120. </div>
  121. <hr/>The documentation for this class was generated from the following file:<ul>
  122. <li>headers/<a class="el" href="send__interface_8h_source.html">send_interface.h</a></li>
  123. </ul>
  124. </div><!-- contents -->
  125. <!-- start footer part -->
  126. <hr class="footer"/><address class="footer"><small>
  127. Generated by &#160;<a href="http://www.doxygen.org/index.html">
  128. <img class="footer" src="doxygen.png" alt="doxygen"/>
  129. </a> 1.8.16
  130. </small></address>
  131. </body>
  132. </html>