You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by vi...@apache.org on 2017/06/13 19:42:11 UTC

[45/51] [partial] mesos-site git commit: Renamed `publish` directory to `content`.

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/a3206036/content/api/latest/c++/3rdparty_2libprocess_2include_2process_2network_8hpp.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/3rdparty_2libprocess_2include_2process_2network_8hpp.html b/content/api/latest/c++/3rdparty_2libprocess_2include_2process_2network_8hpp.html
new file mode 100644
index 0000000..4171b4c
--- /dev/null
+++ b/content/api/latest/c++/3rdparty_2libprocess_2include_2process_2network_8hpp.html
@@ -0,0 +1,95 @@
+<!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: 3rdparty/libprocess/include/process/network.hpp File 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&#160;Page</span></a></li>
+      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
+      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
+      <li><a href="annotated.html"><span>Classes</span></a></li>
+      <li class="current"><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="files.html"><span>File&#160;List</span></a></li>
+      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
+    </ul>
+  </div>
+<div id="nav-path" class="navpath">
+  <ul>
+<li class="navelem"><a class="el" href="dir_8cab8f464681f7cc51cee77e79a434cd.html">3rdparty</a></li><li class="navelem"><a class="el" href="dir_043a76de98701f9bddf61b5e98f305ff.html">libprocess</a></li><li class="navelem"><a class="el" href="dir_eac18f7a64f6f8afbd1493ef4e09abdb.html">include</a></li><li class="navelem"><a class="el" href="dir_1894286df79cf582d947dbc4268b06cf.html">process</a></li>  </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+  <div class="summary">
+<a href="#namespaces">Namespaces</a> &#124;
+<a href="#func-members">Functions</a>  </div>
+  <div class="headertitle">
+<div class="title">network.hpp File Reference</div>  </div>
+</div><!--header-->
+<div class="contents">
+<div class="textblock"><code>#include &lt;<a class="el" href="address_8hpp_source.html">process/address.hpp</a>&gt;</code><br/>
+<code>#include &lt;<a class="el" href="3rdparty_2stout_2include_2stout_2net_8hpp_source.html">stout/net.hpp</a>&gt;</code><br/>
+<code>#include &lt;<a class="el" href="try_8hpp_source.html">stout/try.hpp</a>&gt;</code><br/>
+<code>#include &lt;<a class="el" href="stout_2include_2stout_2os_2socket_8hpp_source.html">stout/os/socket.hpp</a>&gt;</code><br/>
+</div>
+<p><a href="3rdparty_2libprocess_2include_2process_2network_8hpp_source.html">Go to the source code of this file.</a></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
+Namespaces</h2></td></tr>
+<tr class="memitem:namespaceprocess"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprocess.html">process</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:namespaceprocess_1_1network"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprocess_1_1network.html">process::network</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:aa05dd9eea0c1e4d3d49e2fc049c1a446"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTry.html">Try</a>&lt; <a class="el" href="int__fd_8hpp.html#aea4dbda01c90455f158ffa9b924c2f07">int_fd</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprocess_1_1network.html#aa05dd9eea0c1e4d3d49e2fc049c1a446">process::network::accept</a> (<a class="el" href="int__fd_8hpp.html#aea4dbda01c90455f158ffa9b924c2f07">int_fd</a> s)</td></tr>
+<tr class="separator:aa05dd9eea0c1e4d3d49e2fc049c1a446"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ad067110a4b38cc83785a43f49bf6c8e2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTry.html">Try</a>&lt; <a class="el" href="structNothing.html">Nothing</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprocess_1_1network.html#ad067110a4b38cc83785a43f49bf6c8e2">process::network::bind</a> (<a class="el" href="int__fd_8hpp.html#aea4dbda01c90455f158ffa9b924c2f07">int_fd</a> s, const Address &amp;address)</td></tr>
+<tr class="separator:ad067110a4b38cc83785a43f49bf6c8e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a502d62f6f908591b8677c90341af28cc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTry.html">Try</a>&lt; <a class="el" href="structNothing.html">Nothing</a>, <a class="el" href="error_8hpp.html#a176f6fc34ea37d40201853a52a475762">SocketError</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprocess_1_1network.html#a502d62f6f908591b8677c90341af28cc">process::network::connect</a> (<a class="el" href="int__fd_8hpp.html#aea4dbda01c90455f158ffa9b924c2f07">int_fd</a> s, const Address &amp;address)</td></tr>
+<tr class="separator:a502d62f6f908591b8677c90341af28cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a1987d4376ac5e2f04ad72e6c84c7569c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTry.html">Try</a>&lt; Address &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprocess_1_1network.html#a1987d4376ac5e2f04ad72e6c84c7569c">process::network::address</a> (<a class="el" href="int__fd_8hpp.html#aea4dbda01c90455f158ffa9b924c2f07">int_fd</a> s)</td></tr>
+<tr class="memdesc:a1987d4376ac5e2f04ad72e6c84c7569c"><td class="mdescLeft">&#160;</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="#a1987d4376ac5e2f04ad72e6c84c7569c">More...</a><br/></td></tr>
+<tr class="separator:a1987d4376ac5e2f04ad72e6c84c7569c"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a53b3d097e3d80075e841924f27ab8b36"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTry.html">Try</a>&lt; Address &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprocess_1_1network.html#a53b3d097e3d80075e841924f27ab8b36">process::network::peer</a> (<a class="el" href="int__fd_8hpp.html#aea4dbda01c90455f158ffa9b924c2f07">int_fd</a> s)</td></tr>
+<tr class="memdesc:a53b3d097e3d80075e841924f27ab8b36"><td class="mdescLeft">&#160;</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="#a53b3d097e3d80075e841924f27ab8b36">More...</a><br/></td></tr>
+<tr class="separator:a53b3d097e3d80075e841924f27ab8b36"><td class="memSeparator" colspan="2">&#160;</td></tr>
+</table>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by &#160;<a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.5
+</small></address>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/a3206036/content/api/latest/c++/3rdparty_2libprocess_2include_2process_2network_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/3rdparty_2libprocess_2include_2process_2network_8hpp_source.html b/content/api/latest/c++/3rdparty_2libprocess_2include_2process_2network_8hpp_source.html
new file mode 100644
index 0000000..72151b3
--- /dev/null
+++ b/content/api/latest/c++/3rdparty_2libprocess_2include_2process_2network_8hpp_source.html
@@ -0,0 +1,187 @@
+<!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: 3rdparty/libprocess/include/process/network.hpp Source File</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&#160;Page</span></a></li>
+      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
+      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
+      <li><a href="annotated.html"><span>Classes</span></a></li>
+      <li class="current"><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="files.html"><span>File&#160;List</span></a></li>
+      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
+    </ul>
+  </div>
+<div id="nav-path" class="navpath">
+  <ul>
+<li class="navelem"><a class="el" href="dir_8cab8f464681f7cc51cee77e79a434cd.html">3rdparty</a></li><li class="navelem"><a class="el" href="dir_043a76de98701f9bddf61b5e98f305ff.html">libprocess</a></li><li class="navelem"><a class="el" href="dir_eac18f7a64f6f8afbd1493ef4e09abdb.html">include</a></li><li class="navelem"><a class="el" href="dir_1894286df79cf582d947dbc4268b06cf.html">process</a></li>  </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+  <div class="headertitle">
+<div class="title">network.hpp</div>  </div>
+</div><!--header-->
+<div class="contents">
+<a href="3rdparty_2libprocess_2include_2process_2network_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">// Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);</span></div>
+<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">// you may not use this file except in compliance with the License.</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">// You may obtain a copy of the License at</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">//</span></div>
+<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">//     http://www.apache.org/licenses/LICENSE-2.0</span></div>
+<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">//</span></div>
+<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">// Unless required by applicable law or agreed to in writing, software</span></div>
+<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">// distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span></div>
+<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div>
+<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">// See the License for the specific language governing permissions and</span></div>
+<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">// limitations under the License</span></div>
+<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;</div>
+<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#ifndef __PROCESS_NETWORK_HPP__</span></div>
+<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define __PROCESS_NETWORK_HPP__</span></div>
+<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor"></span></div>
+<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="address_8hpp.html">process/address.hpp</a>&gt;</span></div>
+<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div>
+<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="3rdparty_2stout_2include_2stout_2net_8hpp.html">stout/net.hpp</a>&gt;</span></div>
+<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="try_8hpp.html">stout/try.hpp</a>&gt;</span></div>
+<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div>
+<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="stout_2include_2stout_2os_2socket_8hpp.html">stout/os/socket.hpp</a>&gt;</span></div>
+<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div>
+<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</div>
+<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceos.html#ae19e4161a51b86a1f330f3bf1dc75389">process</a> {</div>
+<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="keyword">namespace </span>network {</div>
+<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;</div>
+<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="keyword">using</span> <a class="code" href="namespacenet.html#a4cfca6331034dc0a6dc6077fc048843b">net::socket</a>;</div>
+<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;</div>
+<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div>
+<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="comment">// TODO(benh): Remove and defer to Socket::accept.</span></div>
+<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="namespaceprocess_1_1network.html#aa05dd9eea0c1e4d3d49e2fc049c1a446">   31</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="classTry.html">Try&lt;int_fd&gt;</a> <a class="code" href="namespaceprocess_1_1network.html#aa05dd9eea0c1e4d3d49e2fc049c1a446">accept</a>(<a class="code" href="int__fd_8hpp.html#aea4dbda01c90455f158ffa9b924c2f07">int_fd</a> s)</div>
+<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;{</div>
+<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;  sockaddr_storage storage;</div>
+<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;  socklen_t length = <span class="keyword">sizeof</span>(storage);</div>
+<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;</div>
+<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;  <a class="code" href="int__fd_8hpp.html#aea4dbda01c90455f158ffa9b924c2f07">int_fd</a> accepted = <a class="code" href="namespacenet.html#a9edfdf63a58b569ec3cb601aef9df17c">net::accept</a>(s, (sockaddr*) &amp;storage, &amp;length);</div>
+<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;  <span class="keywordflow">if</span> (accepted &lt; 0) {</div>
+<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="classErrnoError.html">ErrnoError</a>(<span class="stringliteral">&quot;Failed to accept&quot;</span>);</div>
+<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;  }</div>
+<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;</div>
+<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;  <span class="keywordflow">return</span> accepted;</div>
+<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;}</div>
+<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div>
+<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div>
+<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="comment">// TODO(benh): Remove and defer to Socket::bind.</span></div>
+<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="namespaceprocess_1_1network.html#ad067110a4b38cc83785a43f49bf6c8e2">   46</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="classTry.html">Try&lt;Nothing&gt;</a> <a class="code" href="namespaceprocess_1_1network.html#ad067110a4b38cc83785a43f49bf6c8e2">bind</a>(<a class="code" href="int__fd_8hpp.html#aea4dbda01c90455f158ffa9b924c2f07">int_fd</a> s, <span class="keyword">const</span> <a class="code" href="classprocess_1_1network_1_1Address.html">Address</a>&amp; <a class="code" href="namespaceprocess_1_1network.html#a1987d4376ac5e2f04ad72e6c84c7569c">address</a>)</div>
+<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;{</div>
+<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;  sockaddr_storage storage = <a class="code" href="namespaceprocess_1_1network.html#a1987d4376ac5e2f04ad72e6c84c7569c">address</a>;</div>
+<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div>
+<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;  <span class="keyword">const</span> socklen_t address_size = <span class="keyword">static_cast&lt;</span>socklen_t<span class="keyword">&gt;</span>(address.<a class="code" href="classprocess_1_1network_1_1Address.html#a0008f4285e960406a0e2e6ec96f875ad">size</a>());</div>
+<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;  <span class="keywordflow">if</span> (<a class="code" href="namespacenet.html#a96764dea6ff234ddde909e6372090459">net::bind</a>(s, (sockaddr*) &amp;storage, address_size) &lt; 0) {</div>
+<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="classErrnoError.html">ErrnoError</a>(<span class="stringliteral">&quot;Failed to bind on &quot;</span> + <a class="code" href="namespacens.html#a28116b46e6543597a11733424cd1aa20">stringify</a>(address));</div>
+<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;  }</div>
+<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;</div>
+<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="structNothing.html">Nothing</a>();</div>
+<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;}</div>
+<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div>
+<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;</div>
+<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="comment">// TODO(benh): Remove and defer to Socket::connect.</span></div>
+<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="namespaceprocess_1_1network.html#a502d62f6f908591b8677c90341af28cc">   60</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="classTry.html">Try&lt;Nothing, SocketError&gt;</a> <a class="code" href="namespaceprocess_1_1network.html#a502d62f6f908591b8677c90341af28cc">connect</a>(<a class="code" href="int__fd_8hpp.html#aea4dbda01c90455f158ffa9b924c2f07">int_fd</a> s, <span class="keyword">const</span> <a class="code" href="classprocess_1_1network_1_1Address.html">Address</a>&amp; <a class="code" href="namespaceprocess_1_1network.html#a1987d4376ac5e2f04ad72e6c84c7569c">address</a>)</div>
+<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;{</div>
+<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;  sockaddr_storage storage = <a class="code" href="namespaceprocess_1_1network.html#a1987d4376ac5e2f04ad72e6c84c7569c">address</a>;</div>
+<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;</div>
+<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;  <span class="keyword">const</span> socklen_t address_size = <span class="keyword">static_cast&lt;</span>socklen_t<span class="keyword">&gt;</span>(address.<a class="code" href="classprocess_1_1network_1_1Address.html#a0008f4285e960406a0e2e6ec96f875ad">size</a>());</div>
+<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;  <span class="keywordflow">if</span> (<a class="code" href="namespacenet.html#acf6a462b79620cf648fb3bcbb900d153">net::connect</a>(s, (sockaddr*) &amp;storage, address_size) &lt; 0) {</div>
+<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="error_8hpp.html#a176f6fc34ea37d40201853a52a475762">SocketError</a>(<span class="stringliteral">&quot;Failed to connect to &quot;</span> + <a class="code" href="namespacens.html#a28116b46e6543597a11733424cd1aa20">stringify</a>(address));</div>
+<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;  }</div>
+<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;</div>
+<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="structNothing.html">Nothing</a>();</div>
+<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;}</div>
+<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;</div>
+<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;</div>
+<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="namespaceprocess_1_1network.html#a1987d4376ac5e2f04ad72e6c84c7569c">   79</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="classTry.html">Try&lt;Address&gt;</a> <a class="code" href="namespaceprocess_1_1network.html#a1987d4376ac5e2f04ad72e6c84c7569c">address</a>(<a class="code" href="int__fd_8hpp.html#aea4dbda01c90455f158ffa9b924c2f07">int_fd</a> s)</div>
+<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;{</div>
+<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;  sockaddr_storage storage;</div>
+<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;  socklen_t length = <span class="keyword">sizeof</span>(storage);</div>
+<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;</div>
+<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;  <span class="keywordflow">if</span> (::getsockname(s, (sockaddr*)&amp;storage, &amp;length) &lt; 0) {</div>
+<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="classErrnoError.html">ErrnoError</a>(<span class="stringliteral">&quot;Failed to getsockname&quot;</span>);</div>
+<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;  }</div>
+<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div>
+<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="classprocess_1_1network_1_1Address.html#a65e3511ccaa4fe9e6794675cab161c4c">Address::create</a>(storage);</div>
+<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;}</div>
+<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;</div>
+<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;</div>
+<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="namespaceprocess_1_1network.html#a53b3d097e3d80075e841924f27ab8b36">   98</a></span>&#160;<span class="keyword">inline</span> <a class="code" href="classTry.html">Try&lt;Address&gt;</a> <a class="code" href="namespaceprocess_1_1network.html#a53b3d097e3d80075e841924f27ab8b36">peer</a>(<a class="code" href="int__fd_8hpp.html#aea4dbda01c90455f158ffa9b924c2f07">int_fd</a> s)</div>
+<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;{</div>
+<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;  sockaddr_storage storage;</div>
+<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;  socklen_t length = <span class="keyword">sizeof</span>(storage);</div>
+<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;</div>
+<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;  <span class="keywordflow">if</span> (::getpeername(s, (sockaddr*)&amp;storage, &amp;length) &lt; 0) {</div>
+<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="classErrnoError.html">ErrnoError</a>(<span class="stringliteral">&quot;Failed to getpeername&quot;</span>);</div>
+<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;  }</div>
+<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;</div>
+<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="classprocess_1_1network_1_1Address.html#a65e3511ccaa4fe9e6794675cab161c4c">Address::create</a>(storage);</div>
+<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;}</div>
+<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;</div>
+<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;} <span class="comment">// namespace network {</span></div>
+<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;} <span class="comment">// namespace process {</span></div>
+<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;</div>
+<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;<span class="preprocessor">#endif // __PROCESS_NETWORK_HPP__</span></div>
+<div class="ttc" id="namespacenet_html_a4cfca6331034dc0a6dc6077fc048843b"><div class="ttname"><a href="namespacenet.html#a4cfca6331034dc0a6dc6077fc048843b">net::socket</a></div><div class="ttdeci">Try&lt; int_fd &gt; socket(int family, int type, int protocol)</div><div class="ttdef"><b>Definition:</b> socket.hpp:31</div></div>
+<div class="ttc" id="namespacenet_html_a96764dea6ff234ddde909e6372090459"><div class="ttname"><a href="namespacenet.html#a96764dea6ff234ddde909e6372090459">net::bind</a></div><div class="ttdeci">int bind(const os::WindowsFD &amp;fd, const sockaddr *addr, socklen_t addrlen)</div><div class="ttdef"><b>Definition:</b> socket.hpp:118</div></div>
+<div class="ttc" id="classprocess_1_1network_1_1Address_html_a65e3511ccaa4fe9e6794675cab161c4c"><div class="ttname"><a href="classprocess_1_1network_1_1Address.html#a65e3511ccaa4fe9e6794675cab161c4c">process::network::Address::create</a></div><div class="ttdeci">static Try&lt; Address &gt; create(const sockaddr_storage &amp;storage)</div><div class="ttdef"><b>Definition:</b> address.hpp:69</div></div>
+<div class="ttc" id="structNothing_html"><div class="ttname"><a href="structNothing.html">Nothing</a></div><div class="ttdef"><b>Definition:</b> nothing.hpp:16</div></div>
+<div class="ttc" id="namespacenet_html_a9edfdf63a58b569ec3cb601aef9df17c"><div class="ttname"><a href="namespacenet.html#a9edfdf63a58b569ec3cb601aef9df17c">net::accept</a></div><div class="ttdeci">os::WindowsFD accept(const os::WindowsFD &amp;fd, sockaddr *addr, socklen_t *addrlen)</div><div class="ttdef"><b>Definition:</b> socket.hpp:112</div></div>
+<div class="ttc" id="address_8hpp_html"><div class="ttname"><a href="address_8hpp.html">address.hpp</a></div></div>
+<div class="ttc" id="classTry_html"><div class="ttname"><a href="classTry.html">Try</a></div><div class="ttdef"><b>Definition:</b> try.hpp:34</div></div>
+<div class="ttc" id="namespaceprocess_1_1network_html_a1987d4376ac5e2f04ad72e6c84c7569c"><div class="ttname"><a href="namespaceprocess_1_1network.html#a1987d4376ac5e2f04ad72e6c84c7569c">process::network::address</a></div><div class="ttdeci">Try&lt; Address &gt; address(int_fd s)</div><div class="ttdoc">Returns the Address with the assigned ip and assigned port. </div><div class="ttdef"><b>Definition:</b> network.hpp:79</div></div>
+<div class="ttc" id="namespacenet_html_acf6a462b79620cf648fb3bcbb900d153"><div class="ttname"><a href="namespacenet.html#acf6a462b79620cf648fb3bcbb900d153">net::connect</a></div><div class="ttdeci">int connect(const os::WindowsFD &amp;fd, const sockaddr *address, socklen_t addrlen)</div><div class="ttdef"><b>Definition:</b> socket.hpp:125</div></div>
+<div class="ttc" id="classprocess_1_1network_1_1Address_html"><div class="ttname"><a href="classprocess_1_1network_1_1Address.html">process::network::Address</a></div><div class="ttdef"><b>Definition:</b> address.hpp:59</div></div>
+<div class="ttc" id="classErrnoError_html"><div class="ttname"><a href="classErrnoError.html">ErrnoError</a></div><div class="ttdef"><b>Definition:</b> errorbase.hpp:44</div></div>
+<div class="ttc" id="classprocess_1_1network_1_1Address_html_a0008f4285e960406a0e2e6ec96f875ad"><div class="ttname"><a href="classprocess_1_1network_1_1Address.html#a0008f4285e960406a0e2e6ec96f875ad">process::network::Address::size</a></div><div class="ttdeci">size_t size() const </div><div class="ttdef"><b>Definition:</b> address.hpp:97</div></div>
+<div class="ttc" id="stout_2include_2stout_2os_2socket_8hpp_html"><div class="ttname"><a href="stout_2include_2stout_2os_2socket_8hpp.html">socket.hpp</a></div></div>
+<div class="ttc" id="error_8hpp_html_a176f6fc34ea37d40201853a52a475762"><div class="ttname"><a href="error_8hpp.html#a176f6fc34ea37d40201853a52a475762">SocketError</a></div><div class="ttdeci">ErrnoError SocketError</div><div class="ttdef"><b>Definition:</b> error.hpp:33</div></div>
+<div class="ttc" id="namespaceprocess_1_1network_html_aa05dd9eea0c1e4d3d49e2fc049c1a446"><div class="ttname"><a href="namespaceprocess_1_1network.html#aa05dd9eea0c1e4d3d49e2fc049c1a446">process::network::accept</a></div><div class="ttdeci">Try&lt; int_fd &gt; accept(int_fd s)</div><div class="ttdef"><b>Definition:</b> network.hpp:31</div></div>
+<div class="ttc" id="namespaceos_html_ae19e4161a51b86a1f330f3bf1dc75389"><div class="ttname"><a href="namespaceos.html#ae19e4161a51b86a1f330f3bf1dc75389">os::process</a></div><div class="ttdeci">Result&lt; Process &gt; process(pid_t pid)</div><div class="ttdef"><b>Definition:</b> freebsd.hpp:30</div></div>
+<div class="ttc" id="namespaceprocess_1_1network_html_a502d62f6f908591b8677c90341af28cc"><div class="ttname"><a href="namespaceprocess_1_1network.html#a502d62f6f908591b8677c90341af28cc">process::network::connect</a></div><div class="ttdeci">Try&lt; Nothing, SocketError &gt; connect(int_fd s, const Address &amp;address)</div><div class="ttdef"><b>Definition:</b> network.hpp:60</div></div>
+<div class="ttc" id="try_8hpp_html"><div class="ttname"><a href="try_8hpp.html">try.hpp</a></div></div>
+<div class="ttc" id="namespaceprocess_1_1network_html_a53b3d097e3d80075e841924f27ab8b36"><div class="ttname"><a href="namespaceprocess_1_1network.html#a53b3d097e3d80075e841924f27ab8b36">process::network::peer</a></div><div class="ttdeci">Try&lt; Address &gt; peer(int_fd s)</div><div class="ttdoc">Returns the peer&amp;#39;s Address for the accepted or connected socket. </div><div class="ttdef"><b>Definition:</b> network.hpp:98</div></div>
+<div class="ttc" id="3rdparty_2stout_2include_2stout_2net_8hpp_html"><div class="ttname"><a href="3rdparty_2stout_2include_2stout_2net_8hpp.html">net.hpp</a></div></div>
+<div class="ttc" id="namespaceprocess_1_1network_html_ad067110a4b38cc83785a43f49bf6c8e2"><div class="ttname"><a href="namespaceprocess_1_1network.html#ad067110a4b38cc83785a43f49bf6c8e2">process::network::bind</a></div><div class="ttdeci">Try&lt; Nothing &gt; bind(int_fd s, const Address &amp;address)</div><div class="ttdef"><b>Definition:</b> network.hpp:46</div></div>
+<div class="ttc" id="int__fd_8hpp_html_aea4dbda01c90455f158ffa9b924c2f07"><div class="ttname"><a href="int__fd_8hpp.html#aea4dbda01c90455f158ffa9b924c2f07">int_fd</a></div><div class="ttdeci">int int_fd</div><div class="ttdef"><b>Definition:</b> int_fd.hpp:35</div></div>
+<div class="ttc" id="namespacens_html_a28116b46e6543597a11733424cd1aa20"><div class="ttname"><a href="namespacens.html#a28116b46e6543597a11733424cd1aa20">ns::stringify</a></div><div class="ttdeci">std::string stringify(int flags)</div><div class="ttdef"><b>Definition:</b> ns.hpp:688</div></div>
+</div><!-- fragment --></div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by &#160;<a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.5
+</small></address>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/a3206036/content/api/latest/c++/3rdparty_2libprocess_2include_2process_2pid_8hpp.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/3rdparty_2libprocess_2include_2process_2pid_8hpp.html b/content/api/latest/c++/3rdparty_2libprocess_2include_2process_2pid_8hpp.html
new file mode 100644
index 0000000..bbbb3b2
--- /dev/null
+++ b/content/api/latest/c++/3rdparty_2libprocess_2include_2process_2pid_8hpp.html
@@ -0,0 +1,101 @@
+<!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: 3rdparty/libprocess/include/process/pid.hpp File 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&#160;Page</span></a></li>
+      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
+      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
+      <li><a href="annotated.html"><span>Classes</span></a></li>
+      <li class="current"><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="files.html"><span>File&#160;List</span></a></li>
+      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
+    </ul>
+  </div>
+<div id="nav-path" class="navpath">
+  <ul>
+<li class="navelem"><a class="el" href="dir_8cab8f464681f7cc51cee77e79a434cd.html">3rdparty</a></li><li class="navelem"><a class="el" href="dir_043a76de98701f9bddf61b5e98f305ff.html">libprocess</a></li><li class="navelem"><a class="el" href="dir_eac18f7a64f6f8afbd1493ef4e09abdb.html">include</a></li><li class="navelem"><a class="el" href="dir_1894286df79cf582d947dbc4268b06cf.html">process</a></li>  </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+  <div class="summary">
+<a href="#nested-classes">Classes</a> &#124;
+<a href="#namespaces">Namespaces</a> &#124;
+<a href="#func-members">Functions</a>  </div>
+  <div class="headertitle">
+<div class="title">pid.hpp File Reference</div>  </div>
+</div><!--header-->
+<div class="contents">
+<div class="textblock"><code>#include &lt;stdint.h&gt;</code><br/>
+<code>#include &lt;iosfwd&gt;</code><br/>
+<code>#include &lt;string&gt;</code><br/>
+<code>#include &lt;boost/functional/hash.hpp&gt;</code><br/>
+<code>#include &lt;<a class="el" href="address_8hpp_source.html">process/address.hpp</a>&gt;</code><br/>
+<code>#include &lt;<a class="el" href="3rdparty_2stout_2include_2stout_2ip_8hpp_source.html">stout/ip.hpp</a>&gt;</code><br/>
+</div>
+<p><a href="3rdparty_2libprocess_2include_2process_2pid_8hpp_source.html">Go to the source code of this file.</a></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
+Classes</h2></td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structprocess_1_1UPID.html">process::UPID</a></td></tr>
+<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">An "untyped" <code><a class="el" href="structprocess_1_1PID.html" title="A &quot;process identifier&quot; used to uniquely identify a process when dispatching messages. ">PID</a></code>, used to encapsulate the process <a class="el" href="namespaceprocess_1_1ID.html">ID</a> for lower-layer abstractions (eg, when receiving incoming requests) in the dispatching mechanism.  <a href="structprocess_1_1UPID.html#details">More...</a><br/></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structprocess_1_1PID.html">process::PID&lt; T &gt;</a></td></tr>
+<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">A "process identifier" used to uniquely identify a process when dispatching messages.  <a href="structprocess_1_1PID.html#details">More...</a><br/></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structstd_1_1hash_3_01process_1_1UPID_01_4.html">std::hash&lt; process::UPID &gt;</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
+Namespaces</h2></td></tr>
+<tr class="memitem:namespaceprocess"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprocess.html">process</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:namespacestd"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacestd.html">std</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:a57a041df6d38d9628efc0d9746e5d48b"><td class="memItemLeft" align="right" valign="top">std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprocess.html#a57a041df6d38d9628efc0d9746e5d48b">process::operator&lt;&lt;</a> (std::ostream &amp;, const UPID &amp;)</td></tr>
+<tr class="separator:a57a041df6d38d9628efc0d9746e5d48b"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a54c84b494905a04c7329602874020ad2"><td class="memItemLeft" align="right" valign="top">std::istream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprocess.html#a54c84b494905a04c7329602874020ad2">process::operator&gt;&gt;</a> (std::istream &amp;, UPID &amp;)</td></tr>
+<tr class="separator:a54c84b494905a04c7329602874020ad2"><td class="memSeparator" colspan="2">&#160;</td></tr>
+</table>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by &#160;<a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.5
+</small></address>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/a3206036/content/api/latest/c++/3rdparty_2libprocess_2include_2process_2pid_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/3rdparty_2libprocess_2include_2process_2pid_8hpp_source.html b/content/api/latest/c++/3rdparty_2libprocess_2include_2process_2pid_8hpp_source.html
new file mode 100644
index 0000000..e509ebd
--- /dev/null
+++ b/content/api/latest/c++/3rdparty_2libprocess_2include_2process_2pid_8hpp_source.html
@@ -0,0 +1,240 @@
+<!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: 3rdparty/libprocess/include/process/pid.hpp Source File</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&#160;Page</span></a></li>
+      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
+      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
+      <li><a href="annotated.html"><span>Classes</span></a></li>
+      <li class="current"><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="files.html"><span>File&#160;List</span></a></li>
+      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
+    </ul>
+  </div>
+<div id="nav-path" class="navpath">
+  <ul>
+<li class="navelem"><a class="el" href="dir_8cab8f464681f7cc51cee77e79a434cd.html">3rdparty</a></li><li class="navelem"><a class="el" href="dir_043a76de98701f9bddf61b5e98f305ff.html">libprocess</a></li><li class="navelem"><a class="el" href="dir_eac18f7a64f6f8afbd1493ef4e09abdb.html">include</a></li><li class="navelem"><a class="el" href="dir_1894286df79cf582d947dbc4268b06cf.html">process</a></li>  </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+  <div class="headertitle">
+<div class="title">pid.hpp</div>  </div>
+</div><!--header-->
+<div class="contents">
+<a href="3rdparty_2libprocess_2include_2process_2pid_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">// Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);</span></div>
+<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">// you may not use this file except in compliance with the License.</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">// You may obtain a copy of the License at</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">//</span></div>
+<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">//     http://www.apache.org/licenses/LICENSE-2.0</span></div>
+<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">//</span></div>
+<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">// Unless required by applicable law or agreed to in writing, software</span></div>
+<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">// distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span></div>
+<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div>
+<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">// See the License for the specific language governing permissions and</span></div>
+<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">// limitations under the License</span></div>
+<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;</div>
+<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#ifndef __PROCESS_PID_HPP__</span></div>
+<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define __PROCESS_PID_HPP__</span></div>
+<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor"></span></div>
+<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#include &lt;stdint.h&gt;</span></div>
+<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div>
+<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#include &lt;iosfwd&gt;</span></div>
+<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
+<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div>
+<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#include &lt;boost/functional/hash.hpp&gt;</span></div>
+<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div>
+<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="address_8hpp.html">process/address.hpp</a>&gt;</span></div>
+<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div>
+<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="3rdparty_2stout_2include_2stout_2ip_8hpp.html">stout/ip.hpp</a>&gt;</span></div>
+<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;</div>
+<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceos.html#ae19e4161a51b86a1f330f3bf1dc75389">process</a> {</div>
+<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;</div>
+<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="comment">// Forward declaration to break cyclic dependencies.</span></div>
+<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="keyword">class </span>ProcessBase;</div>
+<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;</div>
+<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="structprocess_1_1UPID.html">   39</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structprocess_1_1UPID.html">UPID</a></div>
+<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;{</div>
+<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;  <a class="code" href="structprocess_1_1UPID.html#aa29e722907276ba057b3ef7f1b09cff6">UPID</a>() = <span class="keywordflow">default</span>;</div>
+<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;</div>
+<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="structprocess_1_1UPID.html#aeff2ce84fdb57f453dc15958ad0c3eb2">   43</a></span>&#160;  <a class="code" href="structprocess_1_1UPID.html#aeff2ce84fdb57f453dc15958ad0c3eb2">UPID</a>(<span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">UPID</a>&amp; that)</div>
+<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    : <a class="code" href="structprocess_1_1UPID.html#ae741ecedc15ad9dff2b7af1b5d8ff363">id</a>(that.<a class="code" href="structprocess_1_1UPID.html#ae741ecedc15ad9dff2b7af1b5d8ff363">id</a>), <a class="code" href="structprocess_1_1UPID.html#a7fb5bd7cbc47a671abcdaab8209e87be">address</a>(that.<a class="code" href="structprocess_1_1UPID.html#a7fb5bd7cbc47a671abcdaab8209e87be">address</a>) {}</div>
+<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div>
+<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="structprocess_1_1UPID.html#a5c24f78ba70b45184c55f8b121cdecf8">   46</a></span>&#160;  <a class="code" href="structprocess_1_1UPID.html#a5c24f78ba70b45184c55f8b121cdecf8">UPID</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* id_, <span class="keyword">const</span> <a class="code" href="classnet_1_1IP.html">net::IP</a>&amp; ip_, uint16_t port_)</div>
+<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;    : <a class="code" href="structprocess_1_1UPID.html#ae741ecedc15ad9dff2b7af1b5d8ff363">id</a>(id_), <a class="code" href="structprocess_1_1UPID.html#a7fb5bd7cbc47a671abcdaab8209e87be">address</a>(ip_, port_) {}</div>
+<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;</div>
+<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="structprocess_1_1UPID.html#a9b45a93b35f945bf1ab99fe188ed348e">   49</a></span>&#160;  <a class="code" href="structprocess_1_1UPID.html#a9b45a93b35f945bf1ab99fe188ed348e">UPID</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* id_, <span class="keyword">const</span> <a class="code" href="classprocess_1_1network_1_1inet_1_1Address.html">network::inet::Address</a>&amp; address_)</div>
+<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    : <a class="code" href="structprocess_1_1UPID.html#ae741ecedc15ad9dff2b7af1b5d8ff363">id</a>(id_), <a class="code" href="structprocess_1_1UPID.html#a7fb5bd7cbc47a671abcdaab8209e87be">address</a>(address_) {}</div>
+<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div>
+<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="structprocess_1_1UPID.html#a2a55b35a51896f4ebd37f8544988d8be">   52</a></span>&#160;  <a class="code" href="structprocess_1_1UPID.html#a2a55b35a51896f4ebd37f8544988d8be">UPID</a>(<span class="keyword">const</span> std::string&amp; id_, <span class="keyword">const</span> <a class="code" href="classnet_1_1IP.html">net::IP</a>&amp; ip_, uint16_t port_)</div>
+<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    : <a class="code" href="structprocess_1_1UPID.html#ae741ecedc15ad9dff2b7af1b5d8ff363">id</a>(id_), <a class="code" href="structprocess_1_1UPID.html#a7fb5bd7cbc47a671abcdaab8209e87be">address</a>(ip_, port_) {}</div>
+<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;</div>
+<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="structprocess_1_1UPID.html#aa1520297327feb8d59f2129f838a543a">   55</a></span>&#160;  <a class="code" href="structprocess_1_1UPID.html#aa1520297327feb8d59f2129f838a543a">UPID</a>(<span class="keyword">const</span> std::string&amp; id_, <span class="keyword">const</span> <a class="code" href="classprocess_1_1network_1_1inet_1_1Address.html">network::inet::Address</a>&amp; address_)</div>
+<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    : <a class="code" href="structprocess_1_1UPID.html#ae741ecedc15ad9dff2b7af1b5d8ff363">id</a>(id_), <a class="code" href="structprocess_1_1UPID.html#a7fb5bd7cbc47a671abcdaab8209e87be">address</a>(address_) {}</div>
+<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div>
+<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;  <span class="comment">/*implicit*/</span> <a class="code" href="structprocess_1_1UPID.html#aa29e722907276ba057b3ef7f1b09cff6">UPID</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* s);</div>
+<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;</div>
+<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;  <span class="comment">/*implicit*/</span> <a class="code" href="structprocess_1_1UPID.html#aa29e722907276ba057b3ef7f1b09cff6">UPID</a>(<span class="keyword">const</span> std::string&amp; s);</div>
+<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;</div>
+<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;  <span class="comment">/*implicit*/</span> <a class="code" href="structprocess_1_1UPID.html#aa29e722907276ba057b3ef7f1b09cff6">UPID</a>(<span class="keyword">const</span> <a class="code" href="classprocess_1_1ProcessBase.html">ProcessBase</a>&amp; <a class="code" href="namespaceos.html#ae19e4161a51b86a1f330f3bf1dc75389">process</a>);</div>
+<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;</div>
+<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;  <span class="keyword">operator</span> std::string() <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;</div>
+<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="structprocess_1_1UPID.html#a02d3f64a890b805f5be3b065c40a940c">   66</a></span>&#160;  <span class="keyword">operator</span> bool()<span class="keyword"> const</span></div>
+<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;<span class="keyword">  </span>{</div>
+<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    <span class="keywordflow">return</span> <span class="keywordtype">id</span> != <span class="stringliteral">&quot;&quot;</span> &amp;&amp; !<a class="code" href="structprocess_1_1UPID.html#a7fb5bd7cbc47a671abcdaab8209e87be">address</a>.<a class="code" href="classprocess_1_1network_1_1inet_1_1Address.html#a3e0a3cf87d1bcdfdeb68a82a8595b0fd">ip</a>.<a class="code" href="classnet_1_1IP.html#adef252cbd8b3cb3ddae4b1aea4ce04c1">isAny</a>() &amp;&amp; <a class="code" href="structprocess_1_1UPID.html#a7fb5bd7cbc47a671abcdaab8209e87be">address</a>.<a class="code" href="classprocess_1_1network_1_1inet_1_1Address.html#ae3e7e66a36596662847c5a36b114af15">port</a> != 0;</div>
+<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;  }</div>
+<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;</div>
+<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="structprocess_1_1UPID.html#a4602556bdfca9709ab64989da89ad3b6">   71</a></span>&#160;  <span class="keywordtype">bool</span> <a class="code" href="structprocess_1_1UPID.html#a4602556bdfca9709ab64989da89ad3b6">operator!</a>() const <span class="comment">// NOLINT(whitespace/operators)</span></div>
+<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;  {</div>
+<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    <span class="keywordflow">return</span> <span class="keywordtype">id</span> == <span class="stringliteral">&quot;&quot;</span> &amp;&amp; <a class="code" href="structprocess_1_1UPID.html#a7fb5bd7cbc47a671abcdaab8209e87be">address</a>.<a class="code" href="classprocess_1_1network_1_1inet_1_1Address.html#a3e0a3cf87d1bcdfdeb68a82a8595b0fd">ip</a>.<a class="code" href="classnet_1_1IP.html#adef252cbd8b3cb3ddae4b1aea4ce04c1">isAny</a>() &amp;&amp; <a class="code" href="structprocess_1_1UPID.html#a7fb5bd7cbc47a671abcdaab8209e87be">address</a>.<a class="code" href="classprocess_1_1network_1_1inet_1_1Address.html#ae3e7e66a36596662847c5a36b114af15">port</a> == 0;</div>
+<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;  }</div>
+<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div>
+<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="structprocess_1_1UPID.html#ac6f524d3372f4a8c25a89d87e6cae9b0">   76</a></span>&#160;  <span class="keywordtype">bool</span> <a class="code" href="structprocess_1_1UPID.html#ac6f524d3372f4a8c25a89d87e6cae9b0">operator&lt;</a>(<span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">UPID</a>&amp; that)<span class="keyword"> const</span></div>
+<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<span class="keyword">  </span>{</div>
+<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="structprocess_1_1UPID.html#a7fb5bd7cbc47a671abcdaab8209e87be">address</a> == that.<a class="code" href="structprocess_1_1UPID.html#a7fb5bd7cbc47a671abcdaab8209e87be">address</a>) {</div>
+<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;      <span class="keywordflow">return</span> <span class="keywordtype">id</span> &lt; that.<a class="code" href="structprocess_1_1UPID.html#ae741ecedc15ad9dff2b7af1b5d8ff363">id</a>;</div>
+<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;      <span class="keywordflow">return</span> <a class="code" href="structprocess_1_1UPID.html#a7fb5bd7cbc47a671abcdaab8209e87be">address</a> &lt; that.<a class="code" href="structprocess_1_1UPID.html#a7fb5bd7cbc47a671abcdaab8209e87be">address</a>;</div>
+<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    }</div>
+<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;  }</div>
+<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;</div>
+<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="structprocess_1_1UPID.html#a1ad0ca205d7c6e95652c1ca35c80b41f">   85</a></span>&#160;  <span class="keywordtype">bool</span> <a class="code" href="structprocess_1_1UPID.html#a1ad0ca205d7c6e95652c1ca35c80b41f">operator==</a>(<span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">UPID</a>&amp; that)<span class="keyword"> const</span></div>
+<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;<span class="keyword">  </span>{</div>
+<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;    <span class="keywordflow">return</span> (<span class="keywordtype">id</span> == that.<a class="code" href="structprocess_1_1UPID.html#ae741ecedc15ad9dff2b7af1b5d8ff363">id</a> &amp;&amp; <a class="code" href="structprocess_1_1UPID.html#a7fb5bd7cbc47a671abcdaab8209e87be">address</a> == that.<a class="code" href="structprocess_1_1UPID.html#a7fb5bd7cbc47a671abcdaab8209e87be">address</a>);</div>
+<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;  }</div>
+<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;</div>
+<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="structprocess_1_1UPID.html#ac98e2c3cd3ffc8a1cb42ca1c722023de">   90</a></span>&#160;  <span class="keywordtype">bool</span> <a class="code" href="structprocess_1_1UPID.html#ac98e2c3cd3ffc8a1cb42ca1c722023de">operator!=</a>(<span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">UPID</a>&amp; that)<span class="keyword"> const</span></div>
+<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;<span class="keyword">  </span>{</div>
+<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    <span class="keywordflow">return</span> !(*<span class="keyword">this</span> == that);</div>
+<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;  }</div>
+<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;</div>
+<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="structprocess_1_1UPID.html#ae741ecedc15ad9dff2b7af1b5d8ff363">   95</a></span>&#160;  std::string <a class="code" href="structprocess_1_1UPID.html#ae741ecedc15ad9dff2b7af1b5d8ff363">id</a>;</div>
+<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="structprocess_1_1UPID.html#a7fb5bd7cbc47a671abcdaab8209e87be">   96</a></span>&#160;  <a class="code" href="classprocess_1_1network_1_1inet_1_1Address.html">network::inet::Address</a> <a class="code" href="structprocess_1_1UPID.html#a7fb5bd7cbc47a671abcdaab8209e87be">address</a> = <a class="code" href="classprocess_1_1network_1_1inet_1_1Address.html#af905074dc95c77ecd8e8a4f8154a1ef6">network::inet::Address::ANY_ANY</a>();</div>
+<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;};</div>
+<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;</div>
+<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;</div>
+<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T = ProcessBase&gt;</div>
+<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="structprocess_1_1PID.html">  127</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structprocess_1_1PID.html">PID</a> : <a class="code" href="structprocess_1_1UPID.html">UPID</a></div>
+<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;{</div>
+<div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="structprocess_1_1PID.html#a3da5156d26f761f17d0d82f44055bc7e">  129</a></span>&#160;  <a class="code" href="structprocess_1_1PID.html#a3da5156d26f761f17d0d82f44055bc7e">PID</a>() : <a class="code" href="structprocess_1_1UPID.html">UPID</a>() {}</div>
+<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;</div>
+<div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="structprocess_1_1PID.html#a13236e13ff77be6c9ace62398ca6a5e9">  131</a></span>&#160;  <span class="comment">/*implicit*/</span> <a class="code" href="structprocess_1_1PID.html#a13236e13ff77be6c9ace62398ca6a5e9">PID</a>(<span class="keyword">const</span> T* t) : <a class="code" href="structprocess_1_1UPID.html">UPID</a>(static_cast&lt;const <a class="code" href="classprocess_1_1ProcessBase.html">ProcessBase</a>&amp;&gt;(*t)) {}</div>
+<div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="structprocess_1_1PID.html#ad0df0e6f513d10cb53117a493049d8e6">  132</a></span>&#160;  <span class="comment">/*implicit*/</span> <a class="code" href="structprocess_1_1PID.html#ad0df0e6f513d10cb53117a493049d8e6">PID</a>(<span class="keyword">const</span> T&amp; t) : <a class="code" href="structprocess_1_1UPID.html">UPID</a>(static_cast&lt;const <a class="code" href="classprocess_1_1ProcessBase.html">ProcessBase</a>&amp;&gt;(t)) {}</div>
+<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;</div>
+<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> Base&gt;</div>
+<div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="structprocess_1_1PID.html#acbcb188af0b28499782397376ba0d591">  135</a></span>&#160;  <span class="keyword">operator</span> <a class="code" href="structprocess_1_1PID.html">PID&lt;Base&gt;</a>() <span class="keyword">const</span></div>
+<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;  {</div>
+<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;    <span class="comment">// Only allow upcasts!</span></div>
+<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;    T* t = <span class="keyword">nullptr</span>;</div>
+<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;    Base* <a class="code" href="namespaceprocess.html#a373bd5e2bd8f2694e4589293af477854">base</a> = t;</div>
+<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;    (void)base; <span class="comment">// Eliminate unused base warning.</span></div>
+<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;    <a class="code" href="structprocess_1_1PID.html">PID&lt;Base&gt;</a> pid;</div>
+<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;    pid.<a class="code" href="structprocess_1_1UPID.html#ae741ecedc15ad9dff2b7af1b5d8ff363">id</a> = <a class="code" href="structprocess_1_1UPID.html#ae741ecedc15ad9dff2b7af1b5d8ff363">id</a>;</div>
+<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;    pid.<a class="code" href="structprocess_1_1UPID.html#a7fb5bd7cbc47a671abcdaab8209e87be">address</a> = <a class="code" href="structprocess_1_1UPID.html#a7fb5bd7cbc47a671abcdaab8209e87be">address</a>;</div>
+<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;    <span class="keywordflow">return</span> pid;</div>
+<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;  }</div>
+<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;};</div>
+<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;</div>
+<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;</div>
+<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;<span class="comment">// Outputing UPIDs and generating UPIDs using streams.</span></div>
+<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;std::ostream&amp; <a class="code" href="namespaceprocess.html#a57a041df6d38d9628efc0d9746e5d48b">operator&lt;&lt;</a>(std::ostream&amp;, <span class="keyword">const</span> UPID&amp;);</div>
+<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;std::istream&amp; <a class="code" href="namespaceprocess.html#a54c84b494905a04c7329602874020ad2">operator&gt;&gt;</a>(std::istream&amp;, UPID&amp;);</div>
+<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;</div>
+<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;} <span class="comment">// namespace process {</span></div>
+<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;</div>
+<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;<span class="keyword">namespace </span>std {</div>
+<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;</div>
+<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;<span class="keyword">template</span> &lt;&gt;</div>
+<div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="structstd_1_1hash_3_01process_1_1UPID_01_4.html">  158</a></span>&#160;<span class="keyword">struct </span>hash&lt;<a class="code" href="namespaceos.html#ae19e4161a51b86a1f330f3bf1dc75389">process</a>::UPID&gt;</div>
+<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;{</div>
+<div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="structstd_1_1hash_3_01process_1_1UPID_01_4.html#abb909b81d5aa41e8b0a3f75ba6b703d9">  160</a></span>&#160;  <span class="keyword">typedef</span> <span class="keywordtype">size_t</span> <a class="code" href="structstd_1_1hash_3_01process_1_1UPID_01_4.html#abb909b81d5aa41e8b0a3f75ba6b703d9">result_type</a>;</div>
+<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;</div>
+<div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="structstd_1_1hash_3_01process_1_1UPID_01_4.html#a688a6a51a9771737871bbd78f16aa46f">  162</a></span>&#160;  <span class="keyword">typedef</span> <a class="code" href="structprocess_1_1UPID.html">process::UPID</a> <a class="code" href="structstd_1_1hash_3_01process_1_1UPID_01_4.html#a688a6a51a9771737871bbd78f16aa46f">argument_type</a>;</div>
+<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;</div>
+<div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="structstd_1_1hash_3_01process_1_1UPID_01_4.html#acba5462de7c502b5a3eaef126242455d">  164</a></span>&#160;  <a class="code" href="structstd_1_1hash_3_01process_1_1UPID_01_4.html#abb909b81d5aa41e8b0a3f75ba6b703d9">result_type</a> <a class="code" href="structstd_1_1hash_3_01process_1_1UPID_01_4.html#acba5462de7c502b5a3eaef126242455d">operator()</a>(<span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">argument_type</a>&amp; upid)<span class="keyword"> const</span></div>
+<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;<span class="keyword">  </span>{</div>
+<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;    <span class="keywordtype">size_t</span> seed = 0;</div>
+<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;    boost::hash_combine(seed, upid.<a class="code" href="structprocess_1_1UPID.html#ae741ecedc15ad9dff2b7af1b5d8ff363">id</a>);</div>
+<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;    boost::hash_combine(seed, <a class="code" href="structstd_1_1hash_3_01net_1_1IP_01_4.html">std::hash&lt;net::IP&gt;</a>()(upid.<a class="code" href="structprocess_1_1UPID.html#a7fb5bd7cbc47a671abcdaab8209e87be">address</a>.<a class="code" href="classprocess_1_1network_1_1inet_1_1Address.html#a3e0a3cf87d1bcdfdeb68a82a8595b0fd">ip</a>));</div>
+<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;    boost::hash_combine(seed, upid.<a class="code" href="structprocess_1_1UPID.html#a7fb5bd7cbc47a671abcdaab8209e87be">address</a>.<a class="code" href="classprocess_1_1network_1_1inet_1_1Address.html#ae3e7e66a36596662847c5a36b114af15">port</a>);</div>
+<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;    <span class="keywordflow">return</span> seed;</div>
+<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;  }</div>
+<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;};</div>
+<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;</div>
+<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;} <span class="comment">// namespace std {</span></div>
+<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;</div>
+<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;<span class="preprocessor">#endif // __PROCESS_PID_HPP__</span></div>
+<div class="ttc" id="address_8hpp_html"><div class="ttname"><a href="address_8hpp.html">address.hpp</a></div></div>
+<div class="ttc" id="structprocess_1_1PID_html_ad0df0e6f513d10cb53117a493049d8e6"><div class="ttname"><a href="structprocess_1_1PID.html#ad0df0e6f513d10cb53117a493049d8e6">process::PID::PID</a></div><div class="ttdeci">PID(const T &amp;t)</div><div class="ttdef"><b>Definition:</b> pid.hpp:132</div></div>
+<div class="ttc" id="3rdparty_2stout_2include_2stout_2ip_8hpp_html"><div class="ttname"><a href="3rdparty_2stout_2include_2stout_2ip_8hpp.html">ip.hpp</a></div></div>
+<div class="ttc" id="structprocess_1_1UPID_html_ac98e2c3cd3ffc8a1cb42ca1c722023de"><div class="ttname"><a href="structprocess_1_1UPID.html#ac98e2c3cd3ffc8a1cb42ca1c722023de">process::UPID::operator!=</a></div><div class="ttdeci">bool operator!=(const UPID &amp;that) const </div><div class="ttdef"><b>Definition:</b> pid.hpp:90</div></div>
+<div class="ttc" id="structprocess_1_1UPID_html_a7fb5bd7cbc47a671abcdaab8209e87be"><div class="ttname"><a href="structprocess_1_1UPID.html#a7fb5bd7cbc47a671abcdaab8209e87be">process::UPID::address</a></div><div class="ttdeci">network::inet::Address address</div><div class="ttdef"><b>Definition:</b> pid.hpp:96</div></div>
+<div class="ttc" id="structstd_1_1hash_3_01net_1_1IP_01_4_html"><div class="ttname"><a href="structstd_1_1hash_3_01net_1_1IP_01_4.html">std::hash&lt; net::IP &gt;</a></div><div class="ttdef"><b>Definition:</b> ip.hpp:506</div></div>
+<div class="ttc" id="classprocess_1_1network_1_1inet_1_1Address_html_af905074dc95c77ecd8e8a4f8154a1ef6"><div class="ttname"><a href="classprocess_1_1network_1_1inet_1_1Address.html#af905074dc95c77ecd8e8a4f8154a1ef6">process::network::inet::Address::ANY_ANY</a></div><div class="ttdeci">static Address ANY_ANY()</div><div class="ttdef"><b>Definition:</b> address.hpp:165</div></div>
+<div class="ttc" id="structprocess_1_1UPID_html_aeff2ce84fdb57f453dc15958ad0c3eb2"><div class="ttname"><a href="structprocess_1_1UPID.html#aeff2ce84fdb57f453dc15958ad0c3eb2">process::UPID::UPID</a></div><div class="ttdeci">UPID(const UPID &amp;that)</div><div class="ttdef"><b>Definition:</b> pid.hpp:43</div></div>
+<div class="ttc" id="classnet_1_1IP_html_adef252cbd8b3cb3ddae4b1aea4ce04c1"><div class="ttname"><a href="classnet_1_1IP.html#adef252cbd8b3cb3ddae4b1aea4ce04c1">net::IP::isAny</a></div><div class="ttdeci">bool isAny() const </div><div class="ttdef"><b>Definition:</b> ip.hpp:135</div></div>
+<div class="ttc" id="classprocess_1_1ProcessBase_html"><div class="ttname"><a href="classprocess_1_1ProcessBase.html">process::ProcessBase</a></div><div class="ttdef"><b>Definition:</b> process.hpp:69</div></div>
+<div class="ttc" id="structprocess_1_1UPID_html_ae741ecedc15ad9dff2b7af1b5d8ff363"><div class="ttname"><a href="structprocess_1_1UPID.html#ae741ecedc15ad9dff2b7af1b5d8ff363">process::UPID::id</a></div><div class="ttdeci">std::string id</div><div class="ttdef"><b>Definition:</b> pid.hpp:95</div></div>
+<div class="ttc" id="namespaceprocess_html_a373bd5e2bd8f2694e4589293af477854"><div class="ttname"><a href="namespaceprocess.html#a373bd5e2bd8f2694e4589293af477854">process::base</a></div><div class="ttdeci">event_base * base</div></div>
+<div class="ttc" id="structprocess_1_1UPID_html_a5c24f78ba70b45184c55f8b121cdecf8"><div class="ttname"><a href="structprocess_1_1UPID.html#a5c24f78ba70b45184c55f8b121cdecf8">process::UPID::UPID</a></div><div class="ttdeci">UPID(const char *id_, const net::IP &amp;ip_, uint16_t port_)</div><div class="ttdef"><b>Definition:</b> pid.hpp:46</div></div>
+<div class="ttc" id="structprocess_1_1UPID_html_a9b45a93b35f945bf1ab99fe188ed348e"><div class="ttname"><a href="structprocess_1_1UPID.html#a9b45a93b35f945bf1ab99fe188ed348e">process::UPID::UPID</a></div><div class="ttdeci">UPID(const char *id_, const network::inet::Address &amp;address_)</div><div class="ttdef"><b>Definition:</b> pid.hpp:49</div></div>
+<div class="ttc" id="classnet_1_1IP_html"><div class="ttname"><a href="classnet_1_1IP.html">net::IP</a></div><div class="ttdef"><b>Definition:</b> ip.hpp:73</div></div>
+<div class="ttc" id="structprocess_1_1UPID_html_ac6f524d3372f4a8c25a89d87e6cae9b0"><div class="ttname"><a href="structprocess_1_1UPID.html#ac6f524d3372f4a8c25a89d87e6cae9b0">process::UPID::operator&lt;</a></div><div class="ttdeci">bool operator&lt;(const UPID &amp;that) const </div><div class="ttdef"><b>Definition:</b> pid.hpp:76</div></div>
+<div class="ttc" id="namespaceprocess_html_a57a041df6d38d9628efc0d9746e5d48b"><div class="ttname"><a href="namespaceprocess.html#a57a041df6d38d9628efc0d9746e5d48b">process::operator&lt;&lt;</a></div><div class="ttdeci">std::ostream &amp; operator&lt;&lt;(std::ostream &amp;, const UPID &amp;)</div></div>
+<div class="ttc" id="structprocess_1_1UPID_html"><div class="ttname"><a href="structprocess_1_1UPID.html">process::UPID</a></div><div class="ttdoc">An &amp;quot;untyped&amp;quot; PID, used to encapsulate the process ID for lower-layer abstractions (eg...</div><div class="ttdef"><b>Definition:</b> pid.hpp:39</div></div>
+<div class="ttc" id="structstd_1_1hash_3_01process_1_1UPID_01_4_html_acba5462de7c502b5a3eaef126242455d"><div class="ttname"><a href="structstd_1_1hash_3_01process_1_1UPID_01_4.html#acba5462de7c502b5a3eaef126242455d">std::hash&lt; process::UPID &gt;::operator()</a></div><div class="ttdeci">result_type operator()(const argument_type &amp;upid) const </div><div class="ttdef"><b>Definition:</b> pid.hpp:164</div></div>
+<div class="ttc" id="structprocess_1_1UPID_html_a1ad0ca205d7c6e95652c1ca35c80b41f"><div class="ttname"><a href="structprocess_1_1UPID.html#a1ad0ca205d7c6e95652c1ca35c80b41f">process::UPID::operator==</a></div><div class="ttdeci">bool operator==(const UPID &amp;that) const </div><div class="ttdef"><b>Definition:</b> pid.hpp:85</div></div>
+<div class="ttc" id="classprocess_1_1network_1_1inet_1_1Address_html_ae3e7e66a36596662847c5a36b114af15"><div class="ttname"><a href="classprocess_1_1network_1_1inet_1_1Address.html#ae3e7e66a36596662847c5a36b114af15">process::network::inet::Address::port</a></div><div class="ttdeci">uint16_t port</div><div class="ttdef"><b>Definition:</b> address.hpp:232</div></div>
+<div class="ttc" id="classprocess_1_1network_1_1inet_1_1Address_html"><div class="ttname"><a href="classprocess_1_1network_1_1inet_1_1Address.html">process::network::inet::Address</a></div><div class="ttdef"><b>Definition:</b> address.hpp:154</div></div>
+<div class="ttc" id="namespaceos_html_ae19e4161a51b86a1f330f3bf1dc75389"><div class="ttname"><a href="namespaceos.html#ae19e4161a51b86a1f330f3bf1dc75389">os::process</a></div><div class="ttdeci">Result&lt; Process &gt; process(pid_t pid)</div><div class="ttdef"><b>Definition:</b> freebsd.hpp:30</div></div>
+<div class="ttc" id="structprocess_1_1PID_html"><div class="ttname"><a href="structprocess_1_1PID.html">process::PID</a></div><div class="ttdoc">A &amp;quot;process identifier&amp;quot; used to uniquely identify a process when dispatching messages. </div><div class="ttdef"><b>Definition:</b> pid.hpp:127</div></div>
+<div class="ttc" id="structprocess_1_1UPID_html_a4602556bdfca9709ab64989da89ad3b6"><div class="ttname"><a href="structprocess_1_1UPID.html#a4602556bdfca9709ab64989da89ad3b6">process::UPID::operator!</a></div><div class="ttdeci">bool operator!() const </div><div class="ttdef"><b>Definition:</b> pid.hpp:71</div></div>
+<div class="ttc" id="structprocess_1_1UPID_html_aa1520297327feb8d59f2129f838a543a"><div class="ttname"><a href="structprocess_1_1UPID.html#aa1520297327feb8d59f2129f838a543a">process::UPID::UPID</a></div><div class="ttdeci">UPID(const std::string &amp;id_, const network::inet::Address &amp;address_)</div><div class="ttdef"><b>Definition:</b> pid.hpp:55</div></div>
+<div class="ttc" id="structprocess_1_1PID_html_a13236e13ff77be6c9ace62398ca6a5e9"><div class="ttname"><a href="structprocess_1_1PID.html#a13236e13ff77be6c9ace62398ca6a5e9">process::PID::PID</a></div><div class="ttdeci">PID(const T *t)</div><div class="ttdef"><b>Definition:</b> pid.hpp:131</div></div>
+<div class="ttc" id="structprocess_1_1UPID_html_aa29e722907276ba057b3ef7f1b09cff6"><div class="ttname"><a href="structprocess_1_1UPID.html#aa29e722907276ba057b3ef7f1b09cff6">process::UPID::UPID</a></div><div class="ttdeci">UPID()=default</div></div>
+<div class="ttc" id="structprocess_1_1UPID_html_a2a55b35a51896f4ebd37f8544988d8be"><div class="ttname"><a href="structprocess_1_1UPID.html#a2a55b35a51896f4ebd37f8544988d8be">process::UPID::UPID</a></div><div class="ttdeci">UPID(const std::string &amp;id_, const net::IP &amp;ip_, uint16_t port_)</div><div class="ttdef"><b>Definition:</b> pid.hpp:52</div></div>
+<div class="ttc" id="namespaceprocess_html_a54c84b494905a04c7329602874020ad2"><div class="ttname"><a href="namespaceprocess.html#a54c84b494905a04c7329602874020ad2">process::operator&gt;&gt;</a></div><div class="ttdeci">std::istream &amp; operator&gt;&gt;(std::istream &amp;, UPID &amp;)</div></div>
+<div class="ttc" id="classprocess_1_1network_1_1inet_1_1Address_html_a3e0a3cf87d1bcdfdeb68a82a8595b0fd"><div class="ttname"><a href="classprocess_1_1network_1_1inet_1_1Address.html#a3e0a3cf87d1bcdfdeb68a82a8595b0fd">process::network::inet::Address::ip</a></div><div class="ttdeci">net::IP ip</div><div class="ttdef"><b>Definition:</b> address.hpp:231</div></div>
+<div class="ttc" id="structstd_1_1hash_3_01process_1_1UPID_01_4_html_a688a6a51a9771737871bbd78f16aa46f"><div class="ttname"><a href="structstd_1_1hash_3_01process_1_1UPID_01_4.html#a688a6a51a9771737871bbd78f16aa46f">std::hash&lt; process::UPID &gt;::argument_type</a></div><div class="ttdeci">process::UPID argument_type</div><div class="ttdef"><b>Definition:</b> pid.hpp:162</div></div>
+<div class="ttc" id="structprocess_1_1PID_html_a3da5156d26f761f17d0d82f44055bc7e"><div class="ttname"><a href="structprocess_1_1PID.html#a3da5156d26f761f17d0d82f44055bc7e">process::PID::PID</a></div><div class="ttdeci">PID()</div><div class="ttdef"><b>Definition:</b> pid.hpp:129</div></div>
+<div class="ttc" id="structstd_1_1hash_3_01process_1_1UPID_01_4_html_abb909b81d5aa41e8b0a3f75ba6b703d9"><div class="ttname"><a href="structstd_1_1hash_3_01process_1_1UPID_01_4.html#abb909b81d5aa41e8b0a3f75ba6b703d9">std::hash&lt; process::UPID &gt;::result_type</a></div><div class="ttdeci">size_t result_type</div><div class="ttdef"><b>Definition:</b> pid.hpp:160</div></div>
+</div><!-- fragment --></div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by &#160;<a href="http://www.doxygen.org/index.html">
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.5
+</small></address>
+</body>
+</html>