| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| <meta name="generator" content="Doxygen 1.8.5"/> |
| <title>Apache Mesos: process::network::internal::PollSocketImpl Class Reference</title> |
| <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| <script type="text/javascript" src="jquery.js"></script> |
| <script type="text/javascript" src="dynsections.js"></script> |
| <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| </head> |
| <body> |
| <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| <div id="titlearea"> |
| <table cellspacing="0" cellpadding="0"> |
| <tbody> |
| <tr style="height: 56px;"> |
| <td style="padding-left: 0.5em;"> |
| <div id="projectname">Apache Mesos |
| </div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <!-- end header part --> |
| <!-- Generated by Doxygen 1.8.5 --> |
| <div id="navrow1" class="tabs"> |
| <ul class="tablist"> |
| <li><a href="index.html"><span>Main Page</span></a></li> |
| <li><a href="pages.html"><span>Related Pages</span></a></li> |
| <li><a href="namespaces.html"><span>Namespaces</span></a></li> |
| <li class="current"><a href="annotated.html"><span>Classes</span></a></li> |
| <li><a href="files.html"><span>Files</span></a></li> |
| <li><a href="examples.html"><span>Examples</span></a></li> |
| </ul> |
| </div> |
| <div id="navrow2" class="tabs2"> |
| <ul class="tablist"> |
| <li><a href="annotated.html"><span>Class List</span></a></li> |
| <li><a href="classes.html"><span>Class Index</span></a></li> |
| <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
| <li><a href="functions.html"><span>Class Members</span></a></li> |
| </ul> |
| </div> |
| <div id="nav-path" class="navpath"> |
| <ul> |
| <li class="navelem"><a class="el" href="namespaceprocess.html">process</a></li><li class="navelem"><a class="el" href="namespaceprocess_1_1network.html">network</a></li><li class="navelem"><a class="el" href="namespaceprocess_1_1network_1_1internal.html">internal</a></li><li class="navelem"><a class="el" href="classprocess_1_1network_1_1internal_1_1PollSocketImpl.html">PollSocketImpl</a></li> </ul> |
| </div> |
| </div><!-- top --> |
| <div class="header"> |
| <div class="summary"> |
| <a href="#pub-methods">Public Member Functions</a> | |
| <a href="#pub-static-methods">Static Public Member Functions</a> | |
| <a href="classprocess_1_1network_1_1internal_1_1PollSocketImpl-members.html">List of all members</a> </div> |
| <div class="headertitle"> |
| <div class="title">process::network::internal::PollSocketImpl Class Reference</div> </div> |
| </div><!--header--> |
| <div class="contents"> |
| |
| <p><code>#include <<a class="el" href="poll__socket_8hpp_source.html">poll_socket.hpp</a>></code></p> |
| <div class="dynheader"> |
| Inheritance diagram for process::network::internal::PollSocketImpl:</div> |
| <div class="dyncontent"> |
| <div class="center"> |
| <img src="classprocess_1_1network_1_1internal_1_1PollSocketImpl.png" usemap="#process::network::internal::PollSocketImpl_map" alt=""/> |
| <map id="process::network::internal::PollSocketImpl_map" name="process::network::internal::PollSocketImpl_map"> |
| <area href="classprocess_1_1network_1_1internal_1_1SocketImpl.html" title="Implementation interface for a Socket. " alt="process::network::internal::SocketImpl" shape="rect" coords="0,56,260,80"/> |
| </map> |
| </div></div> |
| <table class="memberdecls"> |
| <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| Public Member Functions</h2></td></tr> |
| <tr class="memitem:a7dc8a9fdc548910d842505702e84585d"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classprocess_1_1network_1_1internal_1_1PollSocketImpl.html#a7dc8a9fdc548910d842505702e84585d">PollSocketImpl</a> (<a class="el" href="int__fd_8hpp.html#aea4dbda01c90455f158ffa9b924c2f07">int_fd</a> <a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html#a303670cfc45c0e1a564fec0532320804">s</a>)</td></tr> |
| <tr class="separator:a7dc8a9fdc548910d842505702e84585d"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a183161b9ce84fc906788531adb39b1f1"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classprocess_1_1network_1_1internal_1_1PollSocketImpl.html#a183161b9ce84fc906788531adb39b1f1">~PollSocketImpl</a> ()</td></tr> |
| <tr class="separator:a183161b9ce84fc906788531adb39b1f1"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ae17fa1d49cfda7a19b5bf8eb3f4a0ebc"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classTry.html">Try</a>< <a class="el" href="structNothing.html">Nothing</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classprocess_1_1network_1_1internal_1_1PollSocketImpl.html#ae17fa1d49cfda7a19b5bf8eb3f4a0ebc">listen</a> (int backlog)</td></tr> |
| <tr class="separator:ae17fa1d49cfda7a19b5bf8eb3f4a0ebc"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a26188c98728621ed4bdabc7087c46064"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classprocess_1_1Future.html">Future</a><br class="typebreak"/> |
| < std::shared_ptr< <a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html">SocketImpl</a> > > </td><td class="memItemRight" valign="bottom"><a class="el" href="classprocess_1_1network_1_1internal_1_1PollSocketImpl.html#a26188c98728621ed4bdabc7087c46064">accept</a> ()</td></tr> |
| <tr class="memdesc:a26188c98728621ed4bdabc7087c46064"><td class="mdescLeft"> </td><td class="mdescRight">Returns an implementation corresponding to the next pending connection for the listening socket. <a href="#a26188c98728621ed4bdabc7087c46064">More...</a><br/></td></tr> |
| <tr class="separator:a26188c98728621ed4bdabc7087c46064"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a217849468a99bd63d10a8f8acfb2e496"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classprocess_1_1Future.html">Future</a>< <a class="el" href="structNothing.html">Nothing</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classprocess_1_1network_1_1internal_1_1PollSocketImpl.html#a217849468a99bd63d10a8f8acfb2e496">connect</a> (const <a class="el" href="classprocess_1_1network_1_1Address.html">Address</a> &<a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html#a2289c8b4a10fae48e88518019c900c5a">address</a>)</td></tr> |
| <tr class="separator:a217849468a99bd63d10a8f8acfb2e496"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a25882be4a54fbd7040e8a2ea707d5a33"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classprocess_1_1Future.html">Future</a>< size_t > </td><td class="memItemRight" valign="bottom"><a class="el" href="classprocess_1_1network_1_1internal_1_1PollSocketImpl.html#a25882be4a54fbd7040e8a2ea707d5a33">recv</a> (char *data, size_t size)</td></tr> |
| <tr class="separator:a25882be4a54fbd7040e8a2ea707d5a33"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a809de92dbb8bc53a253542af04afad7d"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classprocess_1_1Future.html">Future</a>< size_t > </td><td class="memItemRight" valign="bottom"><a class="el" href="classprocess_1_1network_1_1internal_1_1PollSocketImpl.html#a809de92dbb8bc53a253542af04afad7d">send</a> (const char *data, size_t size)</td></tr> |
| <tr class="separator:a809de92dbb8bc53a253542af04afad7d"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:abe4968408350df83e9ad194bc1dcce1b"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classprocess_1_1Future.html">Future</a>< size_t > </td><td class="memItemRight" valign="bottom"><a class="el" href="classprocess_1_1network_1_1internal_1_1PollSocketImpl.html#abe4968408350df83e9ad194bc1dcce1b">sendfile</a> (<a class="el" href="int__fd_8hpp.html#aea4dbda01c90455f158ffa9b924c2f07">int_fd</a> fd, off_t offset, size_t size)</td></tr> |
| <tr class="separator:abe4968408350df83e9ad194bc1dcce1b"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ad2a592d7183b723c98ace8391f321632"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html#ab1b898c86d5d9d449a65381c2b1d74f5">Kind</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classprocess_1_1network_1_1internal_1_1PollSocketImpl.html#ad2a592d7183b723c98ace8391f321632">kind</a> () const </td></tr> |
| <tr class="separator:ad2a592d7183b723c98ace8391f321632"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="inherit_header pub_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classprocess_1_1network_1_1internal_1_1SocketImpl')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html">process::network::internal::SocketImpl</a></td></tr> |
| <tr class="memitem:a6c309d35f5d776af4f9abe1f12367094 inherit pub_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html#a6c309d35f5d776af4f9abe1f12367094">~SocketImpl</a> ()</td></tr> |
| <tr class="separator:a6c309d35f5d776af4f9abe1f12367094 inherit pub_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:af0c991d0689192ac03ed3e4bc1d025ec inherit pub_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="memItemLeft" align="right" valign="top"><a class="el" href="int__fd_8hpp.html#aea4dbda01c90455f158ffa9b924c2f07">int_fd</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html#af0c991d0689192ac03ed3e4bc1d025ec">get</a> () const </td></tr> |
| <tr class="memdesc:af0c991d0689192ac03ed3e4bc1d025ec inherit pub_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="mdescLeft"> </td><td class="mdescRight">Returns the file descriptor wrapped by this implementation. <a href="#af0c991d0689192ac03ed3e4bc1d025ec">More...</a><br/></td></tr> |
| <tr class="separator:af0c991d0689192ac03ed3e4bc1d025ec inherit pub_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a2289c8b4a10fae48e88518019c900c5a inherit pub_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTry.html">Try</a>< <a class="el" href="classprocess_1_1network_1_1Address.html">Address</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html#a2289c8b4a10fae48e88518019c900c5a">address</a> () const </td></tr> |
| <tr class="memdesc:a2289c8b4a10fae48e88518019c900c5a inherit pub_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <code><a class="el" href="classprocess_1_1network_1_1Address.html">Address</a></code> with the assigned ip and assigned port. <a href="#a2289c8b4a10fae48e88518019c900c5a">More...</a><br/></td></tr> |
| <tr class="separator:a2289c8b4a10fae48e88518019c900c5a inherit pub_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ab378bc6c952d9475a6a047b0a57386b5 inherit pub_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTry.html">Try</a>< <a class="el" href="classprocess_1_1network_1_1Address.html">Address</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html#ab378bc6c952d9475a6a047b0a57386b5">peer</a> () const </td></tr> |
| <tr class="memdesc:ab378bc6c952d9475a6a047b0a57386b5 inherit pub_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="mdescLeft"> </td><td class="mdescRight">Returns the peer's <code><a class="el" href="classprocess_1_1network_1_1Address.html">Address</a></code> for the accepted or connected socket. <a href="#ab378bc6c952d9475a6a047b0a57386b5">More...</a><br/></td></tr> |
| <tr class="separator:ab378bc6c952d9475a6a047b0a57386b5 inherit pub_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a2c9eff7657c4b46be8f19809fcb12822 inherit pub_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTry.html">Try</a>< <a class="el" href="classprocess_1_1network_1_1Address.html">Address</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html#a2c9eff7657c4b46be8f19809fcb12822">bind</a> (const <a class="el" href="classprocess_1_1network_1_1Address.html">Address</a> &<a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html#a2289c8b4a10fae48e88518019c900c5a">address</a>)</td></tr> |
| <tr class="memdesc:a2c9eff7657c4b46be8f19809fcb12822 inherit pub_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="mdescLeft"> </td><td class="mdescRight">Assigns the specified address to the socket. <a href="#a2c9eff7657c4b46be8f19809fcb12822">More...</a><br/></td></tr> |
| <tr class="separator:a2c9eff7657c4b46be8f19809fcb12822 inherit pub_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a3cea7f644d4b0bab527a7b93bf892607 inherit pub_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classprocess_1_1Future.html">Future</a>< std::string > </td><td class="memItemRight" valign="bottom"><a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html#a3cea7f644d4b0bab527a7b93bf892607">recv</a> (const <a class="el" href="classOption.html">Option</a>< <a class="el" href="3rdparty_2stout_2include_2stout_2windows_8hpp.html#a894c4d58faeee7675b9e7e8244de1386">ssize_t</a> > &size=<a class="el" href="structNone.html">None</a>())</td></tr> |
| <tr class="memdesc:a3cea7f644d4b0bab527a7b93bf892607 inherit pub_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="mdescLeft"> </td><td class="mdescRight">An overload of <code>recv</code>, which receives data based on the specified 'size' parameter. <a href="#a3cea7f644d4b0bab527a7b93bf892607">More...</a><br/></td></tr> |
| <tr class="separator:a3cea7f644d4b0bab527a7b93bf892607 inherit pub_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:aee6adaf339156e43edc4e85a93f0b476 inherit pub_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classprocess_1_1Future.html">Future</a>< <a class="el" href="structNothing.html">Nothing</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html#aee6adaf339156e43edc4e85a93f0b476">send</a> (const std::string &data)</td></tr> |
| <tr class="memdesc:aee6adaf339156e43edc4e85a93f0b476 inherit pub_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="mdescLeft"> </td><td class="mdescRight">An overload of <code>send</code>, which sends all of the specified data. <a href="#aee6adaf339156e43edc4e85a93f0b476">More...</a><br/></td></tr> |
| <tr class="separator:aee6adaf339156e43edc4e85a93f0b476 inherit pub_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a8ca349b7fea02ca0e9a597ee080887e3 inherit pub_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classTry.html">Try</a>< <a class="el" href="structNothing.html">Nothing</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html#a8ca349b7fea02ca0e9a597ee080887e3">shutdown</a> (int how)</td></tr> |
| <tr class="memdesc:a8ca349b7fea02ca0e9a597ee080887e3 inherit pub_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="mdescLeft"> </td><td class="mdescRight">Shuts down the socket. <a href="#a8ca349b7fea02ca0e9a597ee080887e3">More...</a><br/></td></tr> |
| <tr class="separator:a8ca349b7fea02ca0e9a597ee080887e3 inherit pub_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="memSeparator" colspan="2"> </td></tr> |
| </table><table class="memberdecls"> |
| <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> |
| Static Public Member Functions</h2></td></tr> |
| <tr class="memitem:af893115c4d9b82346bbf2a204de9c516"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classTry.html">Try</a>< std::shared_ptr<br class="typebreak"/> |
| < <a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html">SocketImpl</a> > > </td><td class="memItemRight" valign="bottom"><a class="el" href="classprocess_1_1network_1_1internal_1_1PollSocketImpl.html#af893115c4d9b82346bbf2a204de9c516">create</a> (<a class="el" href="int__fd_8hpp.html#aea4dbda01c90455f158ffa9b924c2f07">int_fd</a> <a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html#a303670cfc45c0e1a564fec0532320804">s</a>)</td></tr> |
| <tr class="separator:af893115c4d9b82346bbf2a204de9c516"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="inherit_header pub_static_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classprocess_1_1network_1_1internal_1_1SocketImpl')"><img src="closed.png" alt="-"/> Static Public Member Functions inherited from <a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html">process::network::internal::SocketImpl</a></td></tr> |
| <tr class="memitem:a6ef4668e83adac7bb0ff2b54e1a30ecc inherit pub_static_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html#ab1b898c86d5d9d449a65381c2b1d74f5">Kind</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html#a6ef4668e83adac7bb0ff2b54e1a30ecc">DEFAULT_KIND</a> ()</td></tr> |
| <tr class="memdesc:a6ef4668e83adac7bb0ff2b54e1a30ecc inherit pub_static_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="mdescLeft"> </td><td class="mdescRight">Returns the default <code>Kind</code> of implementation. <a href="#a6ef4668e83adac7bb0ff2b54e1a30ecc">More...</a><br/></td></tr> |
| <tr class="separator:a6ef4668e83adac7bb0ff2b54e1a30ecc inherit pub_static_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a5a00f792b5055241fea9f1fc81b2c4c6 inherit pub_static_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classTry.html">Try</a>< std::shared_ptr<br class="typebreak"/> |
| < <a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html">SocketImpl</a> > > </td><td class="memItemRight" valign="bottom"><a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html#a5a00f792b5055241fea9f1fc81b2c4c6">create</a> (<a class="el" href="int__fd_8hpp.html#aea4dbda01c90455f158ffa9b924c2f07">int_fd</a> <a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html#a303670cfc45c0e1a564fec0532320804">s</a>, <a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html#ab1b898c86d5d9d449a65381c2b1d74f5">Kind</a> <a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html#aa4754b1975ff51b35734e8f5941ee319">kind</a>=<a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html#a6ef4668e83adac7bb0ff2b54e1a30ecc">DEFAULT_KIND</a>())</td></tr> |
| <tr class="memdesc:a5a00f792b5055241fea9f1fc81b2c4c6 inherit pub_static_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="mdescLeft"> </td><td class="mdescRight">Returns an instance of a <code><a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html" title="Implementation interface for a Socket. ">SocketImpl</a></code> using the specified kind of implementation. <a href="#a5a00f792b5055241fea9f1fc81b2c4c6">More...</a><br/></td></tr> |
| <tr class="separator:a5a00f792b5055241fea9f1fc81b2c4c6 inherit pub_static_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a2f90a53c7035eade21431123d9c0037a inherit pub_static_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classTry.html">Try</a>< std::shared_ptr<br class="typebreak"/> |
| < <a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html">SocketImpl</a> > > </td><td class="memItemRight" valign="bottom"><a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html#a2f90a53c7035eade21431123d9c0037a">create</a> (<a class="el" href="classprocess_1_1network_1_1Address.html#a0c9fa166dbf9c863a6ef68aa8343e3fc">Address::Family</a> family, <a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html#ab1b898c86d5d9d449a65381c2b1d74f5">Kind</a> <a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html#aa4754b1975ff51b35734e8f5941ee319">kind</a>=<a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html#a6ef4668e83adac7bb0ff2b54e1a30ecc">DEFAULT_KIND</a>())</td></tr> |
| <tr class="memdesc:a2f90a53c7035eade21431123d9c0037a inherit pub_static_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="mdescLeft"> </td><td class="mdescRight">Returns an instance of a <code><a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html" title="Implementation interface for a Socket. ">SocketImpl</a></code> using the specified kind of implementation. <a href="#a2f90a53c7035eade21431123d9c0037a">More...</a><br/></td></tr> |
| <tr class="separator:a2f90a53c7035eade21431123d9c0037a inherit pub_static_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="memSeparator" colspan="2"> </td></tr> |
| </table><table class="memberdecls"> |
| <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> |
| Additional Inherited Members</h2></td></tr> |
| <tr class="inherit_header pub_types_classprocess_1_1network_1_1internal_1_1SocketImpl"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classprocess_1_1network_1_1internal_1_1SocketImpl')"><img src="closed.png" alt="-"/> Public Types inherited from <a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html">process::network::internal::SocketImpl</a></td></tr> |
| <tr class="memitem:ab1b898c86d5d9d449a65381c2b1d74f5 inherit pub_types_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html#ab1b898c86d5d9d449a65381c2b1d74f5">Kind</a> { <a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html#ab1b898c86d5d9d449a65381c2b1d74f5a48798d6fe72649c6d013e60081c38d9a">Kind::POLL</a> |
| }</td></tr> |
| <tr class="memdesc:ab1b898c86d5d9d449a65381c2b1d74f5"><td class="mdescLeft"> </td><td class="mdescRight">Available kinds of implementations. <a href="classprocess_1_1network_1_1internal_1_1SocketImpl.html#ab1b898c86d5d9d449a65381c2b1d74f5">More...</a><br/></td></tr> |
| <tr class="separator:ab1b898c86d5d9d449a65381c2b1d74f5 inherit pub_types_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="inherit_header pro_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classprocess_1_1network_1_1internal_1_1SocketImpl')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html">process::network::internal::SocketImpl</a></td></tr> |
| <tr class="memitem:a9c899f4ca922824a0092288d5d6b79b4 inherit pro_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html#a9c899f4ca922824a0092288d5d6b79b4">SocketImpl</a> (<a class="el" href="int__fd_8hpp.html#aea4dbda01c90455f158ffa9b924c2f07">int_fd</a> _s)</td></tr> |
| <tr class="separator:a9c899f4ca922824a0092288d5d6b79b4 inherit pro_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a963ee1a4b21acf7f423b86fd06cdf09a inherit pro_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="memItemLeft" align="right" valign="top"><a class="el" href="int__fd_8hpp.html#aea4dbda01c90455f158ffa9b924c2f07">int_fd</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html#a963ee1a4b21acf7f423b86fd06cdf09a">release</a> ()</td></tr> |
| <tr class="memdesc:a963ee1a4b21acf7f423b86fd06cdf09a inherit pro_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="mdescLeft"> </td><td class="mdescRight">Releases ownership of the file descriptor. <a href="#a963ee1a4b21acf7f423b86fd06cdf09a">More...</a><br/></td></tr> |
| <tr class="separator:a963ee1a4b21acf7f423b86fd06cdf09a inherit pro_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="inherit_header pro_static_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td colspan="2" onclick="javascript:toggleInherit('pro_static_methods_classprocess_1_1network_1_1internal_1_1SocketImpl')"><img src="closed.png" alt="-"/> Static Protected Member Functions inherited from <a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html">process::network::internal::SocketImpl</a></td></tr> |
| <tr class="memitem:a593398b46bc29ef1e6b87b2fadbba7d6 inherit pro_static_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="memTemplParams" colspan="2">template<typename T > </td></tr> |
| <tr class="memitem:a593398b46bc29ef1e6b87b2fadbba7d6 inherit pro_static_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="memTemplItemLeft" align="right" valign="top">static std::shared_ptr< T > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html#a593398b46bc29ef1e6b87b2fadbba7d6">shared</a> (T *t)</td></tr> |
| <tr class="memdesc:a593398b46bc29ef1e6b87b2fadbba7d6 inherit pro_static_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="mdescLeft"> </td><td class="mdescRight">Returns a <code>std::shared_ptr<T></code> from this implementation. <a href="#a593398b46bc29ef1e6b87b2fadbba7d6">More...</a><br/></td></tr> |
| <tr class="separator:a593398b46bc29ef1e6b87b2fadbba7d6 inherit pro_static_methods_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="inherit_header pro_attribs_classprocess_1_1network_1_1internal_1_1SocketImpl"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classprocess_1_1network_1_1internal_1_1SocketImpl')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html">process::network::internal::SocketImpl</a></td></tr> |
| <tr class="memitem:a303670cfc45c0e1a564fec0532320804 inherit pro_attribs_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="memItemLeft" align="right" valign="top"><a class="el" href="int__fd_8hpp.html#aea4dbda01c90455f158ffa9b924c2f07">int_fd</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html#a303670cfc45c0e1a564fec0532320804">s</a></td></tr> |
| <tr class="separator:a303670cfc45c0e1a564fec0532320804 inherit pro_attribs_classprocess_1_1network_1_1internal_1_1SocketImpl"><td class="memSeparator" colspan="2"> </td></tr> |
| </table> |
| <h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| <a class="anchor" id="a7dc8a9fdc548910d842505702e84585d"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">process::network::internal::PollSocketImpl::PollSocketImpl </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="int__fd_8hpp.html#aea4dbda01c90455f158ffa9b924c2f07">int_fd</a> </td> |
| <td class="paramname"><em>s</em></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a183161b9ce84fc906788531adb39b1f1"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">virtual process::network::internal::PollSocketImpl::~PollSocketImpl </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| </div> |
| </div> |
| <h2 class="groupheader">Member Function Documentation</h2> |
| <a class="anchor" id="a26188c98728621ed4bdabc7087c46064"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">virtual <a class="el" href="classprocess_1_1Future.html">Future</a><std::shared_ptr<<a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html">SocketImpl</a>> > process::network::internal::PollSocketImpl::accept </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">virtual</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Returns an implementation corresponding to the next pending connection for the listening socket. </p> |
| <p>All implementations will set the NONBLOCK and CLOEXEC options on the returned socket.</p> |
| <p>TODO(josephw): MESOS-5729: Consider making the CLOEXEC option configurable by the caller of the interface. </p> |
| |
| <p>Implements <a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html#a736f79aaed2572670aab9eda08cc4efa">process::network::internal::SocketImpl</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a217849468a99bd63d10a8f8acfb2e496"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">virtual <a class="el" href="classprocess_1_1Future.html">Future</a><<a class="el" href="structNothing.html">Nothing</a>> process::network::internal::PollSocketImpl::connect </td> |
| <td>(</td> |
| <td class="paramtype">const <a class="el" href="classprocess_1_1network_1_1Address.html">Address</a> & </td> |
| <td class="paramname"><em>address</em></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">virtual</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Implements <a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html#a54ff5817c8e53085c47d8df7e6f5ffd9">process::network::internal::SocketImpl</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="af893115c4d9b82346bbf2a204de9c516"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">static <a class="el" href="classTry.html">Try</a><std::shared_ptr<<a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html">SocketImpl</a>> > process::network::internal::PollSocketImpl::create </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="int__fd_8hpp.html#aea4dbda01c90455f158ffa9b924c2f07">int_fd</a> </td> |
| <td class="paramname"><em>s</em></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">static</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| </div> |
| </div> |
| <a class="anchor" id="ad2a592d7183b723c98ace8391f321632"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">virtual <a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html#ab1b898c86d5d9d449a65381c2b1d74f5">Kind</a> process::network::internal::PollSocketImpl::kind </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td> const</td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Implements <a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html#aa4754b1975ff51b35734e8f5941ee319">process::network::internal::SocketImpl</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="ae17fa1d49cfda7a19b5bf8eb3f4a0ebc"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">virtual <a class="el" href="classTry.html">Try</a><<a class="el" href="structNothing.html">Nothing</a>> process::network::internal::PollSocketImpl::listen </td> |
| <td>(</td> |
| <td class="paramtype">int </td> |
| <td class="paramname"><em>backlog</em></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">virtual</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Implements <a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html#a2af1042316d1dd5bd551bc4a2ee69000">process::network::internal::SocketImpl</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a25882be4a54fbd7040e8a2ea707d5a33"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">virtual <a class="el" href="classprocess_1_1Future.html">Future</a><size_t> process::network::internal::PollSocketImpl::recv </td> |
| <td>(</td> |
| <td class="paramtype">char * </td> |
| <td class="paramname"><em>data</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">size_t </td> |
| <td class="paramname"><em>size</em> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">virtual</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Implements <a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html#a081d62bd6c808c7293a863ebefa1964e">process::network::internal::SocketImpl</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a809de92dbb8bc53a253542af04afad7d"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">virtual <a class="el" href="classprocess_1_1Future.html">Future</a><size_t> process::network::internal::PollSocketImpl::send </td> |
| <td>(</td> |
| <td class="paramtype">const char * </td> |
| <td class="paramname"><em>data</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">size_t </td> |
| <td class="paramname"><em>size</em> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">virtual</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Implements <a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html#afe37d6fc53fc38545d1878dfb0918d88">process::network::internal::SocketImpl</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="abe4968408350df83e9ad194bc1dcce1b"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">virtual <a class="el" href="classprocess_1_1Future.html">Future</a><size_t> process::network::internal::PollSocketImpl::sendfile </td> |
| <td>(</td> |
| <td class="paramtype"><a class="el" href="int__fd_8hpp.html#aea4dbda01c90455f158ffa9b924c2f07">int_fd</a> </td> |
| <td class="paramname"><em>fd</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">off_t </td> |
| <td class="paramname"><em>offset</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">size_t </td> |
| <td class="paramname"><em>size</em> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">virtual</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Implements <a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html#a15c48459535a0a99a2a70ff1fcbb7d59">process::network::internal::SocketImpl</a>.</p> |
| |
| </div> |
| </div> |
| <hr/>The documentation for this class was generated from the following file:<ul> |
| <li>3rdparty/libprocess/src/<a class="el" href="poll__socket_8hpp_source.html">poll_socket.hpp</a></li> |
| </ul> |
| </div><!-- contents --> |
| <!-- start footer part --> |
| <hr class="footer"/><address class="footer"><small> |
| Generated by  <a href="http://www.doxygen.org/index.html"> |
| <img class="footer" src="doxygen.png" alt="doxygen"/> |
| </a> 1.8.5 |
| </small></address> |
| </body> |
| </html> |