You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by gi...@apache.org on 2018/06/14 14:36:30 UTC
[01/10] mesos-site git commit: Updated the website built from mesos
SHA: 4189657.
Repository: mesos-site
Updated Branches:
refs/heads/asf-site 166f7d4d1 -> 63adc76a1
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/system_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/system_8hpp_source.html b/content/api/latest/c++/system_8hpp_source.html
index c04f4cf..d9a6009 100644
--- a/content/api/latest/c++/system_8hpp_source.html
+++ b/content/api/latest/c++/system_8hpp_source.html
@@ -55,7 +55,7 @@
<a href="system_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> <span class="comment">// Licensed under the Apache License, Version 2.0 (the "License");</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <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> <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> <span class="comment">//</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <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> <span class="comment">//</sp
an></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <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> <span class="comment">// distributed under the License is distributed on an "AS IS" BASIS,</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <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> <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> <span class="comment">// limitations under the License</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> </div><div class="li
ne"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#ifndef __PROCESS_SYSTEM_HPP__</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#define __PROCESS_SYSTEM_HPP__</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include <<a class="code" href="future_8hpp.html">process/future.hpp</a>></span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include <<a class="code" href="help_8hpp.html">process/help.hpp</a>></span></div><div class="line
"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <<a class="code" href="3rdparty_2libprocess_2include_2process_2http_8hpp.html">process/http.hpp</a>></span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include <<a class="code" href="libprocess_2include_2process_2process_8hpp.html">process/process.hpp</a>></span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <<a class="code" href="pull__gauge_8hpp.html">process/metrics/pull_gauge.hpp</a>></span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <<a class="code" href="3rdparty_2libprocess_2include_2process_2metrics_2metrics_8hpp.html">process/metrics/metrics.hpp</a>></span></d
iv><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <<a class="code" href="os_8hpp.html">stout/os.hpp</a>></span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="keyword">namespace </span><a class="code" href="namespaceprocess.html">process</a> {</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment">// The System process provides HTTP endpoints for retrieving system metrics,</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="comment">// such as CPU load and memory usage. This is started by default during the</span></d
iv><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="comment">// initialization of libprocess.</span></div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="classprocess_1_1System.html"> 33</a></span> <span class="keyword">class </span><a class="code" href="classprocess_1_1System.html">System</a> : <span class="keyword">public</span> <a class="code" href="classprocess_1_1Process.html">Process</a><System></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> {</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="classprocess_1_1System.html#ace32519ce64ed719c6a56e5d3f8cce8d"> 36</a></span>  <a class="code" href="classprocess_1_1System.html#ace32519ce64ed719c6a56e5d3f8cce8d">System</a>()</div><div class="line"><a
name="l00037"></a><span class="lineno"> 37</span>  : <a class="code" href="classprocess_1_1ProcessBase.html">ProcessBase</a>(<span class="stringliteral">"system"</span>),</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  load_1min(</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <a class="code" href="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e">self</a>().<a class="code" href="namespaceid.html">id</a> + <span class="stringliteral">"/load_1min"</span>,</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <a class="code" href="namespaceprocess.html#a8b27a2ef76eb133bf0ce7a5eea4fb77c">defer</a>(<a class="code" href="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e">self</a>(), &<a class="code" href="classprocess_1_1System.html">System</a>::_load_1min)),</div><div class="line"><a name="l00041"></a><s
pan class="lineno"> 41</span>  load_5min(</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <a class="code" href="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e">self</a>().<a class="code" href="namespaceid.html">id</a> + <span class="stringliteral">"/load_5min"</span>,</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <a class="code" href="namespaceprocess.html#a8b27a2ef76eb133bf0ce7a5eea4fb77c">defer</a>(<a class="code" href="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e">self</a>(), &<a class="code" href="classprocess_1_1System.html">System</a>::_load_5min)),</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  load_15min(</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <a class="code" href="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e">sel
f</a>().<a class="code" href="namespaceid.html">id</a> + <span class="stringliteral">"/load_15min"</span>,</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <a class="code" href="namespaceprocess.html#a8b27a2ef76eb133bf0ce7a5eea4fb77c">defer</a>(<a class="code" href="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e">self</a>(), &<a class="code" href="classprocess_1_1System.html">System</a>::_load_15min)),</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  cpus_total(</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <a class="code" href="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e">self</a>().<a class="code" href="namespaceid.html">id</a> + <span class="stringliteral">"/cpus_total"</span>,</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <a class="code" href="na
mespaceprocess.html#a8b27a2ef76eb133bf0ce7a5eea4fb77c">defer</a>(<a class="code" href="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e">self</a>(), &<a class="code" href="classprocess_1_1System.html">System</a>::_cpus_total)),</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  mem_total_bytes(</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <a class="code" href="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e">self</a>().<a class="code" href="namespaceid.html">id</a> + <span class="stringliteral">"/mem_total_bytes"</span>,</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <a class="code" href="namespaceprocess.html#a8b27a2ef76eb133bf0ce7a5eea4fb77c">defer</a>(<a class="code" href="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e">self</a>(), &<a class="code" href="classprocess_1_1System.html">Syste
m</a>::_mem_total_bytes)),</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  mem_free_bytes(</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <a class="code" href="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e">self</a>().<a class="code" href="namespaceid.html">id</a> + <span class="stringliteral">"/mem_free_bytes"</span>,</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <a class="code" href="namespaceprocess.html#a8b27a2ef76eb133bf0ce7a5eea4fb77c">defer</a>(<a class="code" href="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e">self</a>(), &<a class="code" href="classprocess_1_1System.html">System</a>::_mem_free_bytes)) {}</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> </div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="classprocess_1_1System
.html#aa53ed4afab23cf31a06ca813b0bffb4f"> 57</a></span>  <span class="keyword">virtual</span> <a class="code" href="classprocess_1_1System.html#aa53ed4afab23cf31a06ca813b0bffb4f">~System</a>() {}</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> </div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="keyword">protected</span>:</div><div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="classprocess_1_1System.html#a5cfa4acb240377af06c74eca269df423"> 60</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classprocess_1_1System.html#a5cfa4acb240377af06c74eca269df423">initialize</a>()</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  {</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="comment">// TODO(dhamon): Check return values.</
span></div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <a class="code" href="namespaceprocess_1_1metrics.html#a15af50f3f4dbcca2f7c619ccfbaa70b2">metrics::add</a>(load_1min);</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <a class="code" href="namespaceprocess_1_1metrics.html#a15af50f3f4dbcca2f7c619ccfbaa70b2">metrics::add</a>(load_5min);</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <a class="code" href="namespaceprocess_1_1metrics.html#a15af50f3f4dbcca2f7c619ccfbaa70b2">metrics::add</a>(load_15min);</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <a class="code" href="namespaceprocess_1_1metrics.html#a15af50f3f4dbcca2f7c619ccfbaa70b2">metrics::add</a>(cpus_total);</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <a class="code" href="namespaceprocess_1_1metrics.html#a15af50f3f4dbcca2f7c619
ccfbaa70b2">metrics::add</a>(mem_total_bytes);</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <a class="code" href="namespaceprocess_1_1metrics.html#a15af50f3f4dbcca2f7c619ccfbaa70b2">metrics::add</a>(mem_free_bytes);</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span> </div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <a class="code" href="classprocess_1_1ProcessBase.html#af0d1a6f8da798dfb2b6ea92550b8c6f5">route</a>(<span class="stringliteral">"/stats.json"</span>, statsHelp(), &System::stats);</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  }</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span> </div><div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="classprocess_1_1System.html#ac64aa6bb6638963782932ebfc140c952"> 73</a></span>  <span class="keyword">virtual
</span> <span class="keywordtype">void</span> <a class="code" href="classprocess_1_1System.html#ac64aa6bb6638963782932ebfc140c952">finalize</a>()</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  {</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <a class="code" href="namespaceprocess_1_1metrics.html#ad561ce447753dc2edad5d52a8776a141">metrics::remove</a>(load_1min);</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <a class="code" href="namespaceprocess_1_1metrics.html#ad561ce447753dc2edad5d52a8776a141">metrics::remove</a>(load_5min);</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <a class="code" href="namespaceprocess_1_1metrics.html#ad561ce447753dc2edad5d52a8776a141">metrics::remove</a>(load_15min);</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <a class="code" href="namespaceprocess_1_1metrics
.html#ad561ce447753dc2edad5d52a8776a141">metrics::remove</a>(cpus_total);</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <a class="code" href="namespaceprocess_1_1metrics.html#ad561ce447753dc2edad5d52a8776a141">metrics::remove</a>(mem_total_bytes);</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <a class="code" href="namespaceprocess_1_1metrics.html#ad561ce447753dc2edad5d52a8776a141">metrics::remove</a>(mem_free_bytes);</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  }</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> </div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keyword">static</span> std::string statsHelp()</div><div class="line"><a name="l00085"></a><span class="
lineno"> 85</span>  {</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceprocess.html#a61f0548459d8e5a950dd91cfc2bd4aa7">HELP</a>(</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <a class="code" href="namespaceprocess.html#a1455e1604a68bfe45564ec63c34a9653">TLDR</a>(</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="stringliteral">"Shows local system metrics."</span>),</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <a class="code" href="namespaceprocess.html#ac77710abb3ca0716be1856035c78cb89">DESCRIPTION</a>(</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="stringliteral">"> cpus_total Total number of available CPUs"</span>,</div><div clas
s="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="stringliteral">"> load_1min Average system load for last"</span></div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="stringliteral">" minute in uptime(1) style"</span>,</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="stringliteral">"> load_5min Average system load for last"</span></div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="stringliteral">" 5 minutes in uptime(1) style"</span>,</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="stringliteral">"> load_15min Average system load for last"</span></div><div class="line"><a name="l00096"></a><span class="lineno"> 9
6</span>  <span class="stringliteral">" 15 minutes in uptime(1) style"</span>,</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="stringliteral">"> memory_total_bytes Total system memory in bytes"</span>,</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="stringliteral">"> memory_free_bytes Free system memory in bytes"</span>));</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  }</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span> </div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="comment">// Gauge handlers.</span></div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <a class="code" href="classprocess_1_1Future.html">Future<double></a> _load_1min()</div><div c
lass="line"><a name="l00103"></a><span class="lineno"> 103</span>  {</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <a class="code" href="classTry.html">Try<os::Load></a> load = <a class="code" href="namespaceos.html#ad932e3876b339c61b03abc575ad3943b">os::loadavg</a>();</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="keywordflow">if</span> (load.<a class="code" href="classTry.html#a6543d7d5db4f298bcd673bf3cd509acc">isSome</a>()) {</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="keywordflow">return</span> load-><a class="code" href="structos_1_1Load.html#ac65d8819bbf8201cfa6975d853061e93">one</a>;</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  }</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keywordflow">return</span> <a class="code"
href="structprocess_1_1Failure.html">Failure</a>(<span class="stringliteral">"Failed to get loadavg: "</span> + load.<a class="code" href="classTry.html#aec4a11ddd3c036e889d90b7eb6258ba7">error</a>());</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  }</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span> </div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span> </div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <a class="code" href="classprocess_1_1Future.html">Future<double></a> _load_5min()</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  {</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <a class="code" href="classTry.html">Try<os::Load></a> load = <a class="code" href="namespaceos.html#ad932e3876b339c61b03abc575ad3943b">os::loadavg</a>();</div><div class="lin
e"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="keywordflow">if</span> (load.<a class="code" href="classTry.html#a6543d7d5db4f298bcd673bf3cd509acc">isSome</a>()) {</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="keywordflow">return</span> load-><a class="code" href="structos_1_1Load.html#acff27912cf063f465aaf72fbda6ad3a7">five</a>;</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  }</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keywordflow">return</span> <a class="code" href="structprocess_1_1Failure.html">Failure</a>(<span class="stringliteral">"Failed to get loadavg: "</span> + load.<a class="code" href="classTry.html#aec4a11ddd3c036e889d90b7eb6258ba7">error</a>());</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  }</div><div class="line"><a name="l00120"></a
><span class="lineno"> 120</span> </div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span> </div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <a class="code" href="classprocess_1_1Future.html">Future<double></a> _load_15min()</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  {</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <a class="code" href="classTry.html">Try<os::Load></a> load = <a class="code" href="namespaceos.html#ad932e3876b339c61b03abc575ad3943b">os::loadavg</a>();</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keywordflow">if</span> (load.<a class="code" href="classTry.html#a6543d7d5db4f298bcd673bf3cd509acc">isSome</a>()) {</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="keywordflow">return</span> load-><a class
="code" href="structos_1_1Load.html#ac4a959c47204e8cd9e67930ac6b9bb63">fifteen</a>;</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  }</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="keywordflow">return</span> <a class="code" href="structprocess_1_1Failure.html">Failure</a>(<span class="stringliteral">"Failed to get loadavg: "</span> + load.<a class="code" href="classTry.html#aec4a11ddd3c036e889d90b7eb6258ba7">error</a>());</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  }</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span> </div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span> </div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <a class="code" href="classprocess_1_1Future.html">Future<double></a> _cpus_total()</div><div class="line"><a name="l00133"
></a><span class="lineno"> 133</span>  {</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <a class="code" href="classTry.html">Try<long></a> <a class="code" href="namespaceos.html#afd08813156fea899c86b340d9767a8cd">cpus</a> = <a class="code" href="namespaceos.html#afd08813156fea899c86b340d9767a8cd">os::cpus</a>();</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="keywordflow">if</span> (cpus.<a class="code" href="classTry.html#a6543d7d5db4f298bcd673bf3cd509acc">isSome</a>()) {</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="keywordflow">return</span> cpus.<a class="code" href="classTry.html#a8bc7f43e75a47111ea18e9c83b007be5">get</a>();</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  }</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <span class="keywordfl
ow">return</span> <a class="code" href="structprocess_1_1Failure.html">Failure</a>(<span class="stringliteral">"Failed to get cpus: "</span> + cpus.<a class="code" href="classTry.html#aec4a11ddd3c036e889d90b7eb6258ba7">error</a>());</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  }</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span> </div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span> </div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <a class="code" href="classprocess_1_1Future.html">Future<double></a> _mem_total_bytes()</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  {</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <a class="code" href="classTry.html">Try<os::Memory></a> <a class="code" href="namespaceos.html#a23a7b8f4b4c145ad212381e89d4b6dc4">memory</
a> = <a class="code" href="namespaceos.html#a23a7b8f4b4c145ad212381e89d4b6dc4">os::memory</a>();</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keywordflow">if</span> (memory.<a class="code" href="classTry.html#a6543d7d5db4f298bcd673bf3cd509acc">isSome</a>()) {</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="keywordflow">return</span> <span class="keyword">static_cast<</span><span class="keywordtype">double</span><span class="keyword">></span>(memory-><a class="code" href="structos_1_1Memory.html#a3670204f7fb13a96ca0e278f49b91282">total</a>.<a class="code" href="classBytes.html#a1a2e9277ebe7d227a21f111898c49a8c">bytes</a>());</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  }</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <span class="keywordflow">return</span> <a class="code" href="structpro
cess_1_1Failure.html">Failure</a>(<span class="stringliteral">"Failed to get memory: "</span> + memory.<a class="code" href="classTry.html#aec4a11ddd3c036e889d90b7eb6258ba7">error</a>());</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  }</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span> </div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span> </div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <a class="code" href="classprocess_1_1Future.html">Future<double></a> _mem_free_bytes()</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  {</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <a class="code" href="classTry.html">Try<os::Memory></a> <a class="code" href="namespaceos.html#a23a7b8f4b4c145ad212381e89d4b6dc4">memory</a> = <a class="code" href="namespaceos.html#a2
3a7b8f4b4c145ad212381e89d4b6dc4">os::memory</a>();</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  <span class="keywordflow">if</span> (memory.<a class="code" href="classTry.html#a6543d7d5db4f298bcd673bf3cd509acc">isSome</a>()) {</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <span class="keywordflow">return</span> <span class="keyword">static_cast<</span><span class="keywordtype">double</span><span class="keyword">></span>(memory-><a class="code" href="structos_1_1Memory.html#ab447e8e30892e0d5f0e3a976e6d80cde">free</a>.<a class="code" href="classBytes.html#a1a2e9277ebe7d227a21f111898c49a8c">bytes</a>());</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  }</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <span class="keywordflow">return</span> <a class="code" href="structprocess_1_1Failure.html">Failure</a>(<span class="
stringliteral">"Failed to get memory: "</span> + memory.<a class="code" href="classTry.html#aec4a11ddd3c036e889d90b7eb6258ba7">error</a>());</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  }</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span> </div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <span class="comment">// HTTP endpoints.</span></div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <a class="code" href="classprocess_1_1Future.html">Future<http::Response></a> stats(<span class="keyword">const</span> <a class="code" href="structprocess_1_1http_1_1Request.html">http::Request</a>& <a class="code" href="namespaceprocess_1_1http.html#ad8f400b5e54038df7e5662ec35da05fa">request</a>)</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  {</div><div class="line"><a name="l00164"></a><span class="line
no"> 164</span>  <a class="code" href="structJSON_1_1Object.html">JSON::Object</a> object;</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  <a class="code" href="classTry.html">Try<os::Load></a> load = <a class="code" href="namespaceos.html#ad932e3876b339c61b03abc575ad3943b">os::loadavg</a>();</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <span class="keywordflow">if</span> (load.<a class="code" href="classTry.html#a6543d7d5db4f298bcd673bf3cd509acc">isSome</a>()) {</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <span class="keywordtype">object</span>.values[<span class="stringliteral">"avg_load_1min"</span>] = load-><a class="code" href="structos_1_1Load.html#ac65d8819bbf8201cfa6975d853061e93">one</a>;</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <span class="keywordtype">object</span>.values[
<span class="stringliteral">"avg_load_5min"</span>] = load-><a class="code" href="structos_1_1Load.html#acff27912cf063f465aaf72fbda6ad3a7">five</a>;</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <span class="keywordtype">object</span>.values[<span class="stringliteral">"avg_load_15min"</span>] = load-><a class="code" href="structos_1_1Load.html#ac4a959c47204e8cd9e67930ac6b9bb63">fifteen</a>;</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  }</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span> </div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <a class="code" href="classTry.html">Try<long></a> <a class="code" href="namespaceos.html#afd08813156fea899c86b340d9767a8cd">cpus</a> = <a class="code" href="namespaceos.html#afd08813156fea899c86b340d9767a8cd">os::cpus</a>();</div><div class="line"><a name="l00173"><
/a><span class="lineno"> 173</span>  <span class="keywordflow">if</span> (cpus.<a class="code" href="classTry.html#a6543d7d5db4f298bcd673bf3cd509acc">isSome</a>()) {</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <span class="keywordtype">object</span>.values[<span class="stringliteral">"cpus_total"</span>] = cpus.<a class="code" href="classTry.html#a8bc7f43e75a47111ea18e9c83b007be5">get</a>();</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  }</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span> </div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <a class="code" href="classTry.html">Try<os::Memory></a> <a class="code" href="namespaceos.html#a23a7b8f4b4c145ad212381e89d4b6dc4">memory</a> = <a class="code" href="namespaceos.html#a23a7b8f4b4c145ad212381e89d4b6dc4">os::memory</a>();</div><div class="line"><a name="l001
78"></a><span class="lineno"> 178</span>  <span class="keywordflow">if</span> (memory.<a class="code" href="classTry.html#a6543d7d5db4f298bcd673bf3cd509acc">isSome</a>()) {</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <span class="keywordtype">object</span>.values[<span class="stringliteral">"mem_total_bytes"</span>] = memory-><a class="code" href="structos_1_1Memory.html#a3670204f7fb13a96ca0e278f49b91282">total</a>.<a class="code" href="classBytes.html#a1a2e9277ebe7d227a21f111898c49a8c">bytes</a>();</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <span class="keywordtype">object</span>.values[<span class="stringliteral">"mem_free_bytes"</span>] = memory-><a class="code" href="structos_1_1Memory.html#ab447e8e30892e0d5f0e3a976e6d80cde">free</a>.<a class="code" href="classBytes.html#a1a2e9277ebe7d227a21f111898c49a8c">bytes</a>();</div><div class="line"><a name="l0018
1"></a><span class="lineno"> 181</span>  }</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span> </div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <span class="keywordflow">return</span> <a class="code" href="structprocess_1_1http_1_1OK.html">http::OK</a>(<span class="keywordtype">object</span>, request.<a class="code" href="structprocess_1_1http_1_1Request.html#aba3024fe3e1028d19f5fb4e92519cb56">url</a>.<a class="code" href="structprocess_1_1http_1_1URL.html#af2d0454d281cfe79f382c0dbc91bc251">query</a>.<a class="code" href="classhashmap.html#a41f14039c11b5a1ab6c81add74192c9a">get</a>(<span class="stringliteral">"jsonp"</span>));</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  }</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span> </div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  <a class="code" h
ref="classprocess_1_1metrics_1_1PullGauge.html">metrics::PullGauge</a> load_1min;</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  <a class="code" href="classprocess_1_1metrics_1_1PullGauge.html">metrics::PullGauge</a> load_5min;</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <a class="code" href="classprocess_1_1metrics_1_1PullGauge.html">metrics::PullGauge</a> load_15min;</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span> </div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  <a class="code" href="classprocess_1_1metrics_1_1PullGauge.html">metrics::PullGauge</a> cpus_total;</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span> </div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <a class="code" href="classprocess_1_1metrics_1_1PullGauge.html">metrics::PullGauge</a> mem_total_bytes;</di
v><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  <a class="code" href="classprocess_1_1metrics_1_1PullGauge.html">metrics::PullGauge</a> mem_free_bytes;</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span> };</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span> </div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span> } <span class="comment">// namespace process {</span></div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span> </div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span> <span class="preprocessor">#endif // __PROCESS_SYSTEM_HPP__</span></div><div class="ttc" id="classprocess_1_1System_html"><div class="ttname"><a href="classprocess_1_1System.html">process::System</a></div><div class="ttdef"><b>Definition:</b> system.hpp:33</div></div>
<div class="ttc" id="namespaceprocess_1_1http_html_ad8f400b5e54038df7e5662ec35da05fa"><div class="ttname"><a href="namespaceprocess_1_1http.html#ad8f400b5e54038df7e5662ec35da05fa">process::http::request</a></div><div class="ttdeci">Future< Response > request(const Request &request, bool streamedResponse=false)</div><div class="ttdoc">Asynchronously sends an HTTP request to the process and returns the HTTP response once the entire res...</div></div>
<div class="ttc" id="classTry_html_a8bc7f43e75a47111ea18e9c83b007be5"><div class="ttname"><a href="classTry.html#a8bc7f43e75a47111ea18e9c83b007be5">Try::get</a></div><div class="ttdeci">T & get()&</div><div class="ttdef"><b>Definition:</b> try.hpp:73</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Request_html_aba3024fe3e1028d19f5fb4e92519cb56"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html#aba3024fe3e1028d19f5fb4e92519cb56">process::http::Request::url</a></div><div class="ttdeci">URL url</div><div class="ttdef"><b>Definition:</b> http.hpp:529</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Request_html_aba3024fe3e1028d19f5fb4e92519cb56"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html#aba3024fe3e1028d19f5fb4e92519cb56">process::http::Request::url</a></div><div class="ttdeci">URL url</div><div class="ttdef"><b>Definition:</b> http.hpp:528</div></div>
<div class="ttc" id="namespaceprocess_1_1metrics_html_ad561ce447753dc2edad5d52a8776a141"><div class="ttname"><a href="namespaceprocess_1_1metrics.html#ad561ce447753dc2edad5d52a8776a141">process::metrics::remove</a></div><div class="ttdeci">Future< Nothing > remove(const Metric &metric)</div><div class="ttdef"><b>Definition:</b> metrics.hpp:109</div></div>
<div class="ttc" id="classTry_html"><div class="ttname"><a href="classTry.html">Try</a></div><div class="ttdef"><b>Definition:</b> check.hpp:33</div></div>
<div class="ttc" id="3rdparty_2libprocess_2include_2process_2metrics_2metrics_8hpp_html"><div class="ttname"><a href="3rdparty_2libprocess_2include_2process_2metrics_2metrics_8hpp.html">metrics.hpp</a></div></div>
@@ -66,9 +66,9 @@
<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:72</div></div>
<div class="ttc" id="classprocess_1_1ProcessBase_html_af0d1a6f8da798dfb2b6ea92550b8c6f5"><div class="ttname"><a href="classprocess_1_1ProcessBase.html#af0d1a6f8da798dfb2b6ea92550b8c6f5">process::ProcessBase::route</a></div><div class="ttdeci">void route(const std::string &name, const Option< std::string > &help, const HttpRequestHandler &handler, const RouteOptions &options=RouteOptions())</div><div class="ttdoc">Sets up a handler for HTTP requests with the specified name. </div></div>
<div class="ttc" id="namespaceprocess_1_1metrics_html_a15af50f3f4dbcca2f7c619ccfbaa70b2"><div class="ttname"><a href="namespaceprocess_1_1metrics.html#a15af50f3f4dbcca2f7c619ccfbaa70b2">process::metrics::add</a></div><div class="ttdeci">Future< Nothing > add(const T &metric)</div><div class="ttdef"><b>Definition:</b> metrics.hpp:95</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:518</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:517</div></div>
<div class="ttc" id="structJSON_1_1Object_html"><div class="ttname"><a href="structJSON_1_1Object.html">JSON::Object</a></div><div class="ttdef"><b>Definition:</b> json.hpp:154</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1URL_html_af2d0454d281cfe79f382c0dbc91bc251"><div class="ttname"><a href="structprocess_1_1http_1_1URL.html#af2d0454d281cfe79f382c0dbc91bc251">process::http::URL::query</a></div><div class="ttdeci">hashmap< std::string, std::string > query</div><div class="ttdef"><b>Definition:</b> http.hpp:176</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1URL_html_af2d0454d281cfe79f382c0dbc91bc251"><div class="ttname"><a href="structprocess_1_1http_1_1URL.html#af2d0454d281cfe79f382c0dbc91bc251">process::http::URL::query</a></div><div class="ttdeci">hashmap< std::string, std::string > query</div><div class="ttdef"><b>Definition:</b> http.hpp:175</div></div>
<div class="ttc" id="namespaceos_html_ad932e3876b339c61b03abc575ad3943b"><div class="ttname"><a href="namespaceos.html#ad932e3876b339c61b03abc575ad3943b">os::loadavg</a></div><div class="ttdeci">Try< Load > loadavg()</div><div class="ttdef"><b>Definition:</b> os.hpp:301</div></div>
<div class="ttc" id="classprocess_1_1metrics_1_1PullGauge_html"><div class="ttname"><a href="classprocess_1_1metrics_1_1PullGauge.html">process::metrics::PullGauge</a></div><div class="ttdef"><b>Definition:</b> pull_gauge.hpp:46</div></div>
<div class="ttc" id="namespaceprocess_html_a1455e1604a68bfe45564ec63c34a9653"><div class="ttname"><a href="namespaceprocess.html#a1455e1604a68bfe45564ec63c34a9653">process::TLDR</a></div><div class="ttdeci">std::string TLDR(const std::string &tldr)</div><div class="ttdef"><b>Definition:</b> help.hpp:69</div></div>
@@ -86,7 +86,7 @@
<div class="ttc" id="namespaceprocess_html"><div class="ttname"><a href="namespaceprocess.html">process</a></div><div class="ttdef"><b>Definition:</b> executor.hpp:47</div></div>
<div class="ttc" id="classBytes_html_a1a2e9277ebe7d227a21f111898c49a8c"><div class="ttname"><a href="classBytes.html#a1a2e9277ebe7d227a21f111898c49a8c">Bytes::bytes</a></div><div class="ttdeci">uint64_t bytes() const </div><div class="ttdef"><b>Definition:</b> bytes.hpp:79</div></div>
<div class="ttc" id="classprocess_1_1Process_html_abef2d54388c5262af19b057b1a6eee8e"><div class="ttname"><a href="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e">process::Process< System >::self</a></div><div class="ttdeci">PID< System > self() const</div><div class="ttdoc">Returns the PID of the process. </div><div class="ttdef"><b>Definition:</b> process.hpp:510</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1OK_html"><div class="ttname"><a href="structprocess_1_1http_1_1OK.html">process::http::OK</a></div><div class="ttdef"><b>Definition:</b> http.hpp:662</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1OK_html"><div class="ttname"><a href="structprocess_1_1http_1_1OK.html">process::http::OK</a></div><div class="ttdef"><b>Definition:</b> http.hpp:661</div></div>
<div class="ttc" id="structos_1_1Load_html_ac4a959c47204e8cd9e67930ac6b9bb63"><div class="ttname"><a href="structos_1_1Load.html#ac4a959c47204e8cd9e67930ac6b9bb63">os::Load::fifteen</a></div><div class="ttdeci">double fifteen</div><div class="ttdef"><b>Definition:</b> os.hpp:28</div></div>
<div class="ttc" id="namespaceos_html_a23a7b8f4b4c145ad212381e89d4b6dc4"><div class="ttname"><a href="namespaceos.html#a23a7b8f4b4c145ad212381e89d4b6dc4">os::memory</a></div><div class="ttdeci">Try< Memory > memory()</div><div class="ttdef"><b>Definition:</b> freebsd.hpp:78</div></div>
<div class="ttc" id="3rdparty_2libprocess_2include_2process_2http_8hpp_html"><div class="ttname"><a href="3rdparty_2libprocess_2include_2process_2http_8hpp.html">http.hpp</a></div></div>
[10/10] mesos-site git commit: Updated the website built from mesos
SHA: 4189657.
Posted by gi...@apache.org.
Updated the website built from mesos SHA: 4189657.
Project: http://git-wip-us.apache.org/repos/asf/mesos-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos-site/commit/63adc76a
Tree: http://git-wip-us.apache.org/repos/asf/mesos-site/tree/63adc76a
Diff: http://git-wip-us.apache.org/repos/asf/mesos-site/diff/63adc76a
Branch: refs/heads/asf-site
Commit: 63adc76a189231b6003d33ef69fa695bdd3a82f8
Parents: 166f7d4
Author: jenkins <bu...@apache.org>
Authored: Thu Jun 14 14:36:20 2018 +0000
Committer: jenkins <bu...@apache.org>
Committed: Thu Jun 14 14:36:20 2018 +0000
----------------------------------------------------------------------
...ude_2process_2authenticator_8hpp_source.html | 2 +-
...libprocess_2include_2process_2http_8hpp.html | 10 +-
...ess_2include_2process_2http_8hpp_source.html | 318 +++++++++----------
..._2include_2process_2logging_8hpp_source.html | 2 +-
..._2process_2metrics_2metrics_8hpp_source.html | 2 +-
content/api/latest/c++/Nodes.xml | 10 +-
content/api/latest/c++/Tokens.xml | 44 +--
.../c++/authenticator__manager_8hpp_source.html | 2 +-
.../c++/basic__authenticatee_8hpp_source.html | 2 +-
.../c++/checker__process_8hpp_source.html | 4 +-
.../latest/c++/checks__runtime_8hpp_source.html | 2 +-
.../combined__authenticator_8hpp_source.html | 2 +-
.../c++/container__daemon_8hpp_source.html | 2 +-
.../container__daemon__process_8hpp_source.html | 2 +-
content/api/latest/c++/daemon_8hpp_source.html | 2 +-
content/api/latest/c++/decoder_8hpp_source.html | 51 ++-
content/api/latest/c++/encoder_8hpp_source.html | 14 +-
content/api/latest/c++/event_8hpp_source.html | 8 +-
.../api/latest/c++/firewall_8hpp_source.html | 8 +-
content/api/latest/c++/help_8hpp_source.html | 2 +-
.../c++/http__connection_8hpp_source.html | 38 +--
.../api/latest/c++/http__proxy_8hpp_source.html | 4 +-
...cation_2http_2authenticatee_8hpp_source.html | 2 +-
content/api/latest/c++/index.hhc | 2 +-
content/api/latest/c++/index.hhk | 140 ++++----
...ss_2include_2process_2gtest_8hpp_source.html | 8 +-
..._2include_2process_2process_8hpp_source.html | 2 +-
.../c++/memory__profiler_8hpp_source.html | 4 +-
.../api/latest/c++/namespacemembers_func_i.html | 7 +-
content/api/latest/c++/namespacemembers_i.html | 5 +-
content/api/latest/c++/namespacemembers_m.html | 2 +-
content/api/latest/c++/namespacemembers_r.html | 6 +-
content/api/latest/c++/namespacemembers_s.html | 5 +-
.../api/latest/c++/namespacemembers_vars_s.html | 3 -
content/api/latest/c++/namespacemembers_w.html | 7 +-
.../latest/c++/namespaceprocess_1_1http.html | 39 ++-
.../api/latest/c++/profiler_8hpp_source.html | 2 +-
.../api/latest/c++/provider_8hpp_source.html | 2 +-
.../resource__provider_2local_8hpp_source.html | 2 +-
...resource__provider_2manager_8hpp_source.html | 2 +-
.../api/latest/c++/scheduler_8hpp_source.html | 3 +-
content/api/latest/c++/slave_8hpp_source.html | 2 +-
.../latest/c++/socket__manager_8hpp_source.html | 4 +-
.../c++/src_2common_2http_8hpp_source.html | 2 +-
.../c++/src_2common_2recordio_8hpp_source.html | 4 +-
.../c++/src_2master_2master_8hpp_source.html | 4 +-
...esource__provider_2detector_8hpp_source.html | 2 +-
.../c++/src_2slave_2http_8hpp_source.html | 6 +-
.../c++/src_2tests_2mesos_8hpp_source.html | 8 +-
.../c++/src_2version_2version_8hpp_source.html | 2 +-
content/api/latest/c++/system_8hpp_source.html | 8 +-
51 files changed, 408 insertions(+), 408 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/3rdparty_2libprocess_2include_2process_2authenticator_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/3rdparty_2libprocess_2include_2process_2authenticator_8hpp_source.html b/content/api/latest/c++/3rdparty_2libprocess_2include_2process_2authenticator_8hpp_source.html
index f20893d..73be8ac 100644
--- a/content/api/latest/c++/3rdparty_2libprocess_2include_2process_2authenticator_8hpp_source.html
+++ b/content/api/latest/c++/3rdparty_2libprocess_2include_2process_2authenticator_8hpp_source.html
@@ -58,7 +58,7 @@
<div class="ttc" id="structprocess_1_1http_1_1authentication_1_1Principal_html_a52640d68809c22e09de880001b8fb519"><div class="ttname"><a href="structprocess_1_1http_1_1authentication_1_1Principal.html#a52640d68809c22e09de880001b8fb519">process::http::authentication::Principal::Principal</a></div><div class="ttdeci">Principal(const Option< std::string > &_value, const hashmap< std::string, std::string > &_claims)</div><div class="ttdef"><b>Definition:</b> authenticator.hpp:48</div></div>
<div class="ttc" id="structprocess_1_1http_1_1authentication_1_1Principal_html_a10e02a274b8a2ae503a9aeef2e6a7c4b"><div class="ttname"><a href="structprocess_1_1http_1_1authentication_1_1Principal.html#a10e02a274b8a2ae503a9aeef2e6a7c4b">process::http::authentication::Principal::operator==</a></div><div class="ttdeci">bool operator==(const std::string &that) const </div><div class="ttdef"><b>Definition:</b> authenticator.hpp:58</div></div>
<div class="ttc" id="structprocess_1_1http_1_1authentication_1_1Principal_html_a05d0113dbb23e1a40082cc0bdcc948a3"><div class="ttname"><a href="structprocess_1_1http_1_1authentication_1_1Principal.html#a05d0113dbb23e1a40082cc0bdcc948a3">process::http::authentication::Principal::value</a></div><div class="ttdeci">Option< std::string > value</div><div class="ttdef"><b>Definition:</b> authenticator.hpp:68</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:518</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:517</div></div>
<div class="ttc" id="structprocess_1_1http_1_1authentication_1_1AuthenticationResult_html_a999ea72bc42ca09641699398e612540a"><div class="ttname"><a href="structprocess_1_1http_1_1authentication_1_1AuthenticationResult.html#a999ea72bc42ca09641699398e612540a">process::http::authentication::AuthenticationResult::principal</a></div><div class="ttdeci">Option< Principal > principal</div><div class="ttdef"><b>Definition:</b> authenticator.hpp:93</div></div>
<div class="ttc" id="structprocess_1_1http_1_1authentication_1_1AuthenticationResult_html"><div class="ttname"><a href="structprocess_1_1http_1_1authentication_1_1AuthenticationResult.html">process::http::authentication::AuthenticationResult</a></div><div class="ttdoc">Represents the result of authenticating a request. </div><div class="ttdef"><b>Definition:</b> authenticator.hpp:91</div></div>
<div class="ttc" id="classhashmap_html"><div class="ttname"><a href="classhashmap.html">hashmap< std::string, std::string ></a></div></div>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/3rdparty_2libprocess_2include_2process_2http_8hpp.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/3rdparty_2libprocess_2include_2process_2http_8hpp.html b/content/api/latest/c++/3rdparty_2libprocess_2include_2process_2http_8hpp.html
index 265d30f..138f1b7 100644
--- a/content/api/latest/c++/3rdparty_2libprocess_2include_2process_2http_8hpp.html
+++ b/content/api/latest/c++/3rdparty_2libprocess_2include_2process_2http_8hpp.html
@@ -53,8 +53,7 @@
<a href="#namespaces">Namespaces</a> |
<a href="#typedef-members">Typedefs</a> |
<a href="#enum-members">Enumerations</a> |
-<a href="#func-members">Functions</a> |
-<a href="#var-members">Variables</a> </div>
+<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">http.hpp File Reference</div> </div>
</div><!--header-->
@@ -198,6 +197,8 @@ Functions</h2></td></tr>
<tr class="separator:a5c0dc8d25fb3556f4be432507c6f0f2c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0083eba64f0133537ce496006258a344"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprocess_1_1http_1_1authorization.html#a0083eba64f0133537ce496006258a344">process::http::authorization::unsetCallbacks</a> ()</td></tr>
<tr class="separator:a0083eba64f0133537ce496006258a344"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:ad1e795f8cd92c0d2c95aaedab510d4f6"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprocess_1_1http.html#ad1e795f8cd92c0d2c95aaedab510d4f6">process::http::isValidStatus</a> (uint16_t code)</td></tr>
+<tr class="separator:ad1e795f8cd92c0d2c95aaedab510d4f6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a64211e6e3428968c27b5753f05cbcf45"><td class="memItemLeft" align="right" valign="top">std::ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprocess_1_1http.html#a64211e6e3428968c27b5753f05cbcf45">process::http::operator<<</a> (std::ostream &stream, const URL &url)</td></tr>
<tr class="separator:a64211e6e3428968c27b5753f05cbcf45"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2410072cba7b95c5d555a0747ef33b50"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTry.html">Try</a>< <a class="el" href="classhashmap.html">hashmap</a>< std::string, std::string > > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprocess_1_1http_1_1path.html#a2410072cba7b95c5d555a0747ef33b50">process::http::path::parse</a> (const std::string &pattern, const std::string &path)</td></tr>
@@ -254,11 +255,6 @@ Functions</h2></td></tr>
<tr class="separator:ae8a18c7263d4aefb7b1973c12590c688"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af998266af21e3156eca4f8c2c7e16e5a"><td class="memItemLeft" align="right" valign="top">Future< Response > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprocess_1_1http_1_1streaming.html#af998266af21e3156eca4f8c2c7e16e5a">process::http::streaming::post</a> (const UPID &upid, const <a class="el" href="classOption.html">Option</a>< std::string > &path=<a class="el" href="structNone.html">None</a>(), const <a class="el" href="classOption.html">Option</a>< Headers > &headers=<a class="el" href="structNone.html">None</a>(), const <a class="el" href="classOption.html">Option</a>< std::string > &body=<a class="el" href="structNone.html">None</a>(), const <a class="el" href="classOption.html">Option</a>< std::string > &contentType=<a class="el" href="structNone.html">None</a>(), const <a class="el" href="classOption.html">Option</a>< std::string > &scheme=<a class="el" href="struct
None.html">None</a>())</td></tr>
<tr class="separator:af998266af21e3156eca4f8c2c7e16e5a"><td class="memSeparator" colspan="2"> </td></tr>
-</table><table class="memberdecls">
-<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
-Variables</h2></td></tr>
-<tr class="memitem:a061749759c8d327692f4dbb3bb8b8440"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classhashmap.html">hashmap</a>< uint16_t, std::string > * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprocess_1_1http.html#a061749759c8d327692f4dbb3bb8b8440">process::http::statuses</a></td></tr>
-<tr class="separator:a061749759c8d327692f4dbb3bb8b8440"><td class="memSeparator" colspan="2"> </td></tr>
</table>
</div><!-- contents -->
<!-- start footer part -->
[02/10] mesos-site git commit: Updated the website built from mesos
SHA: 4189657.
Posted by gi...@apache.org.
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/slave_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/slave_8hpp_source.html b/content/api/latest/c++/slave_8hpp_source.html
index fd6418e..1e148c8 100644
--- a/content/api/latest/c++/slave_8hpp_source.html
+++ b/content/api/latest/c++/slave_8hpp_source.html
@@ -163,7 +163,7 @@
<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1Slave_html_aa14da55de5c585de7f443afa61e042d7"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1Slave.html#aa14da55de5c585de7f443afa61e042d7">mesos::internal::slave::Slave::pingTimeout</a></div><div class="ttdeci">void pingTimeout(process::Future< Option< MasterInfo >> future)</div></div>
<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1Slave_html_ace99b8066d4aed8f21395f025118fc10"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1Slave.html#ace99b8066d4aed8f21395f025118fc10">mesos::internal::slave::Slave::initialize</a></div><div class="ttdeci">virtual void initialize()</div><div class="ttdoc">Invoked when a process gets spawned. </div></div>
<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1Slave_html_a1b1b0a11b5f06125e3e546de09e1030b"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1Slave.html#a1b1b0a11b5f06125e3e546de09e1030b">mesos::internal::slave::Slave::handleRunTaskMessage</a></div><div class="ttdeci">void handleRunTaskMessage(const process::UPID &from, RunTaskMessage &&runTaskMessage)</div></div>
-<div class="ttc" id="classprocess_1_1http_1_1Pipe_1_1Writer_html"><div class="ttname"><a href="classprocess_1_1http_1_1Pipe_1_1Writer.html">process::http::Pipe::Writer</a></div><div class="ttdef"><b>Definition:</b> http.hpp:340</div></div>
+<div class="ttc" id="classprocess_1_1http_1_1Pipe_1_1Writer_html"><div class="ttname"><a href="classprocess_1_1http_1_1Pipe_1_1Writer.html">process::http::Pipe::Writer</a></div><div class="ttdef"><b>Definition:</b> http.hpp:339</div></div>
<div class="ttc" id="path_8hpp_html"><div class="ttname"><a href="path_8hpp.html">path.hpp</a></div></div>
<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1Executor_html_aaad02226a9d30491088dd9ef315effbc"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1Executor.html#aaad02226a9d30491088dd9ef315effbc">mesos::internal::slave::Executor::containerId</a></div><div class="ttdeci">const ContainerID containerId</div><div class="ttdef"><b>Definition:</b> slave.hpp:994</div></div>
<div class="ttc" id="structmesos_1_1internal_1_1slave_1_1state_1_1TaskState_html"><div class="ttname"><a href="structmesos_1_1internal_1_1slave_1_1state_1_1TaskState.html">mesos::internal::slave::state::TaskState</a></div><div class="ttdef"><b>Definition:</b> state.hpp:243</div></div>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/socket__manager_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/socket__manager_8hpp_source.html b/content/api/latest/c++/socket__manager_8hpp_source.html
index 58beef2..57cc246 100644
--- a/content/api/latest/c++/socket__manager_8hpp_source.html
+++ b/content/api/latest/c++/socket__manager_8hpp_source.html
@@ -67,7 +67,7 @@
<div class="ttc" id="classprocess_1_1SocketManager_html"><div class="ttname"><a href="classprocess_1_1SocketManager.html">process::SocketManager</a></div><div class="ttdef"><b>Definition:</b> socket_manager.hpp:36</div></div>
<div class="ttc" id="classprocess_1_1SocketManager_html_ab11f6acee99d6193576483b18fa111ce"><div class="ttname"><a href="classprocess_1_1SocketManager.html#ab11f6acee99d6193576483b18fa111ce">process::SocketManager::SocketManager</a></div><div class="ttdeci">SocketManager()</div></div>
<div class="ttc" id="classprocess_1_1SocketManager_html_aefe1f325332f1d053dba837c749d9b6d"><div class="ttname"><a href="classprocess_1_1SocketManager.html#aefe1f325332f1d053dba837c749d9b6d">process::SocketManager::accepted</a></div><div class="ttdeci">void accepted(const network::inet::Socket &socket)</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:518</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:517</div></div>
<div class="ttc" id="classhashmap_html"><div class="ttname"><a href="classhashmap.html">hashmap</a></div><div class="ttdef"><b>Definition:</b> hashmap.hpp:38</div></div>
<div class="ttc" id="namespacemesos_1_1modules_html_a70163bdea2fe39ef5b798a7d7ee0c220"><div class="ttname"><a href="namespacemesos_1_1modules.html#a70163bdea2fe39ef5b798a7d7ee0c220">mesos::modules::kind</a></div><div class="ttdeci">const char * kind()</div></div>
<div class="ttc" id="classprocess_1_1SocketManager_html_a726daf6ca94059469751fdcf07631658"><div class="ttname"><a href="classprocess_1_1SocketManager.html#a726daf6ca94059469751fdcf07631658">process::SocketManager::link</a></div><div class="ttdeci">void link(ProcessBase *process, const UPID &to, const ProcessBase::RemoteConnection remote, const network::internal::SocketImpl::Kind &kind=network::internal::SocketImpl::DEFAULT_KIND())</div></div>
@@ -87,7 +87,7 @@
<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 "process identifier" used to uniquely identify a process when dispatching messages. </div><div class="ttdef"><b>Definition:</b> pid.hpp:279</div></div>
<div class="ttc" id="encoder_8hpp_html"><div class="ttname"><a href="encoder_8hpp.html">encoder.hpp</a></div></div>
<div class="ttc" id="namespaceprocess_html"><div class="ttname"><a href="namespaceprocess.html">process</a></div><div class="ttdef"><b>Definition:</b> executor.hpp:47</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Response_html"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html">process::http::Response</a></div><div class="ttdef"><b>Definition:</b> http.hpp:595</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Response_html"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html">process::http::Response</a></div><div class="ttdef"><b>Definition:</b> http.hpp:594</div></div>
<div class="ttc" id="classprocess_1_1SocketManager_html_a1c297db7b29bbf422c21ee1ef4e601f1"><div class="ttname"><a href="classprocess_1_1SocketManager.html#a1c297db7b29bbf422c21ee1ef4e601f1">process::SocketManager::close</a></div><div class="ttdeci">void close(int_fd s)</div></div>
<div class="ttc" id="hashset_8hpp_html"><div class="ttname"><a href="hashset_8hpp.html">hashset.hpp</a></div></div>
<div class="ttc" id="namespaceprocess_html_afdecc57ab065ab5d354e728d0ef0ff34"><div class="ttname"><a href="namespaceprocess.html#afdecc57ab065ab5d354e728d0ef0ff34">process::address</a></div><div class="ttdeci">network::inet::Address address()</div><div class="ttdoc">Returns the socket address associated with this instance of the library. </div></div>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/src_2common_2http_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/src_2common_2http_8hpp_source.html b/content/api/latest/c++/src_2common_2http_8hpp_source.html
index 0f92458..cba2c5a 100644
--- a/content/api/latest/c++/src_2common_2http_8hpp_source.html
+++ b/content/api/latest/c++/src_2common_2http_8hpp_source.html
@@ -79,7 +79,7 @@
<div class="ttc" id="structstd_1_1hash_3_01mesos_1_1authorization_1_1Action_01_4_html_ab573a7fd8f7ece576889e9b5111f9e29"><div class="ttname"><a href="structstd_1_1hash_3_01mesos_1_1authorization_1_1Action_01_4.html#ab573a7fd8f7ece576889e9b5111f9e29">std::hash< mesos::authorization::Action >::operator()</a></div><div class="ttdeci">result_type operator()(const argument_type &action) const </div><div class="ttdef"><b>Definition:</b> http.hpp:52</div></div>
<div class="ttc" id="classmesos_1_1IDAcceptor_html_ab83e75268340d6347cd3b2c0d5d1b01f"><div class="ttname"><a href="classmesos_1_1IDAcceptor.html#ab83e75268340d6347cd3b2c0d5d1b01f">mesos::IDAcceptor::targetId</a></div><div class="ttdeci">Option< T > targetId</div><div class="ttdef"><b>Definition:</b> http.hpp:297</div></div>
<div class="ttc" id="classOption_html_a4e3bf8416d95246f43c91f1b5c309323"><div class="ttname"><a href="classOption.html#a4e3bf8416d95246f43c91f1b5c309323">Option::isSome</a></div><div class="ttdeci">bool isSome() const </div><div class="ttdef"><b>Definition:</b> option.hpp:115</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:518</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:517</div></div>
<div class="ttc" id="structJSON_1_1Object_html"><div class="ttname"><a href="structJSON_1_1Object.html">JSON::Object</a></div><div class="ttdef"><b>Definition:</b> json.hpp:154</div></div>
<div class="ttc" id="classhashmap_html"><div class="ttname"><a href="classhashmap.html">hashmap</a></div><div class="ttdef"><b>Definition:</b> hashmap.hpp:38</div></div>
<div class="ttc" id="namespacemesos_1_1internal_html_a6584ec82e3ab6d2e24a7bd20ce975437"><div class="ttname"><a href="namespacemesos_1_1internal.html#a6584ec82e3ab6d2e24a7bd20ce975437">mesos::internal::DEFAULT_JWT_HTTP_AUTHENTICATOR</a></div><div class="ttdeci">constexpr char DEFAULT_JWT_HTTP_AUTHENTICATOR[]</div><div class="ttdef"><b>Definition:</b> http.hpp:78</div></div>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/src_2common_2recordio_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/src_2common_2recordio_8hpp_source.html b/content/api/latest/c++/src_2common_2recordio_8hpp_source.html
index df9aba0..f66302c 100644
--- a/content/api/latest/c++/src_2common_2recordio_8hpp_source.html
+++ b/content/api/latest/c++/src_2common_2recordio_8hpp_source.html
@@ -79,7 +79,7 @@
<div class="ttc" id="namespaceprocess_html_acfbc29404bc653268289691b0dd59e22"><div class="ttname"><a href="namespaceprocess.html#acfbc29404bc653268289691b0dd59e22">process::dispatch</a></div><div class="ttdeci">void dispatch(const PID< T > &pid, void(T::*method)())</div><div class="ttdef"><b>Definition:</b> dispatch.hpp:174</div></div>
<div class="ttc" id="classmesos_1_1internal_1_1recordio_1_1Reader_html"><div class="ttname"><a href="classmesos_1_1internal_1_1recordio_1_1Reader.html">mesos::internal::recordio::Reader</a></div><div class="ttdoc">Provides RecordIO decoding on top of an http::Pipe::Reader. </div><div class="ttdef"><b>Definition:</b> recordio.hpp:62</div></div>
<div class="ttc" id="nothing_8hpp_html"><div class="ttname"><a href="nothing_8hpp.html">nothing.hpp</a></div></div>
-<div class="ttc" id="classprocess_1_1http_1_1Pipe_1_1Writer_html"><div class="ttname"><a href="classprocess_1_1http_1_1Pipe_1_1Writer.html">process::http::Pipe::Writer</a></div><div class="ttdef"><b>Definition:</b> http.hpp:340</div></div>
+<div class="ttc" id="classprocess_1_1http_1_1Pipe_1_1Writer_html"><div class="ttname"><a href="classprocess_1_1http_1_1Pipe_1_1Writer.html">process::http::Pipe::Writer</a></div><div class="ttdef"><b>Definition:</b> http.hpp:339</div></div>
<div class="ttc" id="classmesos_1_1internal_1_1recordio_1_1Reader_html_a089c0b92ecaffcb3a472103c233e4cf9"><div class="ttname"><a href="classmesos_1_1internal_1_1recordio_1_1Reader.html#a089c0b92ecaffcb3a472103c233e4cf9">mesos::internal::recordio::Reader::read</a></div><div class="ttdeci">process::Future< Result< T > > read()</div><div class="ttdoc">Returns the next piece of decoded data from the pipe. </div><div class="ttdef"><b>Definition:</b> recordio.hpp:90</div></div>
<div class="ttc" id="classprocess_1_1http_1_1Pipe_1_1Writer_html_ad945bef2134c872f8ea43dea6db84c66"><div class="ttname"><a href="classprocess_1_1http_1_1Pipe_1_1Writer.html#ad945bef2134c872f8ea43dea6db84c66">process::http::Pipe::Writer::write</a></div><div class="ttdeci">bool write(std::string s)</div></div>
<div class="ttc" id="namespacemesos_html"><div class="ttname"><a href="namespacemesos.html">mesos</a></div><div class="ttdef"><b>Definition:</b> spec.hpp:30</div></div>
@@ -111,7 +111,7 @@
<div class="ttc" id="classmesos_1_1internal_1_1recordio_1_1internal_1_1ReaderProcess_html_a11e21afb1b5e47b24074c9c8d7775e1e"><div class="ttname"><a href="classmesos_1_1internal_1_1recordio_1_1internal_1_1ReaderProcess.html#a11e21afb1b5e47b24074c9c8d7775e1e">mesos::internal::recordio::internal::ReaderProcess::ReaderProcess</a></div><div class="ttdeci">ReaderProcess(::recordio::Decoder< T > &&_decoder, process::http::Pipe::Reader _reader)</div><div class="ttdef"><b>Definition:</b> recordio.hpp:151</div></div>
<div class="ttc" id="classrecordio_1_1Decoder_html"><div class="ttname"><a href="classrecordio_1_1Decoder.html">recordio::Decoder</a></div><div class="ttdoc">Given a decoding function for individual records, this provides decoding from "Record-IO" data into t...</div><div class="ttdef"><b>Definition:</b> recordio.hpp:82</div></div>
<div class="ttc" id="libprocess_2include_2process_2process_8hpp_html"><div class="ttname"><a href="libprocess_2include_2process_2process_8hpp.html">process.hpp</a></div></div>
-<div class="ttc" id="classprocess_1_1http_1_1Pipe_1_1Reader_html"><div class="ttname"><a href="classprocess_1_1http_1_1Pipe_1_1Reader.html">process::http::Pipe::Reader</a></div><div class="ttdef"><b>Definition:</b> http.hpp:302</div></div>
+<div class="ttc" id="classprocess_1_1http_1_1Pipe_1_1Reader_html"><div class="ttname"><a href="classprocess_1_1http_1_1Pipe_1_1Reader.html">process::http::Pipe::Reader</a></div><div class="ttdef"><b>Definition:</b> http.hpp:301</div></div>
<div class="ttc" id="classprocess_1_1ControlFlow_html"><div class="ttname"><a href="classprocess_1_1ControlFlow.html">process::ControlFlow</a></div><div class="ttdef"><b>Definition:</b> loop.hpp:163</div></div>
<div class="ttc" id="classprocess_1_1Future_html_a493227e57f8848e37777b89c0f81e2ec"><div class="ttname"><a href="classprocess_1_1Future.html#a493227e57f8848e37777b89c0f81e2ec">process::Future::isFailed</a></div><div class="ttdeci">bool isFailed() const </div><div class="ttdef"><b>Definition:</b> future.hpp:1232</div></div>
<div class="ttc" id="classprocess_1_1Future_html"><div class="ttname"><a href="classprocess_1_1Future.html">process::Future</a></div><div class="ttdef"><b>Definition:</b> future.hpp:58</div></div>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/src_2master_2master_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/src_2master_2master_8hpp_source.html b/content/api/latest/c++/src_2master_2master_8hpp_source.html
index 4087cb4..41410c7 100644
--- a/content/api/latest/c++/src_2master_2master_8hpp_source.html
+++ b/content/api/latest/c++/src_2master_2master_8hpp_source.html
@@ -142,7 +142,7 @@
<div class="ttc" id="classOption_html_a4e3bf8416d95246f43c91f1b5c309323"><div class="ttname"><a href="classOption.html#a4e3bf8416d95246f43c91f1b5c309323">Option::isSome</a></div><div class="ttdeci">bool isSome() const </div><div class="ttdef"><b>Definition:</b> option.hpp:115</div></div>
<div class="ttc" id="structprocess_1_1ExitedEvent_html"><div class="ttname"><a href="structprocess_1_1ExitedEvent.html">process::ExitedEvent</a></div><div class="ttdef"><b>Definition:</b> event.hpp:214</div></div>
<div class="ttc" id="structmesos_1_1internal_1_1master_1_1HttpConnection_html_aabda4b0588e263e20f98c220f1f7da92"><div class="ttname"><a href="structmesos_1_1internal_1_1master_1_1HttpConnection.html#aabda4b0588e263e20f98c220f1f7da92">mesos::internal::master::HttpConnection::closed</a></div><div class="ttdeci">process::Future< Nothing > closed() const </div><div class="ttdef"><b>Definition:</b> master.hpp:358</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:518</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:517</div></div>
<div class="ttc" id="structJSON_1_1Object_html"><div class="ttname"><a href="structJSON_1_1Object.html">JSON::Object</a></div><div class="ttdef"><b>Definition:</b> json.hpp:154</div></div>
<div class="ttc" id="structmesos_1_1internal_1_1master_1_1Slave_html_af31bd54cf2fd44fd1d95d1c898d6d2c8"><div class="ttname"><a href="structmesos_1_1internal_1_1master_1_1Slave.html#af31bd54cf2fd44fd1d95d1c898d6d2c8">mesos::internal::master::Slave::tasks</a></div><div class="ttdeci">hashmap< FrameworkID, hashmap< TaskID, Task * > > tasks</div><div class="ttdef"><b>Definition:</b> master.hpp:240</div></div>
<div class="ttc" id="structmesos_1_1internal_1_1master_1_1Framework_html_aa21baf526b32c397ea45f103cea5dd15"><div class="ttname"><a href="structmesos_1_1internal_1_1master_1_1Framework.html#aa21baf526b32c397ea45f103cea5dd15">mesos::internal::master::Framework::updateConnection</a></div><div class="ttdeci">void updateConnection(const process::UPID &newPid)</div><div class="ttdef"><b>Definition:</b> master.hpp:2797</div></div>
@@ -178,7 +178,7 @@
<div class="ttc" id="structmesos_1_1internal_1_1master_1_1Framework_html_ab5285e7b6a2266d1d12167d1a9f561d2"><div class="ttname"><a href="structmesos_1_1internal_1_1master_1_1Framework.html#ab5285e7b6a2266d1d12167d1a9f561d2">mesos::internal::master::Framework::recovered</a></div><div class="ttdeci">bool recovered() const </div><div class="ttdef"><b>Definition:</b> master.hpp:2872</div></div>
<div class="ttc" id="structmesos_1_1internal_1_1master_1_1Slave_html_a8a22f7902325bc17e32068ec2e39867b"><div class="ttname"><a href="structmesos_1_1internal_1_1master_1_1Slave.html#a8a22f7902325bc17e32068ec2e39867b">mesos::internal::master::Slave::registeredTime</a></div><div class="ttdeci">process::Time registeredTime</div><div class="ttdef"><b>Definition:</b> master.hpp:200</div></div>
<div class="ttc" id="structmesos_1_1internal_1_1master_1_1Slave_html_aa112c6ba4de9bd7ab91365adf92d5c77"><div class="ttname"><a href="structmesos_1_1internal_1_1master_1_1Slave.html#aa112c6ba4de9bd7ab91365adf92d5c77">mesos::internal::master::Slave::active</a></div><div class="ttdeci">bool active</div><div class="ttdef"><b>Definition:</b> master.hpp:209</div></div>
-<div class="ttc" id="classprocess_1_1http_1_1Pipe_1_1Writer_html"><div class="ttname"><a href="classprocess_1_1http_1_1Pipe_1_1Writer.html">process::http::Pipe::Writer</a></div><div class="ttdef"><b>Definition:</b> http.hpp:340</div></div>
+<div class="ttc" id="classprocess_1_1http_1_1Pipe_1_1Writer_html"><div class="ttname"><a href="classprocess_1_1http_1_1Pipe_1_1Writer.html">process::http::Pipe::Writer</a></div><div class="ttdef"><b>Definition:</b> http.hpp:339</div></div>
<div class="ttc" id="classmesos_1_1master_1_1contender_1_1MasterContender_html"><div class="ttname"><a href="classmesos_1_1master_1_1contender_1_1MasterContender.html">mesos::master::contender::MasterContender</a></div><div class="ttdoc">An abstraction for contending to be a leading master. </div><div class="ttdef"><b>Definition:</b> contender.hpp:40</div></div>
<div class="ttc" id="structmesos_1_1internal_1_1master_1_1Framework_html_a2d8cbc0dbd23317d8194398a3810a5b5"><div class="ttname"><a href="structmesos_1_1internal_1_1master_1_1Framework.html#a2d8cbc0dbd23317d8194398a3810a5b5">mesos::internal::master::Framework::roles</a></div><div class="ttdeci">std::set< std::string > roles</div><div class="ttdef"><b>Definition:</b> master.hpp:2882</div></div>
<div class="ttc" id="structmesos_1_1internal_1_1master_1_1Slave_html_a587fe54aa032cf8b260e3722e0f3c8fd"><div class="ttname"><a href="structmesos_1_1internal_1_1master_1_1Slave.html#a587fe54aa032cf8b260e3722e0f3c8fd">mesos::internal::master::Slave::pid</a></div><div class="ttdeci">process::UPID pid</div><div class="ttdef"><b>Definition:</b> master.hpp:192</div></div>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/src_2resource__provider_2detector_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/src_2resource__provider_2detector_8hpp_source.html b/content/api/latest/c++/src_2resource__provider_2detector_8hpp_source.html
index c072e7d..f655d8d 100644
--- a/content/api/latest/c++/src_2resource__provider_2detector_8hpp_source.html
+++ b/content/api/latest/c++/src_2resource__provider_2detector_8hpp_source.html
@@ -54,7 +54,7 @@
<div class="contents">
<a href="src_2resource__provider_2detector_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> <span class="comment">// Licensed to the Apache Software Foundation (ASF) under one</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// or more contributor license agreements. See the NOTICE file</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// distributed with this work for additional information</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// regarding copyright ownership. The ASF licenses this file</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// to you under the Apache License, Version 2.0 (the</span></div><div class="line"><a n
ame="l00006"></a><span class="lineno"> 6</span> <span class="comment">// "License"); you may not use this file except in compliance</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">// with the License. You may obtain a copy of the License at</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">//</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">// http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">//</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">// Unless required by applicable law or agreed to in writing, software</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span cl
ass="comment">// distributed under the License is distributed on an "AS IS" BASIS,</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">// See the License for the specific language governing permissions and</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">// limitations under the License.</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#ifndef __RESOURCE_PROVIDER_DETECTOR_HPP__</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#define __RESOURCE_PROVIDE
R_DETECTOR_HPP__</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <<a class="code" href="future_8hpp.html">process/future.hpp</a>></span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include <<a class="code" href="3rdparty_2libprocess_2include_2process_2http_8hpp.html">process/http.hpp</a>></span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="keyword">namespace </span><a class="code" href="namespacemesos.html">mesos</a> {</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="keyword">namespace </span><a class="code" href="namespaceinternal.html">internal</a> {</div><div class
="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="classmesos_1_1internal_1_1EndpointDetector.html"> 26</a></span> <span class="keyword">class </span><a class="code" href="classmesos_1_1internal_1_1EndpointDetector.html">EndpointDetector</a></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> {</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="classmesos_1_1internal_1_1EndpointDetector.html#a9e37f2c290718e9a45c2e9cc044afc95"> 29</a></span>  <span class="keyword">virtual</span> <a class="code" href="classmesos_1_1internal_1_1EndpointDetector.html#a9e37f2c290718e9a45c2e9cc044afc95">~EndpointDetector</a>() {}</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</spa
n> </div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="keyword">virtual</span> <a class="code" href="classprocess_1_1Future.html">process::Future<Option<process::http::URL></a>> <a class="code" href="classmesos_1_1internal_1_1EndpointDetector.html#a335b344468f06a8d13e251122edfe731">detect</a>(</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="keyword">const</span> <a class="code" href="classOption.html">Option<process::http::URL></a>& previous) = 0;</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> };</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> </div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="classmesos_1_1internal_1_1ConstantEndpointDetector.html"> 36</a></span>
60;<span class="keyword">class </span><a class="code" href="classmesos_1_1internal_1_1ConstantEndpointDetector.html">ConstantEndpointDetector</a> : <span class="keyword">public</span> <a class="code" href="classmesos_1_1internal_1_1EndpointDetector.html">EndpointDetector</a></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> {</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keyword">explicit</span> <a class="code" href="classmesos_1_1internal_1_1ConstantEndpointDetector.html">ConstantEndpointDetector</a>(<span class="keyword">const</span> <a class="code" href="structprocess_1_1http_1_1URL.html">process::http::URL</a>& url);</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div><div class="line"><a name="l00041"></a><span class="lineno"> 41</spa
n>  <a class="code" href="classprocess_1_1Future.html">process::Future<Option<process::http::URL></a>> <a class="code" href="classmesos_1_1internal_1_1EndpointDetector.html#a335b344468f06a8d13e251122edfe731">detect</a>(</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keyword">const</span> <a class="code" href="classOption.html">Option<process::http::URL></a>& previous) <span class="keyword">override</span>;</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> </div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <a class="code" href="structprocess_1_1http_1_1URL.html">process::http::URL</a> url;</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> };</div><div class="line"><a name="l00047"></a
><span class="lineno"> 47</span> </div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> } <span class="comment">// namespace internal {</span></div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> } <span class="comment">// namespace mesos {</span></div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> </div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="preprocessor">#endif // __RESOURCE_PROVIDER_DETECTOR_HPP__</span></div><div class="ttc" id="classOption_html"><div class="ttname"><a href="classOption.html">Option< process::http::URL ></a></div></div>
<div class="ttc" id="classmesos_1_1internal_1_1EndpointDetector_html"><div class="ttname"><a href="classmesos_1_1internal_1_1EndpointDetector.html">mesos::internal::EndpointDetector</a></div><div class="ttdef"><b>Definition:</b> detector.hpp:26</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1URL_html"><div class="ttname"><a href="structprocess_1_1http_1_1URL.html">process::http::URL</a></div><div class="ttdef"><b>Definition:</b> http.hpp:129</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1URL_html"><div class="ttname"><a href="structprocess_1_1http_1_1URL.html">process::http::URL</a></div><div class="ttdef"><b>Definition:</b> http.hpp:128</div></div>
<div class="ttc" id="classmesos_1_1internal_1_1EndpointDetector_html_a9e37f2c290718e9a45c2e9cc044afc95"><div class="ttname"><a href="classmesos_1_1internal_1_1EndpointDetector.html#a9e37f2c290718e9a45c2e9cc044afc95">mesos::internal::EndpointDetector::~EndpointDetector</a></div><div class="ttdeci">virtual ~EndpointDetector()</div><div class="ttdef"><b>Definition:</b> detector.hpp:29</div></div>
<div class="ttc" id="namespacemesos_html"><div class="ttname"><a href="namespacemesos.html">mesos</a></div><div class="ttdef"><b>Definition:</b> spec.hpp:30</div></div>
<div class="ttc" id="classmesos_1_1internal_1_1ConstantEndpointDetector_html"><div class="ttname"><a href="classmesos_1_1internal_1_1ConstantEndpointDetector.html">mesos::internal::ConstantEndpointDetector</a></div><div class="ttdef"><b>Definition:</b> detector.hpp:36</div></div>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/src_2slave_2http_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/src_2slave_2http_8hpp_source.html b/content/api/latest/c++/src_2slave_2http_8hpp_source.html
index 4ae30a8..49ec507 100644
--- a/content/api/latest/c++/src_2slave_2http_8hpp_source.html
+++ b/content/api/latest/c++/src_2slave_2http_8hpp_source.html
@@ -63,7 +63,7 @@
<div class="ttc" id="json_8hpp_html"><div class="ttname"><a href="json_8hpp.html">json.hpp</a></div></div>
<div class="ttc" id="src_2common_2http_8hpp_html"><div class="ttname"><a href="src_2common_2http_8hpp.html">http.hpp</a></div></div>
<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1Http_html_ad5b11ad51e4a88b9884d741b93951571"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1Http.html#ad5b11ad51e4a88b9884d741b93951571">mesos::internal::slave::Http::STATISTICS_HELP</a></div><div class="ttdeci">static std::string STATISTICS_HELP()</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:518</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:517</div></div>
<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1Http_html_a5c26c5c227679ba7f07387653469b01f"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1Http.html#a5c26c5c227679ba7f07387653469b01f">mesos::internal::slave::Http::STATE_HELP</a></div><div class="ttdeci">static std::string STATE_HELP()</div></div>
<div class="ttc" id="structJSON_1_1Object_html"><div class="ttname"><a href="structJSON_1_1Object.html">JSON::Object</a></div><div class="ttdef"><b>Definition:</b> json.hpp:154</div></div>
<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1Http_html_a78460f02b4f9a092ebd318a75a41118d"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1Http.html#a78460f02b4f9a092ebd318a75a41118d">mesos::internal::slave::Http::HEALTH_HELP</a></div><div class="ttdeci">static std::string HEALTH_HELP()</div></div>
@@ -73,7 +73,7 @@
<div class="ttc" id="classmesos_1_1IDAcceptor_html"><div class="ttname"><a href="classmesos_1_1IDAcceptor.html">mesos::IDAcceptor</a></div><div class="ttdoc">Used to filter results for API handlers. </div><div class="ttdef"><b>Definition:</b> http.hpp:275</div></div>
<div class="ttc" id="classprocess_1_1Shared_html"><div class="ttname"><a href="classprocess_1_1Shared.html">process::Shared< process::RateLimiter ></a></div></div>
<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1Slave_html"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1Slave.html">mesos::internal::slave::Slave</a></div><div class="ttdef"><b>Definition:</b> slave.hpp:116</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1URL_html"><div class="ttname"><a href="structprocess_1_1http_1_1URL.html">process::http::URL</a></div><div class="ttdef"><b>Definition:</b> http.hpp:129</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1URL_html"><div class="ttname"><a href="structprocess_1_1http_1_1URL.html">process::http::URL</a></div><div class="ttdef"><b>Definition:</b> http.hpp:128</div></div>
<div class="ttc" id="structmesos_1_1internal_1_1RequestMediaTypes_html"><div class="ttname"><a href="structmesos_1_1internal_1_1RequestMediaTypes.html">mesos::internal::RequestMediaTypes</a></div><div class="ttdef"><b>Definition:</b> http.hpp:86</div></div>
<div class="ttc" id="classSeconds_html"><div class="ttname"><a href="classSeconds.html">Seconds</a></div><div class="ttdef"><b>Definition:</b> duration.hpp:207</div></div>
<div class="ttc" id="namespacemesos_html"><div class="ttname"><a href="namespacemesos.html">mesos</a></div><div class="ttdef"><b>Definition:</b> spec.hpp:30</div></div>
@@ -87,7 +87,7 @@
<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1Http_html_a6b8b156e8871c76c9810a40b8a196084"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1Http.html#a6b8b156e8871c76c9810a40b8a196084">mesos::internal::slave::Http::health</a></div><div class="ttdeci">process::Future< process::http::Response > health(const process::http::Request &request) const </div></div>
<div class="ttc" id="namespaceinternal_html"><div class="ttname"><a href="namespaceinternal.html">internal</a></div><div class="ttdef"><b>Definition:</b> attributes.hpp:24</div></div>
<div class="ttc" id="namespaceprocess_html"><div class="ttname"><a href="namespaceprocess.html">process</a></div><div class="ttdef"><b>Definition:</b> executor.hpp:47</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Response_html"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html">process::http::Response</a></div><div class="ttdef"><b>Definition:</b> http.hpp:595</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Response_html"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html">process::http::Response</a></div><div class="ttdef"><b>Definition:</b> http.hpp:594</div></div>
<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1Http_html_aa91529c7c1adbeb56c279e31a97b45b6"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1Http.html#aa91529c7c1adbeb56c279e31a97b45b6">mesos::internal::slave::Http::FLAGS_HELP</a></div><div class="ttdeci">static std::string FLAGS_HELP()</div></div>
<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1Http_html_a26710d2f5bff558b388de6e1b55805c2"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1Http.html#a26710d2f5bff558b388de6e1b55805c2">mesos::internal::slave::Http::RESOURCE_PROVIDER_HELP</a></div><div class="ttdeci">static std::string RESOURCE_PROVIDER_HELP()</div></div>
<div class="ttc" id="3rdparty_2libprocess_2include_2process_2authenticator_8hpp_html"><div class="ttname"><a href="3rdparty_2libprocess_2include_2process_2authenticator_8hpp.html">authenticator.hpp</a></div></div>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/src_2tests_2mesos_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/src_2tests_2mesos_8hpp_source.html b/content/api/latest/c++/src_2tests_2mesos_8hpp_source.html
index bebc856..62b4f0f 100644
--- a/content/api/latest/c++/src_2tests_2mesos_8hpp_source.html
+++ b/content/api/latest/c++/src_2tests_2mesos_8hpp_source.html
@@ -141,7 +141,7 @@
<div class="ttc" id="namespacemesos_1_1internal_1_1tests_html_a31a0ee4660f0d7621e62acc6c6325a00"><div class="ttname"><a href="namespacemesos_1_1internal_1_1tests.html#a31a0ee4660f0d7621e62acc6c6325a00">mesos::internal::tests::DropUnionProtobufs</a></div><div class="ttdeci">void DropUnionProtobufs(Message message, UnionType unionType, From from, To to)</div><div class="ttdef"><b>Definition:</b> mesos.hpp:3569</div></div>
<div class="ttc" id="lambda_8hpp_html"><div class="ttname"><a href="lambda_8hpp.html">lambda.hpp</a></div></div>
<div class="ttc" id="classOption_html_a4e3bf8416d95246f43c91f1b5c309323"><div class="ttname"><a href="classOption.html#a4e3bf8416d95246f43c91f1b5c309323">Option::isSome</a></div><div class="ttdeci">bool isSome() const </div><div class="ttdef"><b>Definition:</b> option.hpp:115</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:518</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:517</div></div>
<div class="ttc" id="classmesos_1_1authentication_1_1executor_1_1JWTSecretGenerator_html"><div class="ttname"><a href="classmesos_1_1authentication_1_1executor_1_1JWTSecretGenerator.html">mesos::authentication::executor::JWTSecretGenerator</a></div><div class="ttdoc">Creates a VALUE-type secret containing a JWT. </div><div class="ttdef"><b>Definition:</b> jwt_secret_generator.hpp:36</div></div>
<div class="ttc" id="jwt__secret__generator_8hpp_html"><div class="ttname"><a href="jwt__secret__generator_8hpp.html">jwt_secret_generator.hpp</a></div></div>
<div class="ttc" id="namespaceos_1_1Shell_html_adeacb41dacfa03ad5ceebd9a53582997"><div class="ttname"><a href="namespaceos_1_1Shell.html#adeacb41dacfa03ad5ceebd9a53582997">os::Shell::arg0</a></div><div class="ttdeci">constexpr const char * arg0</div><div class="ttdef"><b>Definition:</b> shell.hpp:44</div></div>
@@ -178,7 +178,7 @@
<div class="ttc" id="namespacemesos_1_1internal_1_1tests_1_1v1_html_a19ac8575bee06c9720bdef71dea5a0d7"><div class="ttname"><a href="namespacemesos_1_1internal_1_1tests_1_1v1.html#a19ac8575bee06c9720bdef71dea5a0d7">mesos::internal::tests::v1::CREATE_VOLUME</a></div><div class="ttdeci">mesos::v1::Offer::Operation CREATE_VOLUME(Args &&...args)</div><div class="ttdef"><b>Definition:</b> mesos.hpp:2124</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 "untyped" 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="namespacemesos_1_1internal_1_1tests_1_1v1_html_ad065447896b2bde83fa3df23e9d5e908"><div class="ttname"><a href="namespacemesos_1_1internal_1_1tests_1_1v1.html#ad065447896b2bde83fa3df23e9d5e908">mesos::internal::tests::v1::createCallAccept</a></div><div class="ttdeci">mesos::v1::scheduler::Call createCallAccept(const mesos::v1::FrameworkID &frameworkId, const mesos::v1::Offer &offer, const std::vector< mesos::v1::Offer::Operation > &operations)</div><div class="ttdef"><b>Definition:</b> mesos.hpp:2165</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1URL_html"><div class="ttname"><a href="structprocess_1_1http_1_1URL.html">process::http::URL</a></div><div class="ttdef"><b>Definition:</b> http.hpp:129</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1URL_html"><div class="ttname"><a href="structprocess_1_1http_1_1URL.html">process::http::URL</a></div><div class="ttdef"><b>Definition:</b> http.hpp:128</div></div>
<div class="ttc" id="classmesos_1_1internal_1_1tests_1_1MockExecutor_html_a51813ff962ad11b4950ed750f81e4560"><div class="ttname"><a href="classmesos_1_1internal_1_1tests_1_1MockExecutor.html#a51813ff962ad11b4950ed750f81e4560">mesos::internal::tests::MockExecutor::id</a></div><div class="ttdeci">const ExecutorID id</div><div class="ttdef"><b>Definition:</b> mesos.hpp:2464</div></div>
<div class="ttc" id="libprocess_2include_2process_2gtest_8hpp_html_a269c59ba4bb2bec7ac8e361e45f52d43"><div class="ttname"><a href="libprocess_2include_2process_2gtest_8hpp.html#a269c59ba4bb2bec7ac8e361e45f52d43">AWAIT_READY</a></div><div class="ttdeci">#define AWAIT_READY(actual)</div><div class="ttdef"><b>Definition:</b> gtest.hpp:282</div></div>
<div class="ttc" id="namespacemesos_1_1internal_1_1local_html_a49af0f1418069661970870214d98d0c4"><div class="ttname"><a href="namespacemesos_1_1internal_1_1local.html#a49af0f1418069661970870214d98d0c4">mesos::internal::local::launch</a></div><div class="ttdeci">process::PID< master::Master > launch(const Flags &flags, mesos::allocator::Allocator *_allocator=nullptr)</div></div>
@@ -212,7 +212,7 @@
<div class="ttc" id="classmesos_1_1SchedulerDriver_html_aaaa8882ecb2e0fbaea33b8575a865dc5"><div class="ttname"><a href="classmesos_1_1SchedulerDriver.html#aaaa8882ecb2e0fbaea33b8575a865dc5">mesos::SchedulerDriver::declineOffer</a></div><div class="ttdeci">virtual Status declineOffer(const OfferID &offerId, const Filters &filters=Filters())=0</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:134</div></div>
<div class="ttc" id="classOption_html_aca73609603df4687dba70c2a5df47ef8"><div class="ttname"><a href="classOption.html#aca73609603df4687dba70c2a5df47ef8">Option::none</a></div><div class="ttdeci">static Option< T > none()</div><div class="ttdef"><b>Definition:</b> option.hpp:31</div></div>
-<div class="ttc" id="classprocess_1_1http_1_1Headers_html"><div class="ttname"><a href="classprocess_1_1http_1_1Headers.html">process::http::Headers</a></div><div class="ttdef"><b>Definition:</b> http.hpp:456</div></div>
+<div class="ttc" id="classprocess_1_1http_1_1Headers_html"><div class="ttname"><a href="classprocess_1_1http_1_1Headers.html">process::http::Headers</a></div><div class="ttdef"><b>Definition:</b> http.hpp:455</div></div>
<div class="ttc" id="namespacemesos_1_1internal_1_1tests_html_a01abc032929a41cdafd4268985dc1369"><div class="ttname"><a href="namespacemesos_1_1internal_1_1tests.html#a01abc032929a41cdafd4268985dc1369">mesos::internal::tests::DEFAULT_TEST_ROLE</a></div><div class="ttdeci">constexpr char DEFAULT_TEST_ROLE[]</div><div class="ttdef"><b>Definition:</b> mesos.hpp:110</div></div>
<div class="ttc" id="3rdparty_2libprocess_2include_2process_2pid_8hpp_html"><div class="ttname"><a href="3rdparty_2libprocess_2include_2process_2pid_8hpp.html">pid.hpp</a></div></div>
<div class="ttc" id="structmesos_1_1internal_1_1tests_1_1ParamExecutorType_1_1Printer_html_a413dd9344068400972b8f481b4873495"><div class="ttname"><a href="structmesos_1_1internal_1_1tests_1_1ParamExecutorType_1_1Printer.html#a413dd9344068400972b8f481b4873495">mesos::internal::tests::ParamExecutorType::Printer::operator()</a></div><div class="ttdeci">std::string operator()(const ::testing::TestParamInfo< ParamExecutorType > &info) const </div><div class="ttdef"><b>Definition:</b> mesos.hpp:3784</div></div>
@@ -290,7 +290,7 @@
<div class="ttc" id="namespacemesos_1_1internal_1_1tests_1_1v1_html_a3361bf9eac8c4763b8932f1efce7cb8a"><div class="ttname"><a href="namespacemesos_1_1internal_1_1tests_1_1v1.html#a3361bf9eac8c4763b8932f1efce7cb8a">mesos::internal::tests::v1::CREATE</a></div><div class="ttdeci">mesos::v1::Offer::Operation CREATE(Args &&...args)</div><div class="ttdef"><b>Definition:</b> mesos.hpp:2074</div></div>
<div class="ttc" id="classmesos_1_1internal_1_1tests_1_1ContainerizerTest_html"><div class="ttname"><a href="classmesos_1_1internal_1_1tests_1_1ContainerizerTest.html">mesos::internal::tests::ContainerizerTest</a></div><div class="ttdef"><b>Definition:</b> mesos.hpp:306</div></div>
<div class="ttc" id="classmesos_1_1internal_1_1tests_1_1resource__provider_1_1MockResourceProvider_html_a52529112f58425e8dc722c17076a0fa6"><div class="ttname"><a href="classmesos_1_1internal_1_1tests_1_1resource__provider_1_1MockResourceProvider.html#a52529112f58425e8dc722c17076a0fa6">mesos::internal::tests::resource_provider::MockResourceProvider::MockResourceProvider</a></div><div class="ttdeci">MockResourceProvider(const ResourceProviderInfo &_info, const Option< Resources > &_resources=None())</div><div class="ttdef"><b>Definition:</b> mesos.hpp:2953</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Request_html_a78dfcfa785afc80e221d92543ff617f1"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html#a78dfcfa785afc80e221d92543ff617f1">process::http::Request::body</a></div><div class="ttdeci">std::string body</div><div class="ttdef"><b>Definition:</b> http.hpp:563</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Request_html_a78dfcfa785afc80e221d92543ff617f1"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html#a78dfcfa785afc80e221d92543ff617f1">process::http::Request::body</a></div><div class="ttdeci">std::string body</div><div class="ttdef"><b>Definition:</b> http.hpp:562</div></div>
<div class="ttc" id="classBytes_html_a1a2e9277ebe7d227a21f111898c49a8c"><div class="ttname"><a href="classBytes.html#a1a2e9277ebe7d227a21f111898c49a8c">Bytes::bytes</a></div><div class="ttdeci">uint64_t bytes() const </div><div class="ttdef"><b>Definition:</b> bytes.hpp:79</div></div>
<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1GarbageCollector_html"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1GarbageCollector.html">mesos::internal::slave::GarbageCollector</a></div><div class="ttdef"><b>Definition:</b> gc.hpp:42</div></div>
<div class="ttc" id="classmesos_1_1internal_1_1tests_1_1MockAuthorizer_html"><div class="ttname"><a href="classmesos_1_1internal_1_1tests_1_1MockAuthorizer.html">mesos::internal::tests::MockAuthorizer</a></div><div class="ttdef"><b>Definition:</b> mesos.hpp:3336</div></div>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/src_2version_2version_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/src_2version_2version_8hpp_source.html b/content/api/latest/c++/src_2version_2version_8hpp_source.html
index 0eb02a9..bd9a626 100644
--- a/content/api/latest/c++/src_2version_2version_8hpp_source.html
+++ b/content/api/latest/c++/src_2version_2version_8hpp_source.html
@@ -59,7 +59,7 @@
<div class="ttc" id="namespacemesos_1_1internal_html_a4311a7bd3d79fd1225d08444f8ff758a"><div class="ttname"><a href="namespacemesos_1_1internal.html#a4311a7bd3d79fd1225d08444f8ff758a">mesos::internal::version</a></div><div class="ttdeci">JSON::Object version()</div><div class="ttdef"><b>Definition:</b> version.hpp:32</div></div>
<div class="ttc" id="structJSON_1_1Object_html_a41bbf967d564eb3f57c2bb5453a0e7af"><div class="ttname"><a href="structJSON_1_1Object.html#a41bbf967d564eb3f57c2bb5453a0e7af">JSON::Object::values</a></div><div class="ttdeci">std::map< std::string, Value > values</div><div class="ttdef"><b>Definition:</b> json.hpp:190</div></div>
<div class="ttc" id="classmesos_1_1internal_1_1VersionProcess_html_a1f0746cf6e384fc26bfd7e892fa464c2"><div class="ttname"><a href="classmesos_1_1internal_1_1VersionProcess.html#a1f0746cf6e384fc26bfd7e892fa464c2">mesos::internal::VersionProcess::initialize</a></div><div class="ttdeci">virtual void initialize()</div><div class="ttdoc">Invoked when a process gets spawned. </div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:518</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:517</div></div>
<div class="ttc" id="structJSON_1_1Object_html"><div class="ttname"><a href="structJSON_1_1Object.html">JSON::Object</a></div><div class="ttdef"><b>Definition:</b> json.hpp:154</div></div>
<div class="ttc" id="namespacemesos_1_1internal_1_1build_html_a815dab7636e7ddbb6ede2493d9b3f40f"><div class="ttname"><a href="namespacemesos_1_1internal_1_1build.html#a815dab7636e7ddbb6ede2493d9b3f40f">mesos::internal::build::DATE</a></div><div class="ttdeci">const std::string DATE</div></div>
<div class="ttc" id="namespacemesos_html"><div class="ttname"><a href="namespacemesos.html">mesos</a></div><div class="ttdef"><b>Definition:</b> spec.hpp:30</div></div>
[05/10] mesos-site git commit: Updated the website built from mesos
SHA: 4189657.
Posted by gi...@apache.org.
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/include_2mesos_2authentication_2http_2authenticatee_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/include_2mesos_2authentication_2http_2authenticatee_8hpp_source.html b/content/api/latest/c++/include_2mesos_2authentication_2http_2authenticatee_8hpp_source.html
index 5bae5d2..fc47a7c 100644
--- a/content/api/latest/c++/include_2mesos_2authentication_2http_2authenticatee_8hpp_source.html
+++ b/content/api/latest/c++/include_2mesos_2authentication_2http_2authenticatee_8hpp_source.html
@@ -54,7 +54,7 @@
<div class="contents">
<a href="include_2mesos_2authentication_2http_2authenticatee_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> <span class="comment">// Licensed to the Apache Software Foundation (ASF) under one</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// or more contributor license agreements. See the NOTICE file</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// distributed with this work for additional information</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// regarding copyright ownership. The ASF licenses this file</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// to you under the Apache License, Version 2.0 (the</span></div><div
class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">// "License"); you may not use this file except in compliance</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">// with the License. You may obtain a copy of the License at</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">//</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">// http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">//</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">// Unless required by applicable law or agreed to in writing, software</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</s
pan> <span class="comment">// distributed under the License is distributed on an "AS IS" BASIS,</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">// See the License for the specific language governing permissions and</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">// limitations under the License.</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#ifndef __MESOS_AUTHENTICATION_HTTP_AUTHENTICATEE_HPP__</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preproces
sor">#define __MESOS_AUTHENTICATION_HTTP_AUTHENTICATEE_HPP__</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <<a class="code" href="include_2mesos_2v1_2mesos_8hpp.html">mesos/v1/mesos.hpp</a>></span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include <<a class="code" href="future_8hpp.html">process/future.hpp</a>></span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <<a class="code" href="3rdparty_2libprocess_2include_2process_2http_8hpp.html">process/http.hpp</a>></span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div><div class="line"><a name=
"l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <<a class="code" href="option_8hpp.html">stout/option.hpp</a>></span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="keyword">namespace </span><a class="code" href="namespacemesos.html">mesos</a> {</div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="namespacemesos_1_1http.html"> 28</a></span> <span class="keyword">namespace </span><a class="code" href="namespacemesos_1_1uri.html#a5dff7c4a2df7be12fb642b5801c34f9f">http</a> {</div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="namespacemesos_1_1http_1_1authentication.html"> 29</a></span> <span class="keyword">namespace </span>authentication {</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div
><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="classmesos_1_1http_1_1authentication_1_1Authenticatee.html"> 34</a></span> <span class="keyword">class </span><a class="code" href="classmesos_1_1http_1_1authentication_1_1Authenticatee.html">Authenticatee</a></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> {</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keyword">virtual</span> <a class="code" href="classmesos_1_1http_1_1authentication_1_1Authenticatee.html#a7ceee6571e5c6fc780d0e28be113c129">~Authenticatee</a>() = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="classmesos_1_1http
_1_1authentication_1_1Authenticatee.html#a7d5f4e616a2fc6fefe403155ad45bb83"> 46</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1http_1_1authentication_1_1Authenticatee.html#a7d5f4e616a2fc6fefe403155ad45bb83">reset</a>() {};</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> </div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keyword">virtual</span> std::string <a class="code" href="classmesos_1_1http_1_1authentication_1_1Authenticatee.html#afb97d6c4248a6225f1380b0bc0643b33">scheme</a>() <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span> </div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keyword">virtual</span> <a class="code" href="classprocess_1_1Future.html">process::Future<process::http::Request><
/a> <a class="code" href="classmesos_1_1http_1_1authentication_1_1Authenticatee.html#afaccaceff9fae44ab2fa4efb5565af97">authenticate</a>(</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keyword">const</span> <a class="code" href="structprocess_1_1http_1_1Request.html">process::http::Request</a>& <a class="code" href="namespaceprocess_1_1http.html#ad8f400b5e54038df7e5662ec35da05fa">request</a>,</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keyword">const</span> <a class="code" href="classOption.html">Option<mesos::v1::Credential></a>& credential) = 0;</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span> };</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span> </div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> } <span class="comment">// namespace authentication {</span></d
iv><div class="line"><a name="l00074"></a><span class="lineno"> 74</span> } <span class="comment">// namespace http {</span></div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span> } <span class="comment">// namespace mesos {</span></div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> </div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span> <span class="preprocessor">#endif // __MESOS_AUTHENTICATION_HTTP_AUTHENTICATEE_HPP__</span></div><div class="ttc" id="classOption_html"><div class="ttname"><a href="classOption.html">Option</a></div><div class="ttdef"><b>Definition:</b> option.hpp:28</div></div>
<div class="ttc" id="namespaceprocess_1_1http_html_ad8f400b5e54038df7e5662ec35da05fa"><div class="ttname"><a href="namespaceprocess_1_1http.html#ad8f400b5e54038df7e5662ec35da05fa">process::http::request</a></div><div class="ttdeci">Future< Response > request(const Request &request, bool streamedResponse=false)</div><div class="ttdoc">Asynchronously sends an HTTP request to the process and returns the HTTP response once the entire res...</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:518</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:517</div></div>
<div class="ttc" id="classmesos_1_1http_1_1authentication_1_1Authenticatee_html_afb97d6c4248a6225f1380b0bc0643b33"><div class="ttname"><a href="classmesos_1_1http_1_1authentication_1_1Authenticatee.html#afb97d6c4248a6225f1380b0bc0643b33">mesos::http::authentication::Authenticatee::scheme</a></div><div class="ttdeci">virtual std::string scheme() const =0</div><div class="ttdoc">Name of the authentication scheme implemented. </div></div>
<div class="ttc" id="classmesos_1_1http_1_1authentication_1_1Authenticatee_html"><div class="ttname"><a href="classmesos_1_1http_1_1authentication_1_1Authenticatee.html">mesos::http::authentication::Authenticatee</a></div><div class="ttdoc">An abstraction enabling any HTTP API consumer to authenticate. </div><div class="ttdef"><b>Definition:</b> authenticatee.hpp:34</div></div>
<div class="ttc" id="namespacemesos_html"><div class="ttname"><a href="namespacemesos.html">mesos</a></div><div class="ttdef"><b>Definition:</b> spec.hpp:30</div></div>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/index.hhc
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/index.hhc b/content/api/latest/c++/index.hhc
index bd4ae6f..4863f79 100644
--- a/content/api/latest/c++/index.hhc
+++ b/content/api/latest/c++/index.hhc
@@ -12553,6 +12553,7 @@
<LI><OBJECT type="text/sitemap"><param name="Name" value="get"><param name="Local" value="3rdparty_2libprocess_2include_2process_2http_8hpp.html#a4d43ce474f3221d4130453eca1c676fe"><param name="ImageNumber" value="11"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Name" value="get"><param name="Local" value="3rdparty_2libprocess_2include_2process_2http_8hpp.html#addd925478a71949dd7184a610c5321aa"><param name="ImageNumber" value="11"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Name" value="get"><param name="Local" value="3rdparty_2libprocess_2include_2process_2http_8hpp.html#afe7cf9be699da30586b6c46bdd8b8158"><param name="ImageNumber" value="11"></OBJECT>
+ <LI><OBJECT type="text/sitemap"><param name="Name" value="isValidStatus"><param name="Local" value="3rdparty_2libprocess_2include_2process_2http_8hpp.html#ad1e795f8cd92c0d2c95aaedab510d4f6"><param name="ImageNumber" value="11"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Name" value="operator<<"><param name="Local" value="3rdparty_2libprocess_2include_2process_2http_8hpp.html#a64211e6e3428968c27b5753f05cbcf45"><param name="ImageNumber" value="11"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Name" value="parse"><param name="Local" value="3rdparty_2libprocess_2include_2process_2http_8hpp.html#a2410072cba7b95c5d555a0747ef33b50"><param name="ImageNumber" value="11"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Name" value="post"><param name="Local" value="3rdparty_2libprocess_2include_2process_2http_8hpp.html#ae18e508ddf8cd65d7778320fa57550f3"><param name="ImageNumber" value="11"></OBJECT>
@@ -12568,7 +12569,6 @@
<LI><OBJECT type="text/sitemap"><param name="Name" value="setCallbacks"><param name="Local" value="3rdparty_2libprocess_2include_2process_2http_8hpp.html#a5c0dc8d25fb3556f4be432507c6f0f2c"><param name="ImageNumber" value="11"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Name" value="unsetAuthenticator"><param name="Local" value="3rdparty_2libprocess_2include_2process_2http_8hpp.html#a33ca9afbbd1aceb21aa64c2069973a24"><param name="ImageNumber" value="11"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Name" value="unsetCallbacks"><param name="Local" value="3rdparty_2libprocess_2include_2process_2http_8hpp.html#a0083eba64f0133537ce496006258a344"><param name="ImageNumber" value="11"></OBJECT>
- <LI><OBJECT type="text/sitemap"><param name="Name" value="statuses"><param name="Local" value="3rdparty_2libprocess_2include_2process_2http_8hpp.html#a061749759c8d327692f4dbb3bb8b8440"><param name="ImageNumber" value="11"></OBJECT>
</UL>
<LI><OBJECT type="text/sitemap"><param name="Name" value="id.hpp"><param name="Local" value="id_8hpp.html"><param name="ImageNumber" value="1"></OBJECT>
<UL>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/index.hhk
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/index.hhk b/content/api/latest/c++/index.hhk
index e710e62..28a5e57 100644
--- a/content/api/latest/c++/index.hhk
+++ b/content/api/latest/c++/index.hhk
@@ -20,6 +20,7 @@
<LI><OBJECT type="text/sitemap"><param name="Local" value="3rdparty_2libprocess_2include_2process_2http_8hpp.html#a326df4e96872718e16229a600f4891dc"><param name="Name" value="decodeResponses"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="3rdparty_2libprocess_2include_2process_2http_8hpp.html#a4832f972e907d7d8de3a4e8bb23c23fc"><param name="Name" value="encode"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="3rdparty_2libprocess_2include_2process_2http_8hpp.html#a3b24d74aae0b0b96494de84a96105944"><param name="Name" value="get"></OBJECT>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="3rdparty_2libprocess_2include_2process_2http_8hpp.html#ad1e795f8cd92c0d2c95aaedab510d4f6"><param name="Name" value="isValidStatus"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="3rdparty_2libprocess_2include_2process_2http_8hpp.html#a64211e6e3428968c27b5753f05cbcf45"><param name="Name" value="operator<<"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="3rdparty_2libprocess_2include_2process_2http_8hpp.html#a2410072cba7b95c5d555a0747ef33b50"><param name="Name" value="parse"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="3rdparty_2libprocess_2include_2process_2http_8hpp.html#ae18e508ddf8cd65d7778320fa57550f3"><param name="Name" value="post"></OBJECT>
@@ -28,7 +29,6 @@
<LI><OBJECT type="text/sitemap"><param name="Local" value="3rdparty_2libprocess_2include_2process_2http_8hpp.html#ac1d6c9a9788de075b4c896603b6553f2"><param name="Name" value="serve"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="3rdparty_2libprocess_2include_2process_2http_8hpp.html#a77c8aabd89ad49fb5bbc727924042cc8"><param name="Name" value="setAuthenticator"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="3rdparty_2libprocess_2include_2process_2http_8hpp.html#a5c0dc8d25fb3556f4be432507c6f0f2c"><param name="Name" value="setCallbacks"></OBJECT>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="3rdparty_2libprocess_2include_2process_2http_8hpp.html#a061749759c8d327692f4dbb3bb8b8440"><param name="Name" value="statuses"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="3rdparty_2libprocess_2include_2process_2http_8hpp.html#a33ca9afbbd1aceb21aa64c2069973a24"><param name="Name" value="unsetAuthenticator"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="3rdparty_2libprocess_2include_2process_2http_8hpp.html#a0083eba64f0133537ce496006258a344"><param name="Name" value="unsetCallbacks"></OBJECT>
</UL>
@@ -7970,6 +7970,11 @@
<LI><OBJECT type="text/sitemap"><param name="Local" value="classmesos_1_1Attributes.html#aafd4919b74bf74b8e504bdd45a7c1bba"><param name="Name" value="mesos::Attributes"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classmesos_1_1v1_1_1Attributes.html#adbad1ab016f8205ef50e2adee9638849"><param name="Name" value="mesos::v1::Attributes"></OBJECT>
</UL>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="namespaceprocess_1_1http.html#ad1e795f8cd92c0d2c95aaedab510d4f6"><param name="Name" value="isValidStatus"></OBJECT>
+ <UL>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="namespaceprocess_1_1http.html#ad1e795f8cd92c0d2c95aaedab510d4f6"><param name="Name" value="3rdparty/libprocess/include/process/http.hpp"></OBJECT>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="namespaceprocess_1_1http.html#ad1e795f8cd92c0d2c95aaedab510d4f6"><param name="Name" value="process::http"></OBJECT>
+ </UL>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1HierarchicalAllocatorProcess.html#a91f9279eaa6f8f6a813eb417fcda4d73"><param name="Name" value="isWhitelisted"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classflags_1_1FlagsBase.html#ac73a41c2c9ba65800a8aad11ba595612"><param name="Name" value="iterator"></OBJECT>
<UL>
@@ -14665,7 +14670,6 @@
<LI><OBJECT type="text/sitemap"><param name="Local" value="namespacemesos_1_1roles.html#a6524417fdb4cb70c9f02354efe71ff57"><param name="Name" value="parse"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="namespacemesos_1_1roles.html#aa33464e694d17fab588e0ff5dce69701"><param name="Name" value="validate"></OBJECT>
</UL>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classmesos_1_1Scheduler.html"><param name="Name" value="mesos::Scheduler"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="namespacemesos_1_1scheduler.html"><param name="Name" value="mesos::scheduler"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classmesos_1_1Scheduler.html"><param name="Name" value="mesos::Scheduler"></OBJECT>
<UL>
@@ -18606,8 +18610,8 @@
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1EventQueue.html#a73f44b10f6d09ead6bdf3ab11cba4d06"><param name="Name" value="consumer"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1EventQueue.html#a11390aaa07bced511a5b7fe4c94e97fd"><param name="Name" value="Consumer"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1EventQueue.html#ad2d51d8a2a80f473de0bcf2e08e48d90"><param name="Name" value="EventQueue"></OBJECT>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1EventQueue.html#aaf00b363e56ec3a72a6f775a3814d6a0"><param name="Name" value="Producer"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1EventQueue.html#aa95046266e731af49ccfb9d689cb1eca"><param name="Name" value="producer"></OBJECT>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1EventQueue.html#aaf00b363e56ec3a72a6f775a3814d6a0"><param name="Name" value="Producer"></OBJECT>
</UL>
<LI><OBJECT type="text/sitemap"><param name="Local" value="structprocess_1_1EventVisitor.html"><param name="Name" value="process::EventVisitor"></OBJECT>
<UL>
@@ -19083,12 +19087,12 @@
<LI><OBJECT type="text/sitemap"><param name="Local" value="namespaceprocess_1_1http.html#a4832f972e907d7d8de3a4e8bb23c23fc"><param name="Name" value="encode"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="namespaceprocess_1_1http.html#a3b24d74aae0b0b96494de84a96105944"><param name="Name" value="get"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="namespaceprocess_1_1http.html#acc0a9c62d4bef93195e93af072f0cda5a293c9ea246ff9985dc6f62a650f78986"><param name="Name" value="HTTP"></OBJECT>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="namespaceprocess_1_1http.html#ad1e795f8cd92c0d2c95aaedab510d4f6"><param name="Name" value="isValidStatus"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="namespaceprocess_1_1http.html#a64211e6e3428968c27b5753f05cbcf45"><param name="Name" value="operator<<"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="namespaceprocess_1_1http.html#ae18e508ddf8cd65d7778320fa57550f3"><param name="Name" value="post"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="namespaceprocess_1_1http.html#ad8f400b5e54038df7e5662ec35da05fa"><param name="Name" value="request"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="namespaceprocess_1_1http.html#a1443ad581d0388a87013f0284906c2b3"><param name="Name" value="requestDelete"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="namespaceprocess_1_1http.html#a43075237950bf4d118c499a22b886798"><param name="Name" value="serve"></OBJECT>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="namespaceprocess_1_1http.html#a061749759c8d327692f4dbb3bb8b8440"><param name="Name" value="statuses"></OBJECT>
</UL>
<LI><OBJECT type="text/sitemap"><param name="Local" value="namespaceprocess_1_1http__parsing.html"><param name="Name" value="process::http_parsing"></OBJECT>
<UL>
@@ -19915,8 +19919,8 @@
</UL>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html"><param name="Name" value="Process< FetcherProcess >"></OBJECT>
<UL>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a1e9980d5d873c695d4a1749971e18cd9"><param name="Name" value="This"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a919f2834843f8620784c58aee7db2371"><param name="Name" value="~Process"></OBJECT>
</UL>
@@ -19936,8 +19940,8 @@
</UL>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html"><param name="Name" value="Process< Heartbeater< Message, Event > >"></OBJECT>
<UL>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a1e9980d5d873c695d4a1749971e18cd9"><param name="Name" value="This"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a919f2834843f8620784c58aee7db2371"><param name="Name" value="~Process"></OBJECT>
</UL>
@@ -19978,15 +19982,15 @@
</UL>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html"><param name="Name" value="Process< LogProcess >"></OBJECT>
<UL>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a1e9980d5d873c695d4a1749971e18cd9"><param name="Name" value="This"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a919f2834843f8620784c58aee7db2371"><param name="Name" value="~Process"></OBJECT>
</UL>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html"><param name="Name" value="Process< LogReaderProcess >"></OBJECT>
<UL>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a1e9980d5d873c695d4a1749971e18cd9"><param name="Name" value="This"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a919f2834843f8620784c58aee7db2371"><param name="Name" value="~Process"></OBJECT>
</UL>
@@ -20020,8 +20024,8 @@
</UL>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html"><param name="Name" value="Process< MesosContainerizerProcess >"></OBJECT>
<UL>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a1e9980d5d873c695d4a1749971e18cd9"><param name="Name" value="This"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a919f2834843f8620784c58aee7db2371"><param name="Name" value="~Process"></OBJECT>
</UL>
@@ -20041,8 +20045,8 @@
</UL>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html"><param name="Name" value="Process< NetworkProcess >"></OBJECT>
<UL>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a1e9980d5d873c695d4a1749971e18cd9"><param name="Name" value="This"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a919f2834843f8620784c58aee7db2371"><param name="Name" value="~Process"></OBJECT>
</UL>
@@ -20090,15 +20094,15 @@
</UL>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html"><param name="Name" value="Process< SequenceProcess >"></OBJECT>
<UL>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a1e9980d5d873c695d4a1749971e18cd9"><param name="Name" value="This"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a919f2834843f8620784c58aee7db2371"><param name="Name" value="~Process"></OBJECT>
</UL>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html"><param name="Name" value="Process< Slave >"></OBJECT>
<UL>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a1e9980d5d873c695d4a1749971e18cd9"><param name="Name" value="This"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a919f2834843f8620784c58aee7db2371"><param name="Name" value="~Process"></OBJECT>
</UL>
@@ -20299,8 +20303,8 @@
<LI><OBJECT type="text/sitemap"><param name="Local" value="classProcessWatcher.html#a8858c74f313c22f72836beabb73e7c27"><param name="Name" value="process"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classProcessWatcher.html#ae6f5acc4af4d936adca882e2274e6491"><param name="Name" value="ProcessWatcher"></OBJECT>
</UL>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1EventQueue.html#aa95046266e731af49ccfb9d689cb1eca"><param name="Name" value="producer"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1EventQueue.html#aaf00b363e56ec3a72a6f775a3814d6a0"><param name="Name" value="Producer"></OBJECT>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1EventQueue.html#aa95046266e731af49ccfb9d689cb1eca"><param name="Name" value="producer"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Profiler.html#ac3603ac30749c5f0bc2321769b9bb9a8"><param name="Name" value="Profiler"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="namespaceelf.html#a5e0f37b29d2d9500fe43653adefc1022ac94c37334a8660ad8e5c05176a2b3853"><param name="Name" value="PROGBITS"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classflags_1_1FlagsBase.html#a88f899fbf20a712e8bb7236284b41bf4"><param name="Name" value="programName_"></OBJECT>
@@ -22179,10 +22183,13 @@
<LI><OBJECT type="text/sitemap"><param name="Local" value="structcgroups_1_1devices_1_1Entry.html#a1fac1cd1d3e8b37fae9e07b8dfb869f6"><param name="Name" value="selector"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classmesos_1_1internal_1_1slave_1_1FetcherProcess_1_1Cache.html#a0467f9eeeff780c236140976df41e6bf"><param name="Name" value="selectVictims"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classmesos_1_1internal_1_1HttpConnectionProcess.html#a15a7b927d5655f1e59ea1bd43d2fe8f9"><param name="Name" value="Self"></OBJECT>
+ <UL>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classmesos_1_1internal_1_1HttpConnectionProcess.html#a15a7b927d5655f1e59ea1bd43d2fe8f9"><param name="Name" value="mesos::internal::HttpConnectionProcess"></OBJECT>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1HierarchicalAllocatorProcess.html#ad210fa980c3c928d2adb439a932636d8"><param name="Name" value="mesos::internal::master::allocator::internal::HierarchicalAllocatorProcess"></OBJECT>
+ </UL>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1HierarchicalAllocatorProcess.html#aea22e2f2117fcb1b9afff4996a50692c"><param name="Name" value="self"></OBJECT>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1HierarchicalAllocatorProcess.html#ad210fa980c3c928d2adb439a932636d8"><param name="Name" value="Self"></OBJECT>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classmesos_1_1internal_1_1slave_1_1XfsDiskIsolatorProcess.html#a3a3635fd3f69c6cb59ebb429f5c5d893"><param name="Name" value="self"></OBJECT>
<UL>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1HierarchicalAllocatorProcess.html#aea22e2f2117fcb1b9afff4996a50692c"><param name="Name" value="mesos::internal::master::allocator::internal::HierarchicalAllocatorProcess"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classmesos_1_1internal_1_1slave_1_1XfsDiskIsolatorProcess.html#a3a3635fd3f69c6cb59ebb429f5c5d893"><param name="Name" value="mesos::internal::slave::XfsDiskIsolatorProcess"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="process::Process"></OBJECT>
</UL>
@@ -22195,51 +22202,39 @@
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
- <UL>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Process< CheckerProcess >"></OBJECT>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Process< CollectProcess< T > >"></OBJECT>
- </UL>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
- <UL>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="Process< CollectProcess< T > >"></OBJECT>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="Process< ContainerDaemonProcess >"></OBJECT>
- </UL>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
- <UL>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Process< DockerContainerizerProcess >"></OBJECT>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Process< FetcherProcess >"></OBJECT>
- </UL>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
- <UL>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="Process< FetcherProcess >"></OBJECT>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="Process< GarbageCollectorProcess >"></OBJECT>
- </UL>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
<UL>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Process< GarbageCollectorProcess >"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Process< GroupProcess >"></OBJECT>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Process< Heartbeater< Message, Event > >"></OBJECT>
</UL>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
<UL>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="Process< Help >"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="Process< HttpConnectionProcess< Call, Event > >"></OBJECT>
</UL>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
<UL>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Process< HttpConnectionProcess< Call, Event > >"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Process< HttpProxy >"></OBJECT>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Process< JobObjectManager >"></OBJECT>
</UL>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
<UL>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="Process< Logging >"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="Process< LogProcess >"></OBJECT>
@@ -22255,45 +22250,51 @@
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="Process< LogWriterProcess >"></OBJECT>
</UL>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
- <UL>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Process< LogWriterProcess >"></OBJECT>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Process< Master >"></OBJECT>
- </UL>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
- <UL>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="Process< Master >"></OBJECT>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="Process< MemoryProfiler >"></OBJECT>
- </UL>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
<UL>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Process< Master >"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Process< MemoryProfiler >"></OBJECT>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Process< MesosAllocatorProcess >"></OBJECT>
</UL>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
+ <UL>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="Process< MesosAllocatorProcess >"></OBJECT>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="Process< MesosContainerizerProcess >"></OBJECT>
+ </UL>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
+ <UL>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Process< MetricsProcess >"></OBJECT>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Process< NetworkProcess >"></OBJECT>
+ </UL>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
+ <UL>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="Process< NetworkProcess >"></OBJECT>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="Process< Profiler >"></OBJECT>
+ </UL>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
+ <UL>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Process< Profiler >"></OBJECT>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Process< ProvisionerProcess >"></OBJECT>
+ </UL>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
<UL>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="Process< ProvisionerProcess >"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="Process< RateLimiterProcess >"></OBJECT>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="Process< ReaderProcess< T > >"></OBJECT>
</UL>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
<UL>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Process< RateLimiterProcess >"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Process< ReaderProcess< T > >"></OBJECT>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Process< ReaperProcess >"></OBJECT>
</UL>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
<UL>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="Process< ReaperProcess >"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="Process< ReqResProcess< Req, Res > >"></OBJECT>
@@ -22305,20 +22306,32 @@
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
<UL>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Process< StatusUpdateManagerProcess< IDType, CheckpointType, UpdateType > >"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Process< SubsystemProcess >"></OBJECT>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Process< System >"></OBJECT>
</UL>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
+ <UL>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="Process< System >"></OBJECT>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="Process< ThunkProcess< R > >"></OBJECT>
+ </UL>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
+ <UL>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Process< ThunkProcess< R > >"></OBJECT>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Process< UriDiskProfileAdaptorProcess >"></OBJECT>
+ </UL>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
+ <UL>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="Process< UriDiskProfileAdaptorProcess >"></OBJECT>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="Process< VersionProcess >"></OBJECT>
+ </UL>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Self"></OBJECT>
+ <UL>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Process< VersionProcess >"></OBJECT>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#a0ff94db0ab3ccea7ba6fd8cba68b6b9e"><param name="Name" value="Process< WhitelistWatcher >"></OBJECT>
+ </UL>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e"><param name="Name" value="self"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="semaphore_8hpp.html"><param name="Name" value="semaphore.hpp"></OBJECT>
<UL>
@@ -23697,12 +23710,7 @@
<LI><OBJECT type="text/sitemap"><param name="Local" value="status__utils_8hpp.html#a9e2998a6c0ec36d796adcec49131a5db"><param name="Name" value="WSUCCEEDED"></OBJECT>
</UL>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1grpc_1_1StatusError.html#af8b12349660968c3171d71d48d82111b"><param name="Name" value="StatusError"></OBJECT>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="namespaceprocess_1_1http.html#a061749759c8d327692f4dbb3bb8b8440"><param name="Name" value="statuses"></OBJECT>
- <UL>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="namespaceprocess_1_1http.html#a061749759c8d327692f4dbb3bb8b8440"><param name="Name" value="3rdparty/libprocess/include/process/http.hpp"></OBJECT>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1HierarchicalAllocatorProcess_1_1Slave_1_1Maintenance.html#ac7374c52156a13e512d65cdb3da092ef"><param name="Name" value="mesos::internal::master::allocator::internal::HierarchicalAllocatorProcess::Slave::Maintenance"></OBJECT>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="namespaceprocess_1_1http.html#a061749759c8d327692f4dbb3bb8b8440"><param name="Name" value="process::http"></OBJECT>
- </UL>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="structmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1HierarchicalAllocatorProcess_1_1Slave_1_1Maintenance.html#ac7374c52156a13e512d65cdb3da092ef"><param name="Name" value="statuses"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classmesos_1_1internal_1_1master_1_1Master.html#aa4711c6530137b8a39e2d633e66f6e84"><param name="Name" value="statusUpdate"></OBJECT>
<UL>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classmesos_1_1internal_1_1master_1_1Master.html#aa4711c6530137b8a39e2d633e66f6e84"><param name="Name" value="mesos::internal::master::Master"></OBJECT>
@@ -25223,8 +25231,8 @@
<LI><OBJECT type="text/sitemap"><param name="Local" value="unreachable_8hpp.html#a247a4dee16fdea6cdd332f35a572e7d3"><param name="Name" value="Unreachable"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="unreachable_8hpp.html#a0bc63b24b654ca433be7b97a3edde132"><param name="Name" value="UNREACHABLE"></OBJECT>
</UL>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="unreachable_8hpp.html#a0bc63b24b654ca433be7b97a3edde132"><param name="Name" value="UNREACHABLE"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="unreachable_8hpp.html#a247a4dee16fdea6cdd332f35a572e7d3"><param name="Name" value="Unreachable"></OBJECT>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="unreachable_8hpp.html#a0bc63b24b654ca433be7b97a3edde132"><param name="Name" value="UNREACHABLE"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="structmesos_1_1internal_1_1master_1_1Framework.html#a9db50e71935c3f9ac83ba47e18c700f8"><param name="Name" value="unreachableTasks"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classmesos_1_1internal_1_1slave_1_1FetcherProcess_1_1Cache_1_1Entry.html#a3df365057bac1a641a348583b2fa7480"><param name="Name" value="unreference"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="structmesos_1_1internal_1_1master_1_1Framework.html#ac1cc9915f69092137574206fe15e571c"><param name="Name" value="unregisteredTime"></OBJECT>
@@ -25993,8 +26001,8 @@
<LI><OBJECT type="text/sitemap"><param name="Local" value="classprocess_1_1WeakFuture.html#abc498bf35827627ae815540181e073a9"><param name="Name" value="WeakFuture"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classmesos_1_1internal_1_1master_1_1Flags.html#a94a63a333e884c51856ce197f29f8e89"><param name="Name" value="webui_dir"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classWeeks.html"><param name="Name" value="Weeks"></OBJECT>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="classDuration.html#aadcf23b757330ae23ee70117aec0656e"><param name="Name" value="WEEKS"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classDuration.html#ae98a411bf78d0ab537c021bf3dbd01b0"><param name="Name" value="weeks"></OBJECT>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="classDuration.html#aadcf23b757330ae23ee70117aec0656e"><param name="Name" value="WEEKS"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classWeeks.html"><param name="Name" value="Weeks"></OBJECT>
<UL>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classWeeks.html#a7d1f2cc4ff0b617564e447dfbbcf0373"><param name="Name" value="units"></OBJECT>
@@ -26314,8 +26322,8 @@
<LI><OBJECT type="text/sitemap"><param name="Local" value="classmesos_1_1internal_1_1log_1_1tool_1_1Replica_1_1Flags.html#a84668ca2749a1e1f6fcff9707f7f987b"><param name="Name" value="mesos::internal::log::tool::Replica::Flags"></OBJECT>
</UL>
<LI><OBJECT type="text/sitemap"><param name="Local" value="structos_1_1Process.html#a4f273436ac1bdd45926d3f3c76733f39"><param name="Name" value="zombie"></OBJECT>
- <LI><OBJECT type="text/sitemap"><param name="Local" value="namespacezookeeper.html"><param name="Name" value="zookeeper"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="classZooKeeper.html"><param name="Name" value="ZooKeeper"></OBJECT>
+ <LI><OBJECT type="text/sitemap"><param name="Local" value="namespacezookeeper.html"><param name="Name" value="zookeeper"></OBJECT>
<LI><OBJECT type="text/sitemap"><param name="Local" value="zookeeper_2authentication_8hpp.html"><param name="Name" value="zookeeper/authentication.hpp"></OBJECT>
<UL>
<LI><OBJECT type="text/sitemap"><param name="Local" value="zookeeper_2authentication_8hpp.html#a520e93e970fb994ef0446f92046d3784"><param name="Name" value="EVERYONE_CREATE_AND_READ_CREATOR_ALL"></OBJECT>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/libprocess_2include_2process_2gtest_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/libprocess_2include_2process_2gtest_8hpp_source.html b/content/api/latest/c++/libprocess_2include_2process_2gtest_8hpp_source.html
index 7784499..df6e6b5 100644
--- a/content/api/latest/c++/libprocess_2include_2process_2gtest_8hpp_source.html
+++ b/content/api/latest/c++/libprocess_2include_2process_2gtest_8hpp_source.html
@@ -61,9 +61,9 @@
<div class="ttc" id="libprocess_2include_2process_2gtest_8hpp_html_abbdd1bedaaba6b89d1e2b6be542fea08"><div class="ttname"><a href="libprocess_2include_2process_2gtest_8hpp.html#abbdd1bedaaba6b89d1e2b6be542fea08">AwaitAssertAbandoned</a></div><div class="ttdeci">::testing::AssertionResult AwaitAssertAbandoned(const char *expr, const char *, const process::Future< T > &actual, const Duration &duration)</div><div class="ttdef"><b>Definition:</b> gtest.hpp:186</div></div>
<div class="ttc" id="classprocess_1_1Future_html_aa78977d3b585a5f5ccd682c1e9e2ddc4"><div class="ttname"><a href="classprocess_1_1Future.html#aa78977d3b585a5f5ccd682c1e9e2ddc4">process::Future::get</a></div><div class="ttdeci">const T & get() const </div><div class="ttdef"><b>Definition:</b> future.hpp:1297</div></div>
<div class="ttc" id="namespacestrings_html_ac315a6174f56cba0d8295f84da265416"><div class="ttname"><a href="namespacestrings.html#ac315a6174f56cba0d8295f84da265416">strings::join</a></div><div class="ttdeci">std::stringstream & join(std::stringstream &stream, const std::string &separator, T &&...args)</div><div class="ttdef"><b>Definition:</b> strings.hpp:307</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Response_html_a8fcbd2073ace160af24a9ee531cb4378"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html#a8fcbd2073ace160af24a9ee531cb4378">process::http::Response::status</a></div><div class="ttdeci">std::string status</div><div class="ttdef"><b>Definition:</b> http.hpp:621</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Response_html_a8fcbd2073ace160af24a9ee531cb4378"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html#a8fcbd2073ace160af24a9ee531cb4378">process::http::Response::status</a></div><div class="ttdeci">std::string status</div><div class="ttdef"><b>Definition:</b> http.hpp:620</div></div>
<div class="ttc" id="namespaceos_html_ab2b826c68a25af9e9ef47c570c36e137"><div class="ttname"><a href="namespaceos.html#ab2b826c68a25af9e9ef47c570c36e137">os::sleep</a></div><div class="ttdeci">Try< Nothing > sleep(const Duration &duration)</div><div class="ttdef"><b>Definition:</b> os.hpp:240</div></div>
-<div class="ttc" id="classprocess_1_1http_1_1Headers_html_ace314043b5f44f854097d321246a26c0"><div class="ttname"><a href="classprocess_1_1http_1_1Headers.html#ace314043b5f44f854097d321246a26c0">process::http::Headers::get</a></div><div class="ttdeci">Result< T > get() const </div><div class="ttdef"><b>Definition:</b> http.hpp:487</div></div>
+<div class="ttc" id="classprocess_1_1http_1_1Headers_html_ace314043b5f44f854097d321246a26c0"><div class="ttname"><a href="classprocess_1_1http_1_1Headers.html#ace314043b5f44f854097d321246a26c0">process::http::Headers::get</a></div><div class="ttdeci">Result< T > get() const </div><div class="ttdef"><b>Definition:</b> http.hpp:486</div></div>
<div class="ttc" id="os_8hpp_html"><div class="ttname"><a href="os_8hpp.html">os.hpp</a></div></div>
<div class="ttc" id="classprocess_1_1Future_html_a49b738b9755c0623a57e575ae2fb6431"><div class="ttname"><a href="classprocess_1_1Future.html#a49b738b9755c0623a57e575ae2fb6431">process::Future::await</a></div><div class="ttdeci">bool await(const Duration &duration=Seconds(-1)) const </div><div class="ttdef"><b>Definition:</b> future.hpp:1263</div></div>
<div class="ttc" id="namespaceprocess_html_a4e2dd66121c628a77b57766a7a276838"><div class="ttname"><a href="namespaceprocess.html#a4e2dd66121c628a77b57766a7a276838">process::await</a></div><div class="ttdeci">Future< std::vector< Future< T > > > await(const std::vector< Future< T >> &futures)</div><div class="ttdef"><b>Definition:</b> collect.hpp:309</div></div>
@@ -79,7 +79,7 @@
<div class="ttc" id="stout_2include_2stout_2check_8hpp_html_aee320e7c6e107071f4b85d4cc135a265"><div class="ttname"><a href="stout_2include_2stout_2check_8hpp.html#aee320e7c6e107071f4b85d4cc135a265">CHECK_SOME</a></div><div class="ttdeci">#define CHECK_SOME(expression)</div><div class="ttdef"><b>Definition:</b> check.hpp:50</div></div>
<div class="ttc" id="stout_2include_2stout_2gtest_8hpp_html"><div class="ttname"><a href="stout_2include_2stout_2gtest_8hpp.html">gtest.hpp</a></div></div>
<div class="ttc" id="classprocess_1_1Future_html_abc89036db733a417b7b383b091efaf3c"><div class="ttname"><a href="classprocess_1_1Future.html#abc89036db733a417b7b383b091efaf3c">process::Future::isDiscarded</a></div><div class="ttdeci">bool isDiscarded() const </div><div class="ttdef"><b>Definition:</b> future.hpp:1225</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Response_html_a5f6d23dd77e1eeb0737dc728e0109905"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html#a5f6d23dd77e1eeb0737dc728e0109905">process::http::Response::body</a></div><div class="ttdeci">std::string body</div><div class="ttdef"><b>Definition:</b> http.hpp:654</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Response_html_a5f6d23dd77e1eeb0737dc728e0109905"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html#a5f6d23dd77e1eeb0737dc728e0109905">process::http::Response::body</a></div><div class="ttdeci">std::string body</div><div class="ttdef"><b>Definition:</b> http.hpp:653</div></div>
<div class="ttc" id="classMilliseconds_html"><div class="ttname"><a href="classMilliseconds.html">Milliseconds</a></div><div class="ttdef"><b>Definition:</b> duration.hpp:193</div></div>
<div class="ttc" id="libprocess_2include_2process_2check_8hpp_html_a055321ef5a02c5ca1d39ca7bef7a1232"><div class="ttname"><a href="libprocess_2include_2process_2check_8hpp.html#a055321ef5a02c5ca1d39ca7bef7a1232">CHECK_ABANDONED</a></div><div class="ttdeci">#define CHECK_ABANDONED(expression)</div><div class="ttdef"><b>Definition:</b> check.hpp:38</div></div>
<div class="ttc" id="classprocess_1_1Future_html_a71bde220aed3c725cef2040f63adf42a"><div class="ttname"><a href="classprocess_1_1Future.html#a71bde220aed3c725cef2040f63adf42a">process::Future::onAny</a></div><div class="ttdeci">const Future< T > & onAny(AnyCallback &&callback) const </div><div class="ttdef"><b>Definition:</b> future.hpp:1445</div></div>
@@ -115,7 +115,7 @@
<div class="ttc" id="classprocess_1_1Clock_html_ae3ea265163df2de286e185914265f538"><div class="ttname"><a href="classprocess_1_1Clock.html#ae3ea265163df2de286e185914265f538">process::Clock::resume</a></div><div class="ttdeci">static void resume()</div></div>
<div class="ttc" id="classprocess_1_1Owned_html"><div class="ttname"><a href="classprocess_1_1Owned.html">process::Owned</a></div><div class="ttdef"><b>Definition:</b> owned.hpp:36</div></div>
<div class="ttc" id="libprocess_2include_2process_2gtest_8hpp_html_a7cab36377d5d8de6c4a6c1535001529b"><div class="ttname"><a href="libprocess_2include_2process_2gtest_8hpp.html#a7cab36377d5d8de6c4a6c1535001529b">AwaitAssertResponseStatusEq</a></div><div class="ttdeci">inline::testing::AssertionResult AwaitAssertResponseStatusEq(const char *expectedExpr, const char *actualExpr, const char *durationExpr, const std::string &expected, const process::Future< process::http::Response > &actual, const Duration &duration)</div><div class="ttdef"><b>Definition:</b> gtest.hpp:414</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Response_html_ae463c5c7a083aea98a89cf9b675b59ab"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html#ae463c5c7a083aea98a89cf9b675b59ab">process::http::Response::headers</a></div><div class="ttdeci">Headers headers</div><div class="ttdef"><b>Definition:</b> http.hpp:623</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Response_html_ae463c5c7a083aea98a89cf9b675b59ab"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html#ae463c5c7a083aea98a89cf9b675b59ab">process::http::Response::headers</a></div><div class="ttdeci">Headers headers</div><div class="ttdef"><b>Definition:</b> http.hpp:622</div></div>
<div class="ttc" id="3rdparty_2libprocess_2include_2process_2http_8hpp_html"><div class="ttname"><a href="3rdparty_2libprocess_2include_2process_2http_8hpp.html">http.hpp</a></div></div>
<div class="ttc" id="libprocess_2include_2process_2gtest_8hpp_html_af5232d02c562e977285d52228e29aaa9"><div class="ttname"><a href="libprocess_2include_2process_2gtest_8hpp.html#af5232d02c562e977285d52228e29aaa9">AwaitAssertReady</a></div><div class="ttdeci">::testing::AssertionResult AwaitAssertReady(const char *expr, const char *, const process::Future< T > &actual, const Duration &duration)</div><div class="ttdef"><b>Definition:</b> gtest.hpp:120</div></div>
<div class="ttc" id="classprocess_1_1Latch_html"><div class="ttname"><a href="classprocess_1_1Latch.html">process::Latch</a></div><div class="ttdef"><b>Definition:</b> latch.hpp:24</div></div>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/libprocess_2include_2process_2process_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/libprocess_2include_2process_2process_8hpp_source.html b/content/api/latest/c++/libprocess_2include_2process_2process_8hpp_source.html
index fd517f0..6646d9b 100644
--- a/content/api/latest/c++/libprocess_2include_2process_2process_8hpp_source.html
+++ b/content/api/latest/c++/libprocess_2include_2process_2process_8hpp_source.html
@@ -82,7 +82,7 @@
<div class="ttc" id="classprocess_1_1ProcessBase_html_a2f0e2769d84e1491c180d0da6458624b"><div class="ttname"><a href="classprocess_1_1ProcessBase.html#a2f0e2769d84e1491c180d0da6458624b">process::ProcessBase::http</a></div><div class="ttdeci">hashmap< std::string, HttpEndpoint > http</div><div class="ttdef"><b>Definition:</b> process.hpp:452</div></div>
<div class="ttc" id="structprocess_1_1ExitedEvent_html"><div class="ttname"><a href="structprocess_1_1ExitedEvent.html">process::ExitedEvent</a></div><div class="ttdef"><b>Definition:</b> event.hpp:214</div></div>
<div class="ttc" id="namespaceprocess_1_1mime_html_aa12bd84b9c99ba313fbbf8c56bc411cb"><div class="ttname"><a href="namespaceprocess_1_1mime.html#aa12bd84b9c99ba313fbbf8c56bc411cb">process::mime::types</a></div><div class="ttdeci">std::map< std::string, std::string > types</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:518</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:517</div></div>
<div class="ttc" id="structJSON_1_1Object_html"><div class="ttname"><a href="structJSON_1_1Object.html">JSON::Object</a></div><div class="ttdef"><b>Definition:</b> json.hpp:154</div></div>
<div class="ttc" id="namespaceprocess_html_a283af87525d9611f5d27b9a7dd6b967e"><div class="ttname"><a href="namespaceprocess.html#a283af87525d9611f5d27b9a7dd6b967e">process::logging</a></div><div class="ttdeci">PID< Logging > logging()</div><div class="ttdoc">Return the PID associated with the global logging process. </div></div>
<div class="ttc" id="classhashmap_html"><div class="ttname"><a href="classhashmap.html">hashmap< std::string, MessageHandler ></a></div></div>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/memory__profiler_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/memory__profiler_8hpp_source.html b/content/api/latest/c++/memory__profiler_8hpp_source.html
index 35d1db6..916cc13 100644
--- a/content/api/latest/c++/memory__profiler_8hpp_source.html
+++ b/content/api/latest/c++/memory__profiler_8hpp_source.html
@@ -60,7 +60,7 @@
<div class="ttc" id="namespaceid_html"><div class="ttname"><a href="namespaceid.html">id</a></div><div class="ttdef"><b>Definition:</b> uuid.hpp:33</div></div>
<div class="ttc" id="classprocess_1_1MemoryProfiler_html_afe31588e5286cc4f9a617b19b184431a"><div class="ttname"><a href="classprocess_1_1MemoryProfiler.html#afe31588e5286cc4f9a617b19b184431a">process::MemoryProfiler::MemoryProfiler</a></div><div class="ttdeci">MemoryProfiler(const Option< std::string > &authenticationRealm)</div></div>
<div class="ttc" id="classDuration_html"><div class="ttname"><a href="classDuration.html">Duration</a></div><div class="ttdef"><b>Definition:</b> duration.hpp:32</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:518</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:517</div></div>
<div class="ttc" id="classprocess_1_1MemoryProfiler_html"><div class="ttname"><a href="classprocess_1_1MemoryProfiler.html">process::MemoryProfiler</a></div><div class="ttdef"><b>Definition:</b> memory_profiler.hpp:38</div></div>
<div class="ttc" id="nothing_8hpp_html"><div class="ttname"><a href="nothing_8hpp.html">nothing.hpp</a></div></div>
<div class="ttc" id="path_8hpp_html"><div class="ttname"><a href="path_8hpp.html">path.hpp</a></div></div>
@@ -69,7 +69,7 @@
<div class="ttc" id="classprocess_1_1Timer_html"><div class="ttname"><a href="classprocess_1_1Timer.html">process::Timer</a></div><div class="ttdef"><b>Definition:</b> timer.hpp:30</div></div>
<div class="ttc" id="namespaceprocess_html"><div class="ttname"><a href="namespaceprocess.html">process</a></div><div class="ttdef"><b>Definition:</b> executor.hpp:47</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="structprocess_1_1http_1_1Response_html"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html">process::http::Response</a></div><div class="ttdef"><b>Definition:</b> http.hpp:595</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Response_html"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html">process::http::Response</a></div><div class="ttdef"><b>Definition:</b> http.hpp:594</div></div>
<div class="ttc" id="namespacecgroups_html_a2ecc89636706df947027a4c3c2100fbe"><div class="ttname"><a href="namespacecgroups.html#a2ecc89636706df947027a4c3c2100fbe">cgroups::create</a></div><div class="ttdeci">Try< Nothing > create(const std::string &hierarchy, const std::string &cgroup, bool recursive=false)</div></div>
<div class="ttc" id="classprocess_1_1MemoryProfiler_html_afe31a5aff47b57b2adedfb159a690b88"><div class="ttname"><a href="classprocess_1_1MemoryProfiler.html#afe31a5aff47b57b2adedfb159a690b88">process::MemoryProfiler::~MemoryProfiler</a></div><div class="ttdeci">virtual ~MemoryProfiler()</div><div class="ttdef"><b>Definition:</b> memory_profiler.hpp:42</div></div>
<div class="ttc" id="classprocess_1_1MemoryProfiler_html_a51a6bf768a165ed59c410ce5c08b8838"><div class="ttname"><a href="classprocess_1_1MemoryProfiler.html#a51a6bf768a165ed59c410ce5c08b8838">process::MemoryProfiler::initialize</a></div><div class="ttdeci">virtual void initialize()</div><div class="ttdoc">Invoked when a process gets spawned. </div></div>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/namespacemembers_func_i.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/namespacemembers_func_i.html b/content/api/latest/c++/namespacemembers_func_i.html
index 4bd28e3..dd03ab9 100644
--- a/content/api/latest/c++/namespacemembers_func_i.html
+++ b/content/api/latest/c++/namespacemembers_func_i.html
@@ -184,10 +184,10 @@
: <a class="el" href="namespacenvml.html#abb373520fe242192c76c5962be50eb50">nvml</a>
</li>
<li>isCloexec()
-: <a class="el" href="namespaceos.html#a276116c3bc813df8e42b6104a65e9409">os</a>
+: <a class="el" href="namespaceos.html#a32281111157c19876d8dd6dac7cdbc13">os</a>
</li>
<li>isdir()
-: <a class="el" href="namespaceos_1_1stat.html#aa86aaa21fefc0e9cab89050b60aeca40">os::stat</a>
+: <a class="el" href="namespaceos_1_1stat.html#a0797b18b32940eefae0d4db235e2167d">os::stat</a>
</li>
<li>isfile()
: <a class="el" href="namespaceos_1_1stat.html#a178d1c99fc88dae58f9a5fc4fc3167d5">os::stat</a>
@@ -225,6 +225,9 @@
<li>isUp()
: <a class="el" href="namespacerouting_1_1link.html#a7d1c8b69ea1c451975f9275fd11466e3">routing::link</a>
</li>
+<li>isValidStatus()
+: <a class="el" href="namespaceprocess_1_1http.html#ad1e795f8cd92c0d2c95aaedab510d4f6">process::http</a>
+</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/namespacemembers_i.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/namespacemembers_i.html b/content/api/latest/c++/namespacemembers_i.html
index 7a2fc74..ee6c19d 100644
--- a/content/api/latest/c++/namespacemembers_i.html
+++ b/content/api/latest/c++/namespacemembers_i.html
@@ -211,7 +211,7 @@
: <a class="el" href="namespaceos.html#a32281111157c19876d8dd6dac7cdbc13">os</a>
</li>
<li>isdir()
-: <a class="el" href="namespaceos_1_1stat.html#aa86aaa21fefc0e9cab89050b60aeca40">os::stat</a>
+: <a class="el" href="namespaceos_1_1stat.html#a0797b18b32940eefae0d4db235e2167d">os::stat</a>
</li>
<li>isfile()
: <a class="el" href="namespaceos_1_1stat.html#a178d1c99fc88dae58f9a5fc4fc3167d5">os::stat</a>
@@ -249,6 +249,9 @@
<li>isUp()
: <a class="el" href="namespacerouting_1_1link.html#a7d1c8b69ea1c451975f9275fd11466e3">routing::link</a>
</li>
+<li>isValidStatus()
+: <a class="el" href="namespaceprocess_1_1http.html#ad1e795f8cd92c0d2c95aaedab510d4f6">process::http</a>
+</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/namespacemembers_m.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/namespacemembers_m.html b/content/api/latest/c++/namespacemembers_m.html
index 024653d..a463ba6 100644
--- a/content/api/latest/c++/namespacemembers_m.html
+++ b/content/api/latest/c++/namespacemembers_m.html
@@ -389,7 +389,7 @@
: <a class="el" href="namespacestrings.html#a6ebac6b171c6b20adb298cb020915b03">strings</a>
</li>
<li>model()
-: <a class="el" href="namespacemesos_1_1internal.html#af4e0b860b9f388537ecdd51c8f993441">mesos::internal</a>
+: <a class="el" href="namespacemesos_1_1internal.html#a3d342ae4644fd50c025f74153ea5c6c9">mesos::internal</a>
</li>
<li>ModuleID
: <a class="el" href="namespacemesos_1_1internal_1_1tests.html#a61dcd7752a1b2bfc737b0f9b357191a6">mesos::internal::tests</a>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/namespacemembers_r.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/namespacemembers_r.html b/content/api/latest/c++/namespacemembers_r.html
index 9dceea9..02b7d46 100644
--- a/content/api/latest/c++/namespacemembers_r.html
+++ b/content/api/latest/c++/namespacemembers_r.html
@@ -106,13 +106,13 @@
, <a class="el" href="namespacemesos_1_1internal_1_1credentials.html#a137c93d60149616181a10e9f39986f7f">mesos::internal::credentials</a>
, <a class="el" href="namespacemesos_1_1internal_1_1slave_1_1state.html#adeb89c1623e8d5af457b5b130aceac1d">mesos::internal::slave::state</a>
, <a class="el" href="namespaceos.html#aa1d97ff0a93229e1fe6b33e3e2d567f7">os</a>
+, <a class="el" href="namespaceprocess_1_1io.html#a4c34d22e475e29f12ac739921dcc580f">process::io</a>
</li>
<li>READ
: <a class="el" href="namespaceprocess_1_1io.html#aca1f059ca9f0d7360631c621debeb879">process::io</a>
</li>
<li>read()
-: <a class="el" href="namespaceprocess_1_1io.html#a4c34d22e475e29f12ac739921dcc580f">process::io</a>
-, <a class="el" href="namespaceprotobuf.html#a2120146c620b72d4e1e3ae47bdacb1b3">protobuf</a>
+: <a class="el" href="namespaceprotobuf.html#ae3e1bd443efafaf4f5d0f2ade10b81f9">protobuf</a>
</li>
<li>read< Resources >()
: <a class="el" href="namespacemesos_1_1internal_1_1slave_1_1state.html#a6bdbe39082783fa5f8073104c5aa5b3c">mesos::internal::slave::state</a>
@@ -278,7 +278,7 @@
, <a class="el" href="namespaceprocess.html#a72c24f06ac3f91b9412de80c6252df25">process</a>
</li>
<li>run_in_event_loop()
-: <a class="el" href="namespaceprocess.html#ad91a0486ed34c25dc10ba404f4a1fc9b">process</a>
+: <a class="el" href="namespaceprocess.html#abd611a6cc14dc5e3d73fad6c84268342">process</a>
</li>
<li>runRecoverProtocol()
: <a class="el" href="namespacemesos_1_1internal_1_1log.html#a552d05485d9b86bfcbd577cb669ff5ba">mesos::internal::log</a>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/namespacemembers_s.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/namespacemembers_s.html b/content/api/latest/c++/namespacemembers_s.html
index 28929d9..e1c67f3 100644
--- a/content/api/latest/c++/namespacemembers_s.html
+++ b/content/api/latest/c++/namespacemembers_s.html
@@ -310,9 +310,6 @@
<li>STATUS_UPDATE_RETRY_INTERVAL_MIN
: <a class="el" href="namespacemesos_1_1internal_1_1slave.html#aeb8b9ceb7ee7fb45557ab4beeb3361a9">mesos::internal::slave</a>
</li>
-<li>statuses
-: <a class="el" href="namespaceprocess_1_1http.html#a061749759c8d327692f4dbb3bb8b8440">process::http</a>
-</li>
<li>streamingMediaType()
: <a class="el" href="namespacemesos_1_1internal.html#a1fe4afb9bc1a9f2688b39fdcc8818199">mesos::internal</a>
</li>
@@ -332,7 +329,7 @@
: <a class="el" href="namespaceos.html#acae67fc8bd809c609bf1ffb281d921c6">os</a>
</li>
<li>subprocess()
-: <a class="el" href="namespaceprocess.html#a0a748c548ad3a094196c98f00f9674cf">process</a>
+: <a class="el" href="namespaceprocess.html#a2d7e0a283bc0c9eca8a8b0532e026269">process</a>
</li>
<li>subsystems()
: <a class="el" href="namespacecgroups.html#a155d0ce30a15e5b8b3ca02b189a7ead8">cgroups</a>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/namespacemembers_vars_s.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/namespacemembers_vars_s.html b/content/api/latest/c++/namespacemembers_vars_s.html
index 4039789..b95378d 100644
--- a/content/api/latest/c++/namespacemembers_vars_s.html
+++ b/content/api/latest/c++/namespacemembers_vars_s.html
@@ -112,9 +112,6 @@
<li>STATUS_UPDATE_RETRY_INTERVAL_MIN
: <a class="el" href="namespacemesos_1_1internal_1_1slave.html#aeb8b9ceb7ee7fb45557ab4beeb3361a9">mesos::internal::slave</a>
</li>
-<li>statuses
-: <a class="el" href="namespaceprocess_1_1http.html#a061749759c8d327692f4dbb3bb8b8440">process::http</a>
-</li>
<li>SUCCESS
: <a class="el" href="namespaceprocess_1_1http__parsing.html#aafd4f335653a52c4c13fa094d8943969">process::http_parsing</a>
</li>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/namespacemembers_w.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/namespacemembers_w.html b/content/api/latest/c++/namespacemembers_w.html
index f18d266..646f1da 100644
--- a/content/api/latest/c++/namespacemembers_w.html
+++ b/content/api/latest/c++/namespacemembers_w.html
@@ -132,16 +132,15 @@
: <a class="el" href="namespacecgroups.html#ad199dcd922eab26b23b7011c7e0ca34a">cgroups</a>
, <a class="el" href="namespacemesos_1_1internal_1_1log_1_1protocol.html#a66ff2d5af4db53227f787281c0765d8d">mesos::internal::log::protocol</a>
, <a class="el" href="namespacemesos_1_1internal_1_1log.html#a644a438399ebd57381f8c3eb9261c9bc">mesos::internal::log</a>
-, <a class="el" href="namespaceos_1_1signal__safe.html#a35b77e10ddf35fa4569cb1a7d1e3532b">os::signal_safe</a>
-, <a class="el" href="namespaceos.html#aa0e3acff8992055da620cae8b455d93d">os</a>
+, <a class="el" href="namespaceos_1_1signal__safe.html#a67bf0cd3aa924b5584a8744f15430835">os::signal_safe</a>
+, <a class="el" href="namespaceos.html#a1261e5423671d777b7276223b7427045">os</a>
, <a class="el" href="namespaceprocess_1_1io.html#a49105dc036ad04225c92bd673da5ce39">process::io</a>
</li>
<li>WRITE
: <a class="el" href="namespaceprocess_1_1io.html#ab005316d71b45c5b05de0a6234c6f8fc">process::io</a>
</li>
<li>write()
-: <a class="el" href="namespaceprocess_1_1io.html#a4c2c8de8f0750ab0f0ba40283774dfb6">process::io</a>
-, <a class="el" href="namespaceprotobuf.html#a1c2352b3f232044d4e960e227d530a92">protobuf</a>
+: <a class="el" href="namespaceprotobuf.html#a1c2352b3f232044d4e960e227d530a92">protobuf</a>
</li>
<li>write_async()
: <a class="el" href="namespaceos.html#a1af52685ba3e8fe8676af86cd16a1eb8">os</a>
[03/10] mesos-site git commit: Updated the website built from mesos
SHA: 4189657.
Posted by gi...@apache.org.
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/scheduler_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/scheduler_8hpp_source.html b/content/api/latest/c++/scheduler_8hpp_source.html
index 281a36e..0417b21 100644
--- a/content/api/latest/c++/scheduler_8hpp_source.html
+++ b/content/api/latest/c++/scheduler_8hpp_source.html
@@ -52,7 +52,7 @@
<div class="title">scheduler.hpp</div> </div>
</div><!--header-->
<div class="contents">
-<a href="scheduler_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> <span class="comment">// Licensed to the Apache Software Foundation (ASF) under one</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// or more contributor license agreements. See the NOTICE file</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// distributed with this work for additional information</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// regarding copyright ownership. The ASF licenses this file</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// to you under the Apache License, Version 2.0 (the</span></div><div class="line"><a name="l00006"></a><span c
lass="lineno"> 6</span> <span class="comment">// "License"); you may not use this file except in compliance</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">// with the License. You may obtain a copy of the License at</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">//</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">// http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">//</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">// Unless required by applicable law or agreed to in writing, software</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">// distrib
uted under the License is distributed on an "AS IS" BASIS,</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">// See the License for the specific language governing permissions and</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">// limitations under the License.</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#ifndef __MESOS_SCHEDULER_HPP__</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#define __MESOS_SCHEDULER_HPP__</span></div><div class="line"
><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <memory></span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include <mutex></span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <vector></span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <<a class="code" href="include_2mesos_2mesos_8hpp.html">mesos/mesos.hpp</a>></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> <span class="comment">// Mesos scheduler interface and scheduler driver. A scheduler is used</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="comment">// to interact with Mesos in order to run distributed computations.</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="comment">//</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment">// IF YOU FIND YOURSELF MODIFYING COMMENTS HERE PLEASE CONSIDER MAKING</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="comment">// THE SAME MODIFICATIONS FOR OTHER LANGUAGE BINDINGS (e.g., Java:</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="comment">// src/java/src/org/apache/mesos, Python: src/p
ython/src, etc.).</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="comment">// Forward declaration.</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="keyword">namespace </span><a class="code" href="namespaceprocess.html">process</a> {</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">class </span>Latch;</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> } <span class="comment">// namespace process {</span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="keyword">namespace </span><a class="code" href="namespacemesos.html">mesos</a> {</div><div class="line"><a name="l00040"></a><spa
n class="lineno"> 40</span> </div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="comment">// A few forward declarations.</span></div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="keyword">class </span>SchedulerDriver;</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> </div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="keyword">namespace </span>scheduler {</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="keyword">class </span>MesosProcess;</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> } <span class="comment">// namespace scheduler {</span></div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> </div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="keyword">names
pace </span><a class="code" href="namespaceinternal.html">internal</a> {</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="keyword">class </span>SchedulerProcess;</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> } <span class="comment">// namespace internal {</span></div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> </div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="keyword">namespace </span><a class="code" href="namespacemesos_1_1v1_1_1master.html">master</a> {</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="keyword">namespace </span>detector {</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="keyword">class </span>MasterDetector;</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span> } <span class="comment
">// namespace detector {</span></div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> } <span class="comment">// namespace master {</span></div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="comment">// Callback interface to be implemented by frameworks' schedulers.</span></div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="comment">// Note that only one callback will be invoked at a time, so it is not</span></div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="comment">// recommended that you block within a callback because it may cause a</span></div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="comment">// deadlock.</span></div><div class="line"><a name="l00062"></a><span class="lineno"> 62
</span> <span class="comment">//</span></div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="comment">// Each callback includes a pointer to the scheduler driver that was</span></div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="comment">// used to run this scheduler. The pointer will not change for the</span></div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="comment">// duration of a scheduler (i.e., from the point you do</span></div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="comment">// SchedulerDriver::start() to the point that SchedulerDriver::join()</span></div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <span class="comment">// returns). This is intended for convenience so that a scheduler</span></div><div class="line"><a name="l00068"></a><span class="lineno"
> 68</span> <span class="comment">// doesn't need to store a pointer to the driver itself.</span></div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="classmesos_1_1Scheduler.html"> 69</a></span> <span class="keyword">class </span><a class="code" href="classmesos_1_1Scheduler.html">Scheduler</a></div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span> {</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="comment">// Empty virtual destructor (necessary to instantiate subclasses).</span></div><div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="classmesos_1_1Scheduler.html#a902673315107e402ddab8563762780fe"> 73</a></span>  <span class="keyword">virtual</span> <a class="code" href="classmesos_1_1Scheduler.html
#a902673315107e402ddab8563762780fe">~Scheduler</a>() {}</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span> </div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="comment">// Invoked when the scheduler successfully registers with a Mesos</span></div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="comment">// master. A unique ID (generated by the master) used for</span></div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="comment">// distinguishing this framework from others and MasterInfo with the</span></div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="comment">// ip and port of the current master are provided as arguments.</span></div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keyword">virtual</span> <span class="keywordty
pe">void</span> registered(</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <a class="code" href="classmesos_1_1SchedulerDriver.html">SchedulerDriver</a>* driver,</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keyword">const</span> FrameworkID& frameworkId,</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keyword">const</span> MasterInfo& masterInfo) = 0;</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span> </div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="comment">// Invoked when the scheduler reregisters with a newly elected</span></div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="comment">// Mesos master. This is only called when the scheduler has</span></div><div class="line"><a name="l00086"></a><sp
an class="lineno"> 86</span>  <span class="comment">// previously been registered. MasterInfo containing the updated</span></div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="comment">// information about the elected master is provided as an argument.</span></div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> reregistered(</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <a class="code" href="classmesos_1_1SchedulerDriver.html">SchedulerDriver</a>* driver,</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keyword">const</span> MasterInfo& masterInfo) = 0;</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span> </div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span c
lass="comment">// Invoked when the scheduler becomes "disconnected" from the master</span></div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="comment">// (e.g., the master fails and another is taking over).</span></div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> disconnected(<a class="code" href="classmesos_1_1SchedulerDriver.html">SchedulerDriver</a>* driver) = 0;</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> </div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="comment">// Invoked when resources have been offered to this framework. A</span></div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="comment">// single offer will only contain resources from a single slave.</span></div><div class="li
ne"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="comment">// Resources associated with an offer will not be re-offered to</span></div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="comment">// _this_ framework until either (a) this framework has rejected</span></div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="comment">// those resources (see SchedulerDriver::launchTasks) or (b) those</span></div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="comment">// resources have been rescinded (see Scheduler::offerRescinded).</span></div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="comment">// Note that resources may be concurrently offered to more than one</span></div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="comment">// framew
ork at a time (depending on the allocator being used). In</span></div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="comment">// that case, the first framework to launch tasks using those</span></div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="comment">// resources will be able to use them while the other frameworks</span></div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="comment">// will have those resources rescinded (or if a framework has</span></div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="comment">// already launched tasks with those resources then those tasks will</span></div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="comment">// fail with a TASK_LOST status and a message saying as much).</span></div><div class="line"><a name="l00109"><
/a><span class="lineno"> 109</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> resourceOffers(</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <a class="code" href="classmesos_1_1SchedulerDriver.html">SchedulerDriver</a>* driver,</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="keyword">const</span> std::vector<Offer>& offers) = 0;</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span> </div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="comment">// Invoked when an offer is no longer valid (e.g., the slave was</span></div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="comment">// lost or another framework used resources in the offer). If for</span></div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span
>  <span class="comment">// whatever reason an offer is never rescinded (e.g., dropped</span></div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="comment">// message, failing over framework, etc.), a framework that attempts</span></div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="comment">// to launch tasks using an invalid offer will receive TASK_LOST</span></div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="comment">// status updates for those tasks (see Scheduler::resourceOffers).</span></div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> offerRescinded(</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <a class="code" href="classmesos_1_1SchedulerDriver.html">SchedulerDriver</a>* driver,</d
iv><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="keyword">const</span> OfferID& offerId) = 0;</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span> </div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="comment">// Invoked when the status of a task has changed (e.g., a slave is</span></div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="comment">// lost and so the task is lost, a task finishes and an executor</span></div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="comment">// sends a status update saying so, etc). If implicit</span></div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="comment">// acknowledgements are being used, then returning from this</span></div><div class="line"><a name="l00127"></a><span class="line
no"> 127</span>  <span class="comment">// callback _acknowledges_ receipt of this status update! If for</span></div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="comment">// whatever reason the scheduler aborts during this callback (or</span></div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <span class="comment">// the process exits) another status update will be delivered (note,</span></div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <span class="comment">// however, that this is currently not true if the slave sending the</span></div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <span class="comment">// status update is lost/fails during that time). If explicit</span></div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <span class="comment">// acknowledgements are in use, the scheduler must
acknowledge this</span></div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="comment">// status on the driver.</span></div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> statusUpdate(</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <a class="code" href="classmesos_1_1SchedulerDriver.html">SchedulerDriver</a>* driver,</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="keyword">const</span> TaskStatus& <a class="code" href="namespaceproc.html#a34396c6140a28f583dc13fee3c3c35d4">status</a>) = 0;</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span> </div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <span class="comment">// Invoked when an executor sends a message. These messages
are best</span></div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <span class="comment">// effort; do not expect a framework message to be retransmitted in</span></div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <span class="comment">// any reliable fashion.</span></div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> frameworkMessage(</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <a class="code" href="classmesos_1_1SchedulerDriver.html">SchedulerDriver</a>* driver,</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="keyword">const</span> ExecutorID& executorId,</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <span class="keyword">const</span> SlaveID& slaveId,</div><di
v class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keyword">const</span> std::string& data) = 0;</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span> </div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <span class="comment">// Invoked when a slave has been determined unreachable (e.g.,</span></div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <span class="comment">// machine failure, network partition). Most frameworks will need to</span></div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <span class="comment">// reschedule any tasks launched on this slave on a new slave.</span></div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <span class="comment">//</span></div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="comment">// NOTE:
This callback is not reliably delivered. If a host or</span></div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <span class="comment">// network failure causes messages between the master and the</span></div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <span class="comment">// scheduler to be dropped, this callback may not be invoked.</span></div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> slaveLost(</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  <a class="code" href="classmesos_1_1SchedulerDriver.html">SchedulerDriver</a>* driver,</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <span class="keyword">const</span> SlaveID& slaveId) = 0;</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span> </
div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <span class="comment">// Invoked when an executor has exited/terminated. Note that any</span></div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  <span class="comment">// tasks running will have TASK_LOST status updates automagically</span></div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <span class="comment">// generated.</span></div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <span class="comment">//</span></div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="comment">// NOTE: This callback is not reliably delivered. If a host or</span></div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <span class="comment">// network failure causes messages between the master and the</span></div><div class="line"><a name="l00164"><
/a><span class="lineno"> 164</span>  <span class="comment">// scheduler to be dropped, this callback may not be invoked.</span></div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> executorLost(</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <a class="code" href="classmesos_1_1SchedulerDriver.html">SchedulerDriver</a>* driver,</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <span class="keyword">const</span> ExecutorID& executorId,</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  <span class="keyword">const</span> SlaveID& slaveId,</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <span class="keywordtype">int</span> status) = 0;</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</spa
n> </div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <span class="comment">// Invoked when there is an unrecoverable error in the scheduler or</span></div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="comment">// scheduler driver. The driver will be aborted BEFORE invoking this</span></div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  <span class="comment">// callback.</span></div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="namespacemesos_1_1internal_1_1slave_1_1cni_1_1spec.html#ae58e703656ab4a1bd5d9870441236727">error</a>(</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <a class="code" href="classmesos_1_1SchedulerDriver.html">SchedulerDriver</a>* driver,</div><div class="line"><a name="l001
76"></a><span class="lineno"> 176</span>  <span class="keyword">const</span> std::string& message) = 0;</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span> };</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span> </div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span> </div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span> <span class="comment">// Abstract interface for connecting a scheduler to Mesos. This</span></div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span> <span class="comment">// interface is used both to manage the scheduler's lifecycle (start</span></div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span> <span class="comment">// it, stop it, or wait for it to finish) and to interact with Mesos</span></div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span> 
;<span class="comment">// (e.g., launch tasks, kill tasks, etc.). See MesosSchedulerDriver</span></div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span> <span class="comment">// below for a concrete example of a SchedulerDriver.</span></div><div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="classmesos_1_1SchedulerDriver.html"> 185</a></span> <span class="keyword">class </span><a class="code" href="classmesos_1_1SchedulerDriver.html">SchedulerDriver</a></div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span> {</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <span class="comment">// Empty virtual destructor (necessary to instantiate subclasses).</span></div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  <spa
n class="comment">// It is expected that 'stop()' is called before this is called.</span></div><div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="classmesos_1_1SchedulerDriver.html#ad132d1aa3a2938d1b327cdc46c5004a9"> 190</a></span>  <span class="keyword">virtual</span> <a class="code" href="classmesos_1_1SchedulerDriver.html#ad132d1aa3a2938d1b327cdc46c5004a9">~SchedulerDriver</a>() {}</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span> </div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <span class="comment">// Starts the scheduler driver. This needs to be called before any</span></div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  <span class="comment">// other driver calls are made.</span></div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  <span class="keyword">virtual</span> Status <a class="code" href="n
amespacesystemd_1_1slices.html#a95aa197d8eed9f20dacb44f433b15f01">start</a>() = 0;</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span> </div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  <span class="comment">// Stops the scheduler driver. If the 'failover' flag is set to</span></div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <span class="comment">// false then it is expected that this framework will never</span></div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  <span class="comment">// reconnect to Mesos. So Mesos will unregister the framework and</span></div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  <span class="comment">// shutdown all its tasks and executors. If 'failover' is true, all</span></div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  <span class="co
mment">// executors and tasks will remain running (for some framework</span></div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  <span class="comment">// specific failover timeout) allowing the scheduler to reconnect</span></div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <span class="comment">// (possibly in the same process, or from a different process, for</span></div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <span class="comment">// example, on a different machine).</span></div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  <span class="keyword">virtual</span> Status stop(<span class="keywordtype">bool</span> failover = <span class="keyword">false</span>) = 0;</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span> </div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  <span class="co
mment">// Aborts the driver so that no more callbacks can be made to the</span></div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  <span class="comment">// scheduler. The semantics of abort and stop have deliberately been</span></div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  <span class="comment">// separated so that code can detect an aborted driver (i.e., via</span></div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  <span class="comment">// the return status of SchedulerDriver::join, see below), and</span></div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  <span class="comment">// instantiate and start another driver if desired (from within the</span></div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <span class="comment">// same process). Note that 'stop()' is not automatically called</span></div><di
v class="line"><a name="l00212"></a><span class="lineno"> 212</span>  <span class="comment">// inside 'abort()'.</span></div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  <span class="keyword">virtual</span> Status abort() = 0;</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span> </div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  <span class="comment">// Waits for the driver to be stopped or aborted, possibly</span></div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  <span class="comment">// _blocking_ the current thread indefinitely. The return status of</span></div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  <span class="comment">// this function can be used to determine if the driver was aborted</span></div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  <span class="c
omment">// (see mesos.proto for a description of Status).</span></div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  <span class="keyword">virtual</span> Status <a class="code" href="namespacepath.html#aa86b16a2171cec90bb3337930513ef0f">join</a>() = 0;</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span> </div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  <span class="comment">// Starts and immediately joins (i.e., blocks on) the driver.</span></div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  <span class="keyword">virtual</span> Status <a class="code" href="namespaceprocess.html#a72c24f06ac3f91b9412de80c6252df25">run</a>() = 0;</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span> </div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  <span class="comment">// Requests resources from Mesos (see
mesos.proto for a description</span></div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  <span class="comment">// of Request and how, for example, to request resources from</span></div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  <span class="comment">// specific slaves). Any resources available are offered to the</span></div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  <span class="comment">// framework via Scheduler::resourceOffers callback, asynchronously.</span></div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  <span class="keyword">virtual</span> Status requestResources(<span class="keyword">const</span> std::vector<Request>& requests) = 0;</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span> </div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  <span class="comment">//
Launches the given set of tasks. Any remaining resources (i.e.,</span></div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  <span class="comment">// those that are not used by the launched tasks or their executors)</span></div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  <span class="comment">// will be considered declined. Note that this includes resources</span></div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  <span class="comment">// used by tasks that the framework attempted to launch but failed</span></div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  <span class="comment">// (with TASK_ERROR) due to a malformed task description. The</span></div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  <span class="comment">// specified filters are applied on all unused resources (see</span></div><div class="line"><a name
="l00236"></a><span class="lineno"> 236</span>  <span class="comment">// mesos.proto for a description of Filters). Available resources</span></div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  <span class="comment">// are aggregated when multiple offers are provided. Note that all</span></div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  <span class="comment">// offers must belong to the same slave. Invoking this function with</span></div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  <span class="comment">// an empty collection of tasks declines offers in their entirety</span></div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  <span class="comment">// (see Scheduler::declineOffer).</span></div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  <span class="keyword">virtual</span> Status launchTasks(</div><div cla
ss="line"><a name="l00242"></a><span class="lineno"> 242</span>  <span class="keyword">const</span> std::vector<OfferID>& offerIds,</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  <span class="keyword">const</span> std::vector<TaskInfo>& tasks,</div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  <span class="keyword">const</span> Filters& <a class="code" href="namespacerouting_1_1filter_1_1internal.html#a646d4e3238d83329525957b5a5586be2">filters</a> = Filters()) = 0;</div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span> </div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  <span class="comment">// DEPRECATED: Use launchTasks(offerIds, tasks, filters) instead.</span></div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  <span class="keyword">virtual</span> Status launchTasks(</div><
div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  <span class="keyword">const</span> OfferID& offerId,</div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  <span class="keyword">const</span> std::vector<TaskInfo>& tasks,</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  <span class="keyword">const</span> Filters& <a class="code" href="namespacerouting_1_1filter_1_1internal.html#a646d4e3238d83329525957b5a5586be2">filters</a> = Filters()) = 0;</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span> </div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  <span class="comment">// Kills the specified task. Note that attempting to kill a task is</span></div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  <span class="comment">// currently not reliable. If, for example, a schedu
ler fails over</span></div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  <span class="comment">// while it was attempting to kill a task it will need to retry in</span></div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  <span class="comment">// the future. Likewise, if unregistered / disconnected, the request</span></div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  <span class="comment">// will be dropped (these semantics may be changed in the future).</span></div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  <span class="keyword">virtual</span> Status killTask(<span class="keyword">const</span> TaskID& taskId) = 0;</div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span> </div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  <span class="comment">// Accepts the given offers and performs
a sequence of operations on</span></div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  <span class="comment">// those accepted offers. See Offer.Operation in mesos.proto for the</span></div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  <span class="comment">// set of available operations. Any remaining resources (i.e., those</span></div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  <span class="comment">// that are not used by the launched tasks or their executors) will</span></div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  <span class="comment">// be considered declined. Note that this includes resources used by</span></div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  <span class="comment">// tasks that the framework attempted to launch but failed (with</span></div><div class="line"><a name="l00265"></a><span cl
ass="lineno"> 265</span>  <span class="comment">// TASK_ERROR) due to a malformed task description. The specified</span></div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  <span class="comment">// filters are applied on all unused resources (see mesos.proto for</span></div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  <span class="comment">// a description of Filters). Available resources are aggregated</span></div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  <span class="comment">// when multiple offers are provided. Note that all offers must</span></div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  <span class="comment">// belong to the same slave.</span></div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  <span class="keyword">virtual</span> Status acceptOffers(</div><div class="line"><a name="l00271"></a>
<span class="lineno"> 271</span>  <span class="keyword">const</span> std::vector<OfferID>& offerIds,</div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  <span class="keyword">const</span> std::vector<Offer::Operation>& operations,</div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  <span class="keyword">const</span> Filters& <a class="code" href="namespacerouting_1_1filter_1_1internal.html#a646d4e3238d83329525957b5a5586be2">filters</a> = Filters()) = 0;</div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span> </div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  <span class="comment">// Declines an offer in its entirety and applies the specified</span></div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  <span class="comment">// filters on the resources (see mesos.proto for a description
of</span></div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  <span class="comment">// Filters). Note that this can be done at any time, it is not</span></div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  <span class="comment">// necessary to do this within the Scheduler::resourceOffers</span></div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  <span class="comment">// callback.</span></div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  <span class="keyword">virtual</span> Status declineOffer(</div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  <span class="keyword">const</span> OfferID& offerId,</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  <span class="keyword">const</span> Filters& <a class="code" href="namespacerouting_1_1filter_1_1internal.html#a646d4e3238d833
29525957b5a5586be2">filters</a> = Filters()) = 0;</div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span> </div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  <span class="comment">// Removes all filters previously set by the framework (via</span></div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  <span class="comment">// launchTasks()). This enables the framework to receive offers from</span></div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  <span class="comment">// those filtered slaves.</span></div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  <span class="keyword">virtual</span> Status reviveOffers() = 0;</div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span> </div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  <span class="comment">// Inform Mesos master to
stop sending offers to the framework. The</span></div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  <span class="comment">// scheduler should call reviveOffers() to resume getting offers.</span></div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  <span class="keyword">virtual</span> Status suppressOffers() = 0;</div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span> </div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  <span class="comment">// Acknowledges the status update. This should only be called</span></div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  <span class="comment">// once the status update is processed durably by the scheduler.</span></div><div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  <span class="comment">// Not that explicit acknowledgements must be requested via the</span><
/div><div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  <span class="comment">// constructor argument, otherwise a call to this method will</span></div><div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  <span class="comment">// cause the driver to crash.</span></div><div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  <span class="keyword">virtual</span> Status acknowledgeStatusUpdate(</div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  <span class="keyword">const</span> TaskStatus& <a class="code" href="namespaceproc.html#a34396c6140a28f583dc13fee3c3c35d4">status</a>) = 0;</div><div class="line"><a name="l00300"></a><span class="lineno"> 300</span> </div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  <span class="comment">// Sends a message from the framework to one of its executors. These</span></div><div class="line">
<a name="l00302"></a><span class="lineno"> 302</span>  <span class="comment">// messages are best effort; do not expect a framework message to be</span></div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  <span class="comment">// retransmitted in any reliable fashion.</span></div><div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  <span class="keyword">virtual</span> Status sendFrameworkMessage(</div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  <span class="keyword">const</span> ExecutorID& executorId,</div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  <span class="keyword">const</span> SlaveID& slaveId,</div><div class="line"><a name="l00307"></a><span class="lineno"> 307</span>  <span class="keyword">const</span> std::string& data) = 0;</div><div class="line"><a name="l00308"></a><span class="lineno"> 308</span>
60;</div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  <span class="comment">// Allows the framework to query the status for non-terminal tasks.</span></div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  <span class="comment">// This causes the master to send back the latest task status for</span></div><div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  <span class="comment">// each task in 'statuses', if possible. Tasks that are no longer</span></div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  <span class="comment">// known will result in a TASK_LOST update. If statuses is empty,</span></div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  <span class="comment">// then the master will send the latest status for each task</span></div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  <sp
an class="comment">// currently known.</span></div><div class="line"><a name="l00315"></a><span class="lineno"> 315</span>  <span class="keyword">virtual</span> Status reconcileTasks(</div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  <span class="keyword">const</span> std::vector<TaskStatus>& <a class="code" href="namespaceprocess_1_1http.html#a061749759c8d327692f4dbb3bb8b8440">statuses</a>) = 0;</div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span> };</div><div class="line"><a name="l00318"></a><span class="lineno"> 318</span> </div><div class="line"><a name="l00319"></a><span class="lineno"> 319</span> </div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span> <span class="comment">// Concrete implementation of a SchedulerDriver that connects a</span></div><div class="line"><a name="l00321"></a><span class="lineno"> 321</span> <span class="comment">// Sch
eduler with a Mesos master. The MesosSchedulerDriver is</span></div><div class="line"><a name="l00322"></a><span class="lineno"> 322</span> <span class="comment">// thread-safe.</span></div><div class="line"><a name="l00323"></a><span class="lineno"> 323</span> <span class="comment">//</span></div><div class="line"><a name="l00324"></a><span class="lineno"> 324</span> <span class="comment">// Note that scheduler failover is supported in Mesos. After a</span></div><div class="line"><a name="l00325"></a><span class="lineno"> 325</span> <span class="comment">// scheduler is registered with Mesos it may failover (to a new</span></div><div class="line"><a name="l00326"></a><span class="lineno"> 326</span> <span class="comment">// process on the same machine or across multiple machines) by</span></div><div class="line"><a name="l00327"></a><span class="lineno"> 327</span> <span class="comment">// creating a new driver with the ID given to it in</span></
div><div class="line"><a name="l00328"></a><span class="lineno"> 328</span> <span class="comment">// Scheduler::registered.</span></div><div class="line"><a name="l00329"></a><span class="lineno"> 329</span> <span class="comment">//</span></div><div class="line"><a name="l00330"></a><span class="lineno"> 330</span> <span class="comment">// The driver is responsible for invoking the Scheduler callbacks as</span></div><div class="line"><a name="l00331"></a><span class="lineno"> 331</span> <span class="comment">// it communicates with the Mesos master.</span></div><div class="line"><a name="l00332"></a><span class="lineno"> 332</span> <span class="comment">//</span></div><div class="line"><a name="l00333"></a><span class="lineno"> 333</span> <span class="comment">// Note that blocking on the MesosSchedulerDriver (e.g., via</span></div><div class="line"><a name="l00334"></a><span class="lineno"> 334</span> <span class="comment">// MesosScheduler
Driver::join) doesn't affect the scheduler callbacks</span></div><div class="line"><a name="l00335"></a><span class="lineno"> 335</span> <span class="comment">// in anyway because they are handled by a different thread.</span></div><div class="line"><a name="l00336"></a><span class="lineno"> 336</span> <span class="comment">//</span></div><div class="line"><a name="l00337"></a><span class="lineno"> 337</span> <span class="comment">// Note that the driver uses GLOG to do its own logging. GLOG flags</span></div><div class="line"><a name="l00338"></a><span class="lineno"> 338</span> <span class="comment">// can be set via environment variables, prefixing the flag name with</span></div><div class="line"><a name="l00339"></a><span class="lineno"> 339</span> <span class="comment">// "GLOG_", e.g., "GLOG_v=1". For Mesos specific logging flags see</span></div><div class="line"><a name="l00340"></a><span class="lineno"> 340</span> <
span class="comment">// src/logging/flags.hpp. Mesos flags can also be set via environment</span></div><div class="line"><a name="l00341"></a><span class="lineno"> 341</span> <span class="comment">// variables, prefixing the flag name with "MESOS_", e.g.,</span></div><div class="line"><a name="l00342"></a><span class="lineno"> 342</span> <span class="comment">// "MESOS_QUIET=1".</span></div><div class="line"><a name="l00343"></a><span class="lineno"> 343</span> <span class="comment">//</span></div><div class="line"><a name="l00344"></a><span class="lineno"> 344</span> <span class="comment">// See src/examples/test_framework.cpp for an example of using the</span></div><div class="line"><a name="l00345"></a><span class="lineno"> 345</span> <span class="comment">// MesosSchedulerDriver.</span></div><div class="line"><a name="l00346"></a><span class="lineno"><a class="line" href="classmesos_1_1MesosSchedulerDriver.html"> 346</a></span>&
#160;<span class="keyword">class </span><a class="code" href="classmesos_1_1MesosSchedulerDriver.html">MesosSchedulerDriver</a> : <span class="keyword">public</span> <a class="code" href="classmesos_1_1SchedulerDriver.html">SchedulerDriver</a></div><div class="line"><a name="l00347"></a><span class="lineno"> 347</span> {</div><div class="line"><a name="l00348"></a><span class="lineno"> 348</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00349"></a><span class="lineno"> 349</span>  <span class="comment">// Creates a new driver for the specified scheduler. The master</span></div><div class="line"><a name="l00350"></a><span class="lineno"> 350</span>  <span class="comment">// should be one of:</span></div><div class="line"><a name="l00351"></a><span class="lineno"> 351</span>  <span class="comment">//</span></div><div class="line"><a name="l00352"></a><span class="lineno"> 352</span>  <span class="comment">// host
:port</span></div><div class="line"><a name="l00353"></a><span class="lineno"> 353</span>  <span class="comment">// zk://host1:port1,host2:port2,.../path</span></div><div class="line"><a name="l00354"></a><span class="lineno"> 354</span>  <span class="comment">// zk://username:password@host1:port1,host2:port2,.../path</span></div><div class="line"><a name="l00355"></a><span class="lineno"> 355</span>  <span class="comment">// file:///path/to/file (where file contains one of the above)</span></div><div class="line"><a name="l00356"></a><span class="lineno"> 356</span>  <span class="comment">//</span></div><div class="line"><a name="l00357"></a><span class="lineno"> 357</span>  <span class="comment">// The driver will attempt to "failover" if the specified</span></div><div class="line"><a name="l00358"></a><span class="lineno"> 358</span>  <span class="comment">// FrameworkInfo includes a valid FrameworkID.</span></div><d
iv class="line"><a name="l00359"></a><span class="lineno"> 359</span>  <span class="comment">//</span></div><div class="line"><a name="l00360"></a><span class="lineno"> 360</span>  <span class="comment">// Any Mesos configuration options are read from environment</span></div><div class="line"><a name="l00361"></a><span class="lineno"> 361</span>  <span class="comment">// variables, as well as any configuration files found through the</span></div><div class="line"><a name="l00362"></a><span class="lineno"> 362</span>  <span class="comment">// environment variables.</span></div><div class="line"><a name="l00363"></a><span class="lineno"> 363</span>  <span class="comment">//</span></div><div class="line"><a name="l00364"></a><span class="lineno"> 364</span>  <span class="comment">// TODO(vinod): Deprecate this once 'MesosSchedulerDriver' can take</span></div><div class="line"><a name="l00365"></a><span class="lineno"> 365</span> 
<span class="comment">// 'Option<Credential>' as parameter. Currently it cannot because</span></div><div class="line"><a name="l00366"></a><span class="lineno"> 366</span>  <span class="comment">// 'stout' is not visible from here.</span></div><div class="line"><a name="l00367"></a><span class="lineno"> 367</span>  <a class="code" href="classmesos_1_1MesosSchedulerDriver.html">MesosSchedulerDriver</a>(</div><div class="line"><a name="l00368"></a><span class="lineno"> 368</span>  <a class="code" href="classmesos_1_1Scheduler.html">Scheduler</a>* scheduler,</div><div class="line"><a name="l00369"></a><span class="lineno"> 369</span>  <span class="keyword">const</span> FrameworkInfo& framework,</div><div class="line"><a name="l00370"></a><span class="lineno"> 370</span>  <span class="keyword">const</span> std::string& <a class="code" href="namespacemesos_1_1v1_1_1master.html">master</a>);</div><div class="lin
e"><a name="l00371"></a><span class="lineno"> 371</span> </div><div class="line"><a name="l00372"></a><span class="lineno"> 372</span>  <span class="comment">// Same as the above constructor but takes 'credential' as argument.</span></div><div class="line"><a name="l00373"></a><span class="lineno"> 373</span>  <span class="comment">// The credential will be used for authenticating with the master.</span></div><div class="line"><a name="l00374"></a><span class="lineno"> 374</span>  <a class="code" href="classmesos_1_1MesosSchedulerDriver.html">MesosSchedulerDriver</a>(</div><div class="line"><a name="l00375"></a><span class="lineno"> 375</span>  <a class="code" href="classmesos_1_1Scheduler.html">Scheduler</a>* scheduler,</div><div class="line"><a name="l00376"></a><span class="lineno"> 376</span>  <span class="keyword">const</span> FrameworkInfo& framework,</div><div class="line"><a name="l00377"></a><span class="lineno">
377</span>  <span class="keyword">const</span> std::string& master,</div><div class="line"><a name="l00378"></a><span class="lineno"> 378</span>  <span class="keyword">const</span> Credential& credential);</div><div class="line"><a name="l00379"></a><span class="lineno"> 379</span> </div><div class="line"><a name="l00380"></a><span class="lineno"> 380</span>  <span class="comment">// These constructors are the same as the above two, but allow</span></div><div class="line"><a name="l00381"></a><span class="lineno"> 381</span>  <span class="comment">// the framework to specify whether implicit or explicit</span></div><div class="line"><a name="l00382"></a><span class="lineno"> 382</span>  <span class="comment">// acknowledgements are desired. See statusUpdate() for the</span></div><div class="line"><a name="l00383"></a><span class="lineno"> 383</span>  <span class="comment">// details about explicit acknowledgements.</spa
n></div><div class="line"><a name="l00384"></a><span class="lineno"> 384</span>  <span class="comment">//</span></div><div class="line"><a name="l00385"></a><span class="lineno"> 385</span>  <span class="comment">// TODO(bmahler): Deprecate the above two constructors. In 0.22.0</span></div><div class="line"><a name="l00386"></a><span class="lineno"> 386</span>  <span class="comment">// these new constructors are exposed.</span></div><div class="line"><a name="l00387"></a><span class="lineno"> 387</span>  <a class="code" href="classmesos_1_1MesosSchedulerDriver.html">MesosSchedulerDriver</a>(</div><div class="line"><a name="l00388"></a><span class="lineno"> 388</span>  <a class="code" href="classmesos_1_1Scheduler.html">Scheduler</a>* scheduler,</div><div class="line"><a name="l00389"></a><span class="lineno"> 389</span>  <span class="keyword">const</span> FrameworkInfo& framework,</div><div class="line"><a name="l00390"></a><span
class="lineno"> 390</span>  <span class="keyword">const</span> std::string& master,</div><div class="line"><a name="l00391"></a><span class="lineno"> 391</span>  <span class="keywordtype">bool</span> implicitAcknowledgements);</div><div class="line"><a name="l00392"></a><span class="lineno"> 392</span> </div><div class="line"><a name="l00393"></a><span class="lineno"> 393</span>  <a class="code" href="classmesos_1_1MesosSchedulerDriver.html">MesosSchedulerDriver</a>(</div><div class="line"><a name="l00394"></a><span class="lineno"> 394</span>  <a class="code" href="classmesos_1_1Scheduler.html">Scheduler</a>* scheduler,</div><div class="line"><a name="l00395"></a><span class="lineno"> 395</span>  <span class="keyword">const</span> FrameworkInfo& framework,</div><div class="line"><a name="l00396"></a><span class="lineno"> 396</span>  <span class="keyword">const</span> std::string& master,</div><div class
="line"><a name="l00397"></a><span class="lineno"> 397</span>  <span class="keywordtype">bool</span> implicitAcknowlegements,</div><div class="line"><a name="l00398"></a><span class="lineno"> 398</span>  <span class="keyword">const</span> Credential& credential);</div><div class="line"><a name="l00399"></a><span class="lineno"> 399</span> </div><div class="line"><a name="l00400"></a><span class="lineno"> 400</span>  <span class="comment">// This destructor will block indefinitely if</span></div><div class="line"><a name="l00401"></a><span class="lineno"> 401</span>  <span class="comment">// MesosSchedulerDriver::start was invoked successfully (possibly</span></div><div class="line"><a name="l00402"></a><span class="lineno"> 402</span>  <span class="comment">// via MesosSchedulerDriver::run) and MesosSchedulerDriver::stop has</span></div><div class="line"><a name="l00403"></a><span class="lineno"> 403</span>  <span class="co
mment">// not been invoked.</span></div><div class="line"><a name="l00404"></a><span class="lineno"> 404</span>  <span class="keyword">virtual</span> ~<a class="code" href="classmesos_1_1MesosSchedulerDriver.html">MesosSchedulerDriver</a>();</div><div class="line"><a name="l00405"></a><span class="lineno"> 405</span> </div><div class="line"><a name="l00406"></a><span class="lineno"> 406</span>  <span class="comment">// See SchedulerDriver for descriptions of these.</span></div><div class="line"><a name="l00407"></a><span class="lineno"> 407</span>  <span class="keyword">virtual</span> Status <a class="code" href="namespacesystemd_1_1slices.html#a95aa197d8eed9f20dacb44f433b15f01">start</a>();</div><div class="line"><a name="l00408"></a><span class="lineno"> 408</span>  <span class="keyword">virtual</span> Status stop(<span class="keywordtype">bool</span> failover = <span class="keyword">false</span>);</div><div class="line"><a name="l00409"></a><span
class="lineno"> 409</span>  <span class="keyword">virtual</span> Status abort();</div><div class="line"><a name="l00410"></a><span class="lineno"> 410</span>  <span class="keyword">virtual</span> Status <a class="code" href="namespacepath.html#aa86b16a2171cec90bb3337930513ef0f">join</a>();</div><div class="line"><a name="l00411"></a><span class="lineno"> 411</span>  <span class="keyword">virtual</span> Status <a class="code" href="namespaceprocess.html#a72c24f06ac3f91b9412de80c6252df25">run</a>();</div><div class="line"><a name="l00412"></a><span class="lineno"> 412</span> </div><div class="line"><a name="l00413"></a><span class="lineno"> 413</span>  <span class="keyword">virtual</span> Status requestResources(</div><div class="line"><a name="l00414"></a><span class="lineno"> 414</span>  <span class="keyword">const</span> std::vector<Request>& requests);</div><div class="line"><a name="l00415"></a><span class="lineno"> 415</sp
an> </div><div class="line"><a name="l00416"></a><span class="lineno"> 416</span>  <span class="comment">// TODO(nnielsen): launchTasks using single offer is deprecated.</span></div><div class="line"><a name="l00417"></a><span class="lineno"> 417</span>  <span class="comment">// Use launchTasks with offer list instead.</span></div><div class="line"><a name="l00418"></a><span class="lineno"> 418</span>  <span class="keyword">virtual</span> Status launchTasks(</div><div class="line"><a name="l00419"></a><span class="lineno"> 419</span>  <span class="keyword">const</span> OfferID& offerId,</div><div class="line"><a name="l00420"></a><span class="lineno"> 420</span>  <span class="keyword">const</span> std::vector<TaskInfo>& tasks,</div><div class="line"><a name="l00421"></a><span class="lineno"> 421</span>  <span class="keyword">const</span> Filters& <a class="code" href="namespacerouting_1_1filter_1_1internal.
html#a646d4e3238d83329525957b5a5586be2">filters</a> = Filters());</div><div class="line"><a name="l00422"></a><span class="lineno"> 422</span> </div><div class="line"><a name="l00423"></a><span class="lineno"> 423</span>  <span class="keyword">virtual</span> Status launchTasks(</div><div class="line"><a name="l00424"></a><span class="lineno"> 424</span>  <span class="keyword">const</span> std::vector<OfferID>& offerIds,</div><div class="line"><a name="l00425"></a><span class="lineno"> 425</span>  <span class="keyword">const</span> std::vector<TaskInfo>& tasks,</div><div class="line"><a name="l00426"></a><span class="lineno"> 426</span>  <span class="keyword">const</span> Filters& <a class="code" href="namespacerouting_1_1filter_1_1internal.html#a646d4e3238d83329525957b5a5586be2">filters</a> = Filters());</div><div class="line"><a name="l00427"></a><span class="lineno"> 427</span> </div><div class="line"><a n
ame="l00428"></a><span class="lineno"> 428</span>  <span class="keyword">virtual</span> Status killTask(<span class="keyword">const</span> TaskID& taskId);</div><div class="line"><a name="l00429"></a><span class="lineno"> 429</span> </div><div class="line"><a name="l00430"></a><span class="lineno"> 430</span>  <span class="keyword">virtual</span> Status acceptOffers(</div><div class="line"><a name="l00431"></a><span class="lineno"> 431</span>  <span class="keyword">const</span> std::vector<OfferID>& offerIds,</div><div class="line"><a name="l00432"></a><span class="lineno"> 432</span>  <span class="keyword">const</span> std::vector<Offer::Operation>& operations,</div><div class="line"><a name="l00433"></a><span class="lineno"> 433</span>  <span class="keyword">const</span> Filters& <a class="code" href="namespacerouting_1_1filter_1_1internal.html#a646d4e3238d83329525957b5a5586be2">filters</a> = Filters(
));</div><div class="line"><a name="l00434"></a><span class="lineno"> 434</span> </div><div class="line"><a name="l00435"></a><span class="lineno"> 435</span>  <span class="keyword">virtual</span> Status declineOffer(</div><div class="line"><a name="l00436"></a><span class="lineno"> 436</span>  <span class="keyword">const</span> OfferID& offerId,</div><div class="line"><a name="l00437"></a><span class="lineno"> 437</span>  <span class="keyword">const</span> Filters& <a class="code" href="namespacerouting_1_1filter_1_1internal.html#a646d4e3238d83329525957b5a5586be2">filters</a> = Filters());</div><div class="line"><a name="l00438"></a><span class="lineno"> 438</span> </div><div class="line"><a name="l00439"></a><span class="lineno"> 439</span>  <span class="keyword">virtual</span> Status reviveOffers();</div><div class="line"><a name="l00440"></a><span class="lineno"> 440</span> </div><div class="line"><a name="l00441"></a
><span class="lineno"> 441</span>  <span class="keyword">virtual</span> Status suppressOffers();</div><div class="line"><a name="l00442"></a><span class="lineno"> 442</span> </div><div class="line"><a name="l00443"></a><span class="lineno"> 443</span>  <span class="keyword">virtual</span> Status acknowledgeStatusUpdate(</div><div class="line"><a name="l00444"></a><span class="lineno"> 444</span>  <span class="keyword">const</span> TaskStatus& <a class="code" href="namespaceproc.html#a34396c6140a28f583dc13fee3c3c35d4">status</a>);</div><div class="line"><a name="l00445"></a><span class="lineno"> 445</span> </div><div class="line"><a name="l00446"></a><span class="lineno"> 446</span>  <span class="keyword">virtual</span> Status sendFrameworkMessage(</div><div class="line"><a name="l00447"></a><span class="lineno"> 447</span>  <span class="keyword">const</span> ExecutorID& executorId,</div><div class="line"><a name="l00448"
></a><span class="lineno"> 448</span>  <span class="keyword">const</span> SlaveID& slaveId,</div><div class="line"><a name="l00449"></a><span class="lineno"> 449</span>  <span class="keyword">const</span> std::string& data);</div><div class="line"><a name="l00450"></a><span class="lineno"> 450</span> </div><div class="line"><a name="l00451"></a><span class="lineno"> 451</span>  <span class="keyword">virtual</span> Status reconcileTasks(</div><div class="line"><a name="l00452"></a><span class="lineno"> 452</span>  <span class="keyword">const</span> std::vector<TaskStatus>& <a class="code" href="namespaceprocess_1_1http.html#a061749759c8d327692f4dbb3bb8b8440">statuses</a>);</div><div class="line"><a name="l00453"></a><span class="lineno"> 453</span> </div><div class="line"><a name="l00454"></a><span class="lineno"> 454</span> <span class="keyword">protected</span>:</div><div class="line"><a name="l00455"></a><
span class="lineno"> 455</span>  <span class="comment">// Used to detect (i.e., choose) the master.</span></div><div class="line"><a name="l00456"></a><span class="lineno"><a class="line" href="classmesos_1_1MesosSchedulerDriver.html#a2016233e839dbe1bf9df5a4ada2a385f"> 456</a></span>  std::shared_ptr<master::detector::MasterDetector> <a class="code" href="classmesos_1_1MesosSchedulerDriver.html#a2016233e839dbe1bf9df5a4ada2a385f">detector</a>;</div><div class="line"><a name="l00457"></a><span class="lineno"> 457</span> </div><div class="line"><a name="l00458"></a><span class="lineno"> 458</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00459"></a><span class="lineno"> 459</span>  <span class="keywordtype">void</span> <a class="code" href="namespaceprocess.html#a6c9cd01950a98038b2a6df3e5066418f">initialize</a>();</div><div class="line"><a name="l00460"></a><span class="lineno"> 460</span> </div><div class="line
"><a name="l00461"></a><span class="lineno"> 461</span>  <a class="code" href="classmesos_1_1Scheduler.html">Scheduler</a>* scheduler;</div><div class="line"><a name="l00462"></a><span class="lineno"> 462</span>  FrameworkInfo framework;</div><div class="line"><a name="l00463"></a><span class="lineno"> 463</span>  std::string master;</div><div class="line"><a name="l00464"></a><span class="lineno"> 464</span> </div><div class="line"><a name="l00465"></a><span class="lineno"> 465</span>  <span class="comment">// Used for communicating with the master.</span></div><div class="line"><a name="l00466"></a><span class="lineno"> 466</span>  internal::SchedulerProcess* <a class="code" href="namespaceos.html#ae19e4161a51b86a1f330f3bf1dc75389">process</a>;</div><div class="line"><a name="l00467"></a><span class="lineno"> 467</span> </div><div class="line"><a name="l00468"></a><span class="lineno"> 468</span>  <span class="comment">// URL f
or the master (e.g., zk://, file://, etc).</span></div><div class="line"><a name="l00469"></a><span class="lineno"> 469</span>  std::string url;</div><div class="line"><a name="l00470"></a><span class="lineno"> 470</span> </div><div class="line"><a name="l00471"></a><span class="lineno"> 471</span>  <span class="comment">// Mutex for enforcing serial execution of all non-callbacks.</span></div><div class="line"><a name="l00472"></a><span class="lineno"> 472</span>  std::recursive_mutex mutex;</div><div class="line"><a name="l00473"></a><span class="lineno"> 473</span> </div><div class="line"><a name="l00474"></a><span class="lineno"> 474</span>  <span class="comment">// Latch for waiting until driver terminates.</span></div><div class="line"><a name="l00475"></a><span class="lineno"> 475</span>  <a class="code" href="classprocess_1_1Latch.html">process::Latch</a>* latch;</div><div class="line"><a name="l00476"></a><span class="lineno">
476</span> </div><div class="line"><a name="l00477"></a><span class="lineno"> 477</span>  <span class="comment">// Current status of the driver.</span></div><div class="line"><a name="l00478"></a><span class="lineno"> 478</span>  Status <a class="code" href="namespaceproc.html#a34396c6140a28f583dc13fee3c3c35d4">status</a>;</div><div class="line"><a name="l00479"></a><span class="lineno"> 479</span> </div><div class="line"><a name="l00480"></a><span class="lineno"> 480</span>  <span class="keyword">const</span> <span class="keywordtype">bool</span> implicitAcknowlegements;</div><div class="line"><a name="l00481"></a><span class="lineno"> 481</span> </div><div class="line"><a name="l00482"></a><span class="lineno"> 482</span>  <span class="keyword">const</span> Credential* credential;</div><div class="line"><a name="l00483"></a><span class="lineno"> 483</span> </div><div class="line"><a name="l00484"></a><span class="lineno"> 484</s
pan>  <span class="comment">// Scheduler process ID.</span></div><div class="line"><a name="l00485"></a><span class="lineno"> 485</span>  std::string schedulerId;</div><div class="line"><a name="l00486"></a><span class="lineno"> 486</span> };</div><div class="line"><a name="l00487"></a><span class="lineno"> 487</span> </div><div class="line"><a name="l00488"></a><span class="lineno"> 488</span> } <span class="comment">// namespace mesos {</span></div><div class="line"><a name="l00489"></a><span class="lineno"> 489</span> </div><div class="line"><a name="l00490"></a><span class="lineno"> 490</span> <span class="preprocessor">#endif // __MESOS_SCHEDULER_HPP__</span></div><div class="ttc" id="namespacemesos_1_1v1_1_1master_html"><div class="ttname"><a href="namespacemesos_1_1v1_1_1master.html">mesos::v1::master</a></div><div class="ttdef"><b>Definition:</b> master.hpp:27</div></div>
+<a href="scheduler_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> <span class="comment">// Licensed to the Apache Software Foundation (ASF) under one</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// or more contributor license agreements. See the NOTICE file</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// distributed with this work for additional information</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// regarding copyright ownership. The ASF licenses this file</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// to you under the Apache License, Version 2.0 (the</span></div><div class="line"><a name="l00006"></a><span c
lass="lineno"> 6</span> <span class="comment">// "License"); you may not use this file except in compliance</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">// with the License. You may obtain a copy of the License at</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">//</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">// http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">//</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">// Unless required by applicable law or agreed to in writing, software</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">// distrib
uted under the License is distributed on an "AS IS" BASIS,</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">// See the License for the specific language governing permissions and</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">// limitations under the License.</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#ifndef __MESOS_SCHEDULER_HPP__</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#define __MESOS_SCHEDULER_HPP__</span></div><div class="line"
><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <memory></span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include <mutex></span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <vector></span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <<a class="code" href="include_2mesos_2mesos_8hpp.html">mesos/mesos.hpp</a>></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> <span class="comment">// Mesos scheduler interface and scheduler driver. A scheduler is used</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="comment">// to interact with Mesos in order to run distributed computations.</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="comment">//</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment">// IF YOU FIND YOURSELF MODIFYING COMMENTS HERE PLEASE CONSIDER MAKING</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="comment">// THE SAME MODIFICATIONS FOR OTHER LANGUAGE BINDINGS (e.g., Java:</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="comment">// src/java/src/org/apache/mesos, Python: src/p
ython/src, etc.).</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="comment">// Forward declaration.</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="keyword">namespace </span><a class="code" href="namespaceprocess.html">process</a> {</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">class </span>Latch;</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> } <span class="comment">// namespace process {</span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="keyword">namespace </span><a class="code" href="namespacemesos.html">mesos</a> {</div><div class="line"><a name="l00040"></a><spa
n class="lineno"> 40</span> </div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="comment">// A few forward declarations.</span></div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="keyword">class </span>SchedulerDriver;</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> </div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="keyword">namespace </span>scheduler {</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="keyword">class </span>MesosProcess;</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> } <span class="comment">// namespace scheduler {</span></div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> </div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="keyword">names
pace </span><a class="code" href="namespaceinternal.html">internal</a> {</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="keyword">class </span>SchedulerProcess;</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> } <span class="comment">// namespace internal {</span></div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> </div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="keyword">namespace </span><a class="code" href="namespacemesos_1_1v1_1_1master.html">master</a> {</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="keyword">namespace </span>detector {</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="keyword">class </span>MasterDetector;</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span> } <span class="comment
">// namespace detector {</span></div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> } <span class="comment">// namespace master {</span></div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="comment">// Callback interface to be implemented by frameworks' schedulers.</span></div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="comment">// Note that only one callback will be invoked at a time, so it is not</span></div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="comment">// recommended that you block within a callback because it may cause a</span></div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="comment">// deadlock.</span></div><div class="line"><a name="l00062"></a><span class="lineno"> 62
</span> <span class="comment">//</span></div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="comment">// Each callback includes a pointer to the scheduler driver that was</span></div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="comment">// used to run this scheduler. The pointer will not change for the</span></div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="comment">// duration of a scheduler (i.e., from the point you do</span></div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="comment">// SchedulerDriver::start() to the point that SchedulerDriver::join()</span></div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <span class="comment">// returns). This is intended for convenience so that a scheduler</span></div><div class="line"><a name="l00068"></a><span class="lineno"
> 68</span> <span class="comment">// doesn't need to store a pointer to the driver itself.</span></div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="classmesos_1_1Scheduler.html"> 69</a></span> <span class="keyword">class </span><a class="code" href="classmesos_1_1Scheduler.html">Scheduler</a></div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span> {</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="comment">// Empty virtual destructor (necessary to instantiate subclasses).</span></div><div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="classmesos_1_1Scheduler.html#a902673315107e402ddab8563762780fe"> 73</a></span>  <span class="keyword">virtual</span> <a class="code" href="classmesos_1_1Scheduler.html
#a902673315107e402ddab8563762780fe">~Scheduler</a>() {}</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span> </div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="comment">// Invoked whe
<TRUNCATED>
[04/10] mesos-site git commit: Updated the website built from mesos
SHA: 4189657.
Posted by gi...@apache.org.
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/namespaceprocess_1_1http.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/namespaceprocess_1_1http.html b/content/api/latest/c++/namespaceprocess_1_1http.html
index 1bf789e..e025987 100644
--- a/content/api/latest/c++/namespaceprocess_1_1http.html
+++ b/content/api/latest/c++/namespaceprocess_1_1http.html
@@ -52,8 +52,7 @@
<a href="#namespaces">Namespaces</a> |
<a href="#nested-classes">Classes</a> |
<a href="#enum-members">Enumerations</a> |
-<a href="#func-members">Functions</a> |
-<a href="#var-members">Variables</a> </div>
+<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">process::http Namespace Reference</div> </div>
</div><!--header-->
@@ -138,6 +137,8 @@ Enumerations</h2></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:ad1e795f8cd92c0d2c95aaedab510d4f6"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprocess_1_1http.html#ad1e795f8cd92c0d2c95aaedab510d4f6">isValidStatus</a> (uint16_t code)</td></tr>
+<tr class="separator:ad1e795f8cd92c0d2c95aaedab510d4f6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a64211e6e3428968c27b5753f05cbcf45"><td class="memItemLeft" align="right" valign="top">std::ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprocess_1_1http.html#a64211e6e3428968c27b5753f05cbcf45">operator<<</a> (std::ostream &stream, const <a class="el" href="structprocess_1_1http_1_1URL.html">URL</a> &url)</td></tr>
<tr class="separator:a64211e6e3428968c27b5753f05cbcf45"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4832f972e907d7d8de3a4e8bb23c23fc"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprocess_1_1http.html#a4832f972e907d7d8de3a4e8bb23c23fc">encode</a> (const std::string &s, const std::string &additional_chars="")</td></tr>
@@ -177,11 +178,6 @@ Functions</h2></td></tr>
<tr class="memitem:aa37acfb70e0b901b6f10c3d4a9b33c95"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classprocess_1_1Future.html">Future</a>< <a class="el" href="structprocess_1_1http_1_1Response.html">Response</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprocess_1_1http.html#aa37acfb70e0b901b6f10c3d4a9b33c95">requestDelete</a> (const <a class="el" href="structprocess_1_1UPID.html">UPID</a> &upid, const <a class="el" href="classOption.html">Option</a>< std::string > &path=<a class="el" href="structNone.html">None</a>(), const <a class="el" href="classOption.html">Option</a>< <a class="el" href="classprocess_1_1http_1_1Headers.html">Headers</a> > &headers=<a class="el" href="structNone.html">None</a>(), const <a class="el" href="classOption.html">Option</a>< std::string > &scheme=<a class="el" href="structNone.html">None</a>())</td></tr>
<tr class="memdesc:aa37acfb70e0b901b6f10c3d4a9b33c95"><td class="mdescLeft"> </td><td class="mdescRight">Asynchronously sends an HTTP DELETE request to the process with the given <a class="el" href="structprocess_1_1UPID.html" title="An "untyped" PID, used to encapsulate the process ID for lower-layer abstractions (eg...">UPID</a> and returns the HTTP response. <a href="#aa37acfb70e0b901b6f10c3d4a9b33c95">More...</a><br /></td></tr>
<tr class="separator:aa37acfb70e0b901b6f10c3d4a9b33c95"><td class="memSeparator" colspan="2"> </td></tr>
-</table><table class="memberdecls">
-<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
-Variables</h2></td></tr>
-<tr class="memitem:a061749759c8d327692f4dbb3bb8b8440"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classhashmap.html">hashmap</a>< uint16_t, std::string > * </td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprocess_1_1http.html#a061749759c8d327692f4dbb3bb8b8440">statuses</a></td></tr>
-<tr class="separator:a061749759c8d327692f4dbb3bb8b8440"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a class="anchor" id="acc0a9c62d4bef93195e93af072f0cda5"></a>
@@ -515,6 +511,22 @@ Variables</h2></td></tr>
</div>
</div>
+<a class="anchor" id="ad1e795f8cd92c0d2c95aaedab510d4f6"></a>
+<div class="memitem">
+<div class="memproto">
+ <table class="memname">
+ <tr>
+ <td class="memname">bool process::http::isValidStatus </td>
+ <td>(</td>
+ <td class="paramtype">uint16_t </td>
+ <td class="paramname"><em>code</em></td><td>)</td>
+ <td></td>
+ </tr>
+ </table>
+</div><div class="memdoc">
+
+</div>
+</div>
<a class="anchor" id="a64211e6e3428968c27b5753f05cbcf45"></a>
<div class="memitem">
<div class="memproto">
@@ -777,19 +789,6 @@ template<typename F > </div>
</div>
</div>
-<h2 class="groupheader">Variable Documentation</h2>
-<a class="anchor" id="a061749759c8d327692f4dbb3bb8b8440"></a>
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classhashmap.html">hashmap</a><uint16_t, std::string>* process::http::statuses</td>
- </tr>
- </table>
-</div><div class="memdoc">
-
-</div>
-</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/profiler_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/profiler_8hpp_source.html b/content/api/latest/c++/profiler_8hpp_source.html
index 238e46c..fd9b8ef 100644
--- a/content/api/latest/c++/profiler_8hpp_source.html
+++ b/content/api/latest/c++/profiler_8hpp_source.html
@@ -59,7 +59,7 @@
<div class="ttc" id="classprocess_1_1Profiler_html"><div class="ttname"><a href="classprocess_1_1Profiler.html">process::Profiler</a></div><div class="ttdef"><b>Definition:</b> profiler.hpp:24</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:72</div></div>
<div class="ttc" id="classprocess_1_1ProcessBase_html_af0d1a6f8da798dfb2b6ea92550b8c6f5"><div class="ttname"><a href="classprocess_1_1ProcessBase.html#af0d1a6f8da798dfb2b6ea92550b8c6f5">process::ProcessBase::route</a></div><div class="ttdeci">void route(const std::string &name, const Option< std::string > &help, const HttpRequestHandler &handler, const RouteOptions &options=RouteOptions())</div><div class="ttdoc">Sets up a handler for HTTP requests with the specified name. </div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:518</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:517</div></div>
<div class="ttc" id="future_8hpp_html"><div class="ttname"><a href="future_8hpp.html">future.hpp</a></div></div>
<div class="ttc" id="namespaceprocess_html"><div class="ttname"><a href="namespaceprocess.html">process</a></div><div class="ttdef"><b>Definition:</b> executor.hpp:47</div></div>
<div class="ttc" id="classprocess_1_1Profiler_html_aa52326399566831ab756a60cd341182b"><div class="ttname"><a href="classprocess_1_1Profiler.html#aa52326399566831ab756a60cd341182b">process::Profiler::~Profiler</a></div><div class="ttdeci">virtual ~Profiler()</div><div class="ttdef"><b>Definition:</b> profiler.hpp:31</div></div>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/provider_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/provider_8hpp_source.html b/content/api/latest/c++/provider_8hpp_source.html
index 37b16e4..b1d7f85 100644
--- a/content/api/latest/c++/provider_8hpp_source.html
+++ b/content/api/latest/c++/provider_8hpp_source.html
@@ -58,7 +58,7 @@
<div class="ttc" id="include_2mesos_2mesos_8hpp_html"><div class="ttname"><a href="include_2mesos_2mesos_8hpp.html">mesos.hpp</a></div></div>
<div class="ttc" id="classmesos_1_1internal_1_1StorageLocalResourceProvider_html_a71e58b6f7f4b9d9989e691370aa05903"><div class="ttname"><a href="classmesos_1_1internal_1_1StorageLocalResourceProvider.html#a71e58b6f7f4b9d9989e691370aa05903">mesos::internal::StorageLocalResourceProvider::~StorageLocalResourceProvider</a></div><div class="ttdeci">~StorageLocalResourceProvider() override</div></div>
<div class="ttc" id="classmesos_1_1internal_1_1StorageLocalResourceProvider_html_a992fbd6e13668c545f311bc0eed233c1"><div class="ttname"><a href="classmesos_1_1internal_1_1StorageLocalResourceProvider.html#a992fbd6e13668c545f311bc0eed233c1">mesos::internal::StorageLocalResourceProvider::StorageLocalResourceProvider</a></div><div class="ttdeci">StorageLocalResourceProvider(const StorageLocalResourceProvider &other)=delete</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1URL_html"><div class="ttname"><a href="structprocess_1_1http_1_1URL.html">process::http::URL</a></div><div class="ttdef"><b>Definition:</b> http.hpp:129</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1URL_html"><div class="ttname"><a href="structprocess_1_1http_1_1URL.html">process::http::URL</a></div><div class="ttdef"><b>Definition:</b> http.hpp:128</div></div>
<div class="ttc" id="namespacemesos_html"><div class="ttname"><a href="namespacemesos.html">mesos</a></div><div class="ttdef"><b>Definition:</b> spec.hpp:30</div></div>
<div class="ttc" id="namespaceinternal_html"><div class="ttname"><a href="namespaceinternal.html">internal</a></div><div class="ttdef"><b>Definition:</b> attributes.hpp:24</div></div>
<div class="ttc" id="classmesos_1_1internal_1_1StorageLocalResourceProvider_html_ad7dc2854ee01b3c188fa877ae04d9c46"><div class="ttname"><a href="classmesos_1_1internal_1_1StorageLocalResourceProvider.html#ad7dc2854ee01b3c188fa877ae04d9c46">mesos::internal::StorageLocalResourceProvider::create</a></div><div class="ttdeci">static Try< process::Owned< LocalResourceProvider > > create(const process::http::URL &url, const std::string &workDir, const mesos::ResourceProviderInfo &info, const SlaveID &slaveId, const Option< std::string > &authToken, bool strict)</div></div>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/resource__provider_2local_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/resource__provider_2local_8hpp_source.html b/content/api/latest/c++/resource__provider_2local_8hpp_source.html
index 75a5bdd..91e5bbe 100644
--- a/content/api/latest/c++/resource__provider_2local_8hpp_source.html
+++ b/content/api/latest/c++/resource__provider_2local_8hpp_source.html
@@ -55,7 +55,7 @@
<a href="resource__provider_2local_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> <span class="comment">// Licensed to the Apache Software Foundation (ASF) under one</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// or more contributor license agreements. See the NOTICE file</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// distributed with this work for additional information</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// regarding copyright ownership. The ASF licenses this file</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// to you under the Apache License, Version 2.0 (the</span></div><div class="line"><a name="l00
006"></a><span class="lineno"> 6</span> <span class="comment">// "License"); you may not use this file except in compliance</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">// with the License. You may obtain a copy of the License at</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">//</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">// http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">//</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">// Unless required by applicable law or agreed to in writing, software</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="com
ment">// distributed under the License is distributed on an "AS IS" BASIS,</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">// See the License for the specific language governing permissions and</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">// limitations under the License.</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#ifndef __RESOURCE_PROVIDER_LOCAL_HPP__</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#define __RESOURCE_PROVIDER_LOCAL_HPP
__</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <<a class="code" href="include_2mesos_2mesos_8hpp.html">mesos/mesos.hpp</a>></span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include <<a class="code" href="3rdparty_2libprocess_2include_2process_2authenticator_8hpp.html">process/authenticator.hpp</a>></span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <<a class="code" href="3rdparty_2libprocess_2include_2process_2http_8hpp.html">process/http.hpp</a>></span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <<a
class="code" href="owned_8hpp.html">process/owned.hpp</a>></span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <<a class="code" href="try_8hpp.html">stout/try.hpp</a>></span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="keyword">namespace </span><a class="code" href="namespacemesos.html">mesos</a> {</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="keyword">namespace </span><a class="code" href="namespaceinternal.html">internal</a> {</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="classmesos_1_1internal_1_1LocalResourceP
rovider.html"> 31</a></span> <span class="keyword">class </span><a class="code" href="classmesos_1_1internal_1_1LocalResourceProvider.html">LocalResourceProvider</a></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> {</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="keyword">static</span> <a class="code" href="classTry.html">Try<process::Owned<LocalResourceProvider></a>> <a class="code" href="classmesos_1_1internal_1_1LocalResourceProvider.html#a87dd361e253a03cfa2874411b8a366cd">create</a>(</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="keyword">const</span> <a class="code" href="structprocess_1_1http_1_1URL.html">process::http::URL</a>& url,</div><div class="line"><a name="l00036"></a><span class="lineno">
36</span>  <span class="keyword">const</span> std::string& workDir,</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keyword">const</span> ResourceProviderInfo& info,</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="keyword">const</span> SlaveID& slaveId,</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keyword">const</span> <a class="code" href="classOption.html">Option<std::string></a>& authToken,</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keywordtype">bool</span> strict);</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> </div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keyword">static</span> <a class="code" href="classTry.html">Try<process::http::a
uthentication::Principal></a> <a class="code" href="classmesos_1_1internal_1_1LocalResourceProvider.html#a9390a207f4f15b5847f792af1f38cb07">principal</a>(</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keyword">const</span> ResourceProviderInfo& info);</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> </div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="keyword">virtual</span> <a class="code" href="classmesos_1_1internal_1_1LocalResourceProvider.html#ad1e9626a7f7c92d4aa4b0958f38b9232">~LocalResourceProvider</a>() = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> };</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> </div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> } <span class="comment">// namespace int
ernal {</span></div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> } <span class="comment">// namespace mesos {</span></div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> </div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="preprocessor">#endif // __RESOURCE_PROVIDER_LOCAL_HPP__</span></div><div class="ttc" id="classOption_html"><div class="ttname"><a href="classOption.html">Option< std::string ></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> check.hpp:33</div></div>
<div class="ttc" id="include_2mesos_2mesos_8hpp_html"><div class="ttname"><a href="include_2mesos_2mesos_8hpp.html">mesos.hpp</a></div></div>
-<div class="ttc" id="structprocess_1_1http_1_1URL_html"><div class="ttname"><a href="structprocess_1_1http_1_1URL.html">process::http::URL</a></div><div class="ttdef"><b>Definition:</b> http.hpp:129</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1URL_html"><div class="ttname"><a href="structprocess_1_1http_1_1URL.html">process::http::URL</a></div><div class="ttdef"><b>Definition:</b> http.hpp:128</div></div>
<div class="ttc" id="namespacemesos_html"><div class="ttname"><a href="namespacemesos.html">mesos</a></div><div class="ttdef"><b>Definition:</b> spec.hpp:30</div></div>
<div class="ttc" id="classmesos_1_1internal_1_1LocalResourceProvider_html_ad1e9626a7f7c92d4aa4b0958f38b9232"><div class="ttname"><a href="classmesos_1_1internal_1_1LocalResourceProvider.html#ad1e9626a7f7c92d4aa4b0958f38b9232">mesos::internal::LocalResourceProvider::~LocalResourceProvider</a></div><div class="ttdeci">virtual ~LocalResourceProvider()=default</div></div>
<div class="ttc" id="namespaceinternal_html"><div class="ttname"><a href="namespaceinternal.html">internal</a></div><div class="ttdef"><b>Definition:</b> attributes.hpp:24</div></div>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/resource__provider_2manager_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/resource__provider_2manager_8hpp_source.html b/content/api/latest/c++/resource__provider_2manager_8hpp_source.html
index b30a4a3..d79b3f4 100644
--- a/content/api/latest/c++/resource__provider_2manager_8hpp_source.html
+++ b/content/api/latest/c++/resource__provider_2manager_8hpp_source.html
@@ -57,7 +57,7 @@
<div class="ttc" id="namespaceprocess_1_1http_html_ad8f400b5e54038df7e5662ec35da05fa"><div class="ttname"><a href="namespaceprocess_1_1http.html#ad8f400b5e54038df7e5662ec35da05fa">process::http::request</a></div><div class="ttdeci">Future< Response > request(const Request &request, bool streamedResponse=false)</div><div class="ttdoc">Asynchronously sends an HTTP request to the process and returns the HTTP response once the entire res...</div></div>
<div class="ttc" id="classmesos_1_1internal_1_1ResourceProviderManager_html_a99b78ea2c2adfa4b1459769d78cf5a2c"><div class="ttname"><a href="classmesos_1_1internal_1_1ResourceProviderManager.html#a99b78ea2c2adfa4b1459769d78cf5a2c">mesos::internal::ResourceProviderManager::messages</a></div><div class="ttdeci">process::Queue< ResourceProviderMessage > messages() const </div></div>
<div class="ttc" id="classmesos_1_1Resources_html"><div class="ttname"><a href="classmesos_1_1Resources.html">mesos::Resources</a></div><div class="ttdef"><b>Definition:</b> resources.hpp:79</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:518</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:517</div></div>
<div class="ttc" id="classmesos_1_1internal_1_1ResourceProviderManager_html_a7e3b37fe702c1f4c9a95eb4702806cbb"><div class="ttname"><a href="classmesos_1_1internal_1_1ResourceProviderManager.html#a7e3b37fe702c1f4c9a95eb4702806cbb">mesos::internal::ResourceProviderManager::operator=</a></div><div class="ttdeci">ResourceProviderManager & operator=(const ResourceProviderManager &other)=delete</div></div>
<div class="ttc" id="classmesos_1_1internal_1_1ResourceProviderManager_html_aa4800de1b596e1a1b87bd75780e1cb64"><div class="ttname"><a href="classmesos_1_1internal_1_1ResourceProviderManager.html#aa4800de1b596e1a1b87bd75780e1cb64">mesos::internal::ResourceProviderManager::reconcileOperations</a></div><div class="ttdeci">void reconcileOperations(const ReconcileOperationsMessage &message) const </div></div>
<div class="ttc" id="src_2resource__provider_2message_8hpp_html"><div class="ttname"><a href="src_2resource__provider_2message_8hpp.html">message.hpp</a></div></div>
[06/10] mesos-site git commit: Updated the website built from mesos
SHA: 4189657.
Posted by gi...@apache.org.
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/encoder_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/encoder_8hpp_source.html b/content/api/latest/c++/encoder_8hpp_source.html
index 4c967ca..3d8f4ac 100644
--- a/content/api/latest/c++/encoder_8hpp_source.html
+++ b/content/api/latest/c++/encoder_8hpp_source.html
@@ -62,7 +62,7 @@
<div class="ttc" id="classTry_html_a8bc7f43e75a47111ea18e9c83b007be5"><div class="ttname"><a href="classTry.html#a8bc7f43e75a47111ea18e9c83b007be5">Try::get</a></div><div class="ttdeci">T & get()&</div><div class="ttdef"><b>Definition:</b> try.hpp:73</div></div>
<div class="ttc" id="structprocess_1_1http_1_1Request_html_ab73883ea45426022ec851b2069f8ed21"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html#ab73883ea45426022ec851b2069f8ed21">process::http::Request::acceptsEncoding</a></div><div class="ttdeci">bool acceptsEncoding(const std::string &encoding) const </div><div class="ttdoc">Returns whether the encoding is considered acceptable in the response. </div></div>
<div class="ttc" id="classTry_html"><div class="ttname"><a href="classTry.html">Try</a></div><div class="ttdef"><b>Definition:</b> check.hpp:33</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Response_html_a8fcbd2073ace160af24a9ee531cb4378"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html#a8fcbd2073ace160af24a9ee531cb4378">process::http::Response::status</a></div><div class="ttdeci">std::string status</div><div class="ttdef"><b>Definition:</b> http.hpp:621</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Response_html_a8fcbd2073ace160af24a9ee531cb4378"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html#a8fcbd2073ace160af24a9ee531cb4378">process::http::Response::status</a></div><div class="ttdeci">std::string status</div><div class="ttdef"><b>Definition:</b> http.hpp:620</div></div>
<div class="ttc" id="structprocess_1_1Message_html"><div class="ttname"><a href="structprocess_1_1Message.html">process::Message</a></div><div class="ttdef"><b>Definition:</b> message.hpp:22</div></div>
<div class="ttc" id="classprocess_1_1DataEncoder_html_a5430bf4549e2aa2d841970d8c48dd3f1"><div class="ttname"><a href="classprocess_1_1DataEncoder.html#a5430bf4549e2aa2d841970d8c48dd3f1">process::DataEncoder::kind</a></div><div class="ttdeci">virtual Kind kind() const </div><div class="ttdef"><b>Definition:</b> encoder.hpp:70</div></div>
<div class="ttc" id="os_8hpp_html"><div class="ttname"><a href="os_8hpp.html">os.hpp</a></div></div>
@@ -70,22 +70,22 @@
<div class="ttc" id="classprocess_1_1Encoder_html_ab897ad4d4c34b843b2470a687955110a"><div class="ttname"><a href="classprocess_1_1Encoder.html#ab897ad4d4c34b843b2470a687955110a">process::Encoder::kind</a></div><div class="ttdeci">virtual Kind kind() const =0</div></div>
<div class="ttc" id="numify_8hpp_html"><div class="ttname"><a href="numify_8hpp.html">numify.hpp</a></div></div>
<div class="ttc" id="classprocess_1_1FileEncoder_html_ab809c049d3804ee27b5b62997f167e3a"><div class="ttname"><a href="classprocess_1_1FileEncoder.html#ab809c049d3804ee27b5b62997f167e3a">process::FileEncoder::next</a></div><div class="ttdeci">virtual int_fd next(off_t *offset, size_t *length)</div><div class="ttdef"><b>Definition:</b> encoder.hpp:256</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Response_html_a6dd5881e0450540a106e37257434eaadaa49acb0a3f416b805cb49ec1a4549b14"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html#a6dd5881e0450540a106e37257434eaadaa49acb0a3f416b805cb49ec1a4549b14">process::http::Response::NONE</a></div><div class="ttdef"><b>Definition:</b> http.hpp:648</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Response_html_a6dd5881e0450540a106e37257434eaadaa49acb0a3f416b805cb49ec1a4549b14"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html#a6dd5881e0450540a106e37257434eaadaa49acb0a3f416b805cb49ec1a4549b14">process::http::Response::NONE</a></div><div class="ttdef"><b>Definition:</b> http.hpp:647</div></div>
<div class="ttc" id="classResult_html"><div class="ttname"><a href="classResult.html">Result</a></div><div class="ttdef"><b>Definition:</b> check.hpp:30</div></div>
<div class="ttc" id="classprocess_1_1Encoder_html_a61ab7c7c77f3285b9e1a91c3f962a007"><div class="ttname"><a href="classprocess_1_1Encoder.html#a61ab7c7c77f3285b9e1a91c3f962a007">process::Encoder::Kind</a></div><div class="ttdeci">Kind</div><div class="ttdef"><b>Definition:</b> encoder.hpp:44</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:518</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:517</div></div>
<div class="ttc" id="namespacegzip_html_a6ca8f3e08feb9af115ddcb685b8db57b"><div class="ttname"><a href="namespacegzip.html#a6ca8f3e08feb9af115ddcb685b8db57b">gzip::compress</a></div><div class="ttdeci">Try< std::string > compress(const std::string &decompressed, int level=Z_DEFAULT_COMPRESSION)</div><div class="ttdef"><b>Definition:</b> gzip.hpp:179</div></div>
<div class="ttc" id="classprocess_1_1HttpResponseEncoder_html_a6e30448aa442e8aec33dc6ff2d3747d9"><div class="ttname"><a href="classprocess_1_1HttpResponseEncoder.html#a6e30448aa442e8aec33dc6ff2d3747d9">process::HttpResponseEncoder::encode</a></div><div class="ttdeci">static std::string encode(const http::Response &response, const http::Request &request)</div><div class="ttdef"><b>Definition:</b> encoder.hpp:151</div></div>
<div class="ttc" id="classprocess_1_1HttpResponseEncoder_html"><div class="ttname"><a href="classprocess_1_1HttpResponseEncoder.html">process::HttpResponseEncoder</a></div><div class="ttdef"><b>Definition:</b> encoder.hpp:143</div></div>
<div class="ttc" id="classprocess_1_1Encoder_html_ad4d01c19116f3044ad6b5640085f51b1"><div class="ttname"><a href="classprocess_1_1Encoder.html#ad4d01c19116f3044ad6b5640085f51b1">process::Encoder::backup</a></div><div class="ttdeci">virtual void backup(size_t length)=0</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Response_html_a6dd5881e0450540a106e37257434eaada7d2a4db1b1426c6caab18fa8b484f4f5"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html#a6dd5881e0450540a106e37257434eaada7d2a4db1b1426c6caab18fa8b484f4f5">process::http::Response::BODY</a></div><div class="ttdef"><b>Definition:</b> http.hpp:649</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Response_html_a6dd5881e0450540a106e37257434eaada7d2a4db1b1426c6caab18fa8b484f4f5"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html#a6dd5881e0450540a106e37257434eaada7d2a4db1b1426c6caab18fa8b484f4f5">process::http::Response::BODY</a></div><div class="ttdef"><b>Definition:</b> http.hpp:648</div></div>
<div class="ttc" id="structprocess_1_1Message_html_a8a407ef45ff459747256f8d701951d28"><div class="ttname"><a href="structprocess_1_1Message.html#a8a407ef45ff459747256f8d701951d28">process::Message::to</a></div><div class="ttdeci">UPID to</div><div class="ttdef"><b>Definition:</b> message.hpp:26</div></div>
<div class="ttc" id="namespacerouting_1_1filter_1_1internal_html_af143a877c566cca8dacc77d3b64f3372"><div class="ttname"><a href="namespacerouting_1_1filter_1_1internal.html#af143a877c566cca8dacc77d3b64f3372">routing::filter::internal::encode</a></div><div class="ttdeci">Try< Nothing > encode(const Netlink< struct rtnl_cls > &cls, const Classifier &classifier)</div></div>
<div class="ttc" id="namespacerouting_1_1link_html_a26486cdba01ef1c80706b1e07e8a6d3f"><div class="ttname"><a href="namespacerouting_1_1link.html#a26486cdba01ef1c80706b1e07e8a6d3f">routing::link::index</a></div><div class="ttdeci">Result< int > index(const std::string &link)</div></div>
<div class="ttc" id="structprocess_1_1Message_html_a34b9bf104323f4cb48049c00046bf02c"><div class="ttname"><a href="structprocess_1_1Message.html#a34b9bf104323f4cb48049c00046bf02c">process::Message::from</a></div><div class="ttdeci">UPID from</div><div class="ttdef"><b>Definition:</b> message.hpp:25</div></div>
<div class="ttc" id="classprocess_1_1DataEncoder_html_acb993d917c7bbf177318d6d68ab5f800"><div class="ttname"><a href="classprocess_1_1DataEncoder.html#acb993d917c7bbf177318d6d68ab5f800">process::DataEncoder::~DataEncoder</a></div><div class="ttdeci">virtual ~DataEncoder()</div><div class="ttdef"><b>Definition:</b> encoder.hpp:68</div></div>
<div class="ttc" id="stout_2include_2stout_2check_8hpp_html_aee320e7c6e107071f4b85d4cc135a265"><div class="ttname"><a href="stout_2include_2stout_2check_8hpp.html#aee320e7c6e107071f4b85d4cc135a265">CHECK_SOME</a></div><div class="ttdeci">#define CHECK_SOME(expression)</div><div class="ttdef"><b>Definition:</b> check.hpp:50</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Response_html_a5f6d23dd77e1eeb0737dc728e0109905"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html#a5f6d23dd77e1eeb0737dc728e0109905">process::http::Response::body</a></div><div class="ttdeci">std::string body</div><div class="ttdef"><b>Definition:</b> http.hpp:654</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Response_html_a5f6d23dd77e1eeb0737dc728e0109905"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html#a5f6d23dd77e1eeb0737dc728e0109905">process::http::Response::body</a></div><div class="ttdeci">std::string body</div><div class="ttdef"><b>Definition:</b> http.hpp:653</div></div>
<div class="ttc" id="namespaceos_html_a8df77ec6d6b8d32d9b287a41bc74cfdc"><div class="ttname"><a href="namespaceos.html#a8df77ec6d6b8d32d9b287a41bc74cfdc">os::close</a></div><div class="ttdeci">Try< Nothing > close(int fd)</div><div class="ttdef"><b>Definition:</b> close.hpp:24</div></div>
<div class="ttc" id="classprocess_1_1FileEncoder_html_a4d6103c619e2c9ec1918813ada1f7b32"><div class="ttname"><a href="classprocess_1_1FileEncoder.html#a4d6103c619e2c9ec1918813ada1f7b32">process::FileEncoder::backup</a></div><div class="ttdeci">virtual void backup(size_t length)</div><div class="ttdef"><b>Definition:</b> encoder.hpp:265</div></div>
<div class="ttc" id="option_8hpp_html_ac4b53d77033a5d2405ef12ceb3dc6498"><div class="ttname"><a href="option_8hpp.html#ac4b53d77033a5d2405ef12ceb3dc6498">max</a></div><div class="ttdeci">Option< T > max(const Option< T > &left, const Option< T > &right)</div><div class="ttdef"><b>Definition:</b> option.hpp:208</div></div>
@@ -104,7 +104,7 @@
<div class="ttc" id="classprocess_1_1MessageEncoder_html_a2eac4fc7fb0ab34c2c15de22772c16a7"><div class="ttname"><a href="classprocess_1_1MessageEncoder.html#a2eac4fc7fb0ab34c2c15de22772c16a7">process::MessageEncoder::encode</a></div><div class="ttdeci">static std::string encode(const Message &message)</div><div class="ttdef"><b>Definition:</b> encoder.hpp:107</div></div>
<div class="ttc" id="namespaceprocess_html"><div class="ttname"><a href="namespaceprocess.html">process</a></div><div class="ttdef"><b>Definition:</b> executor.hpp:47</div></div>
<div class="ttc" id="classprocess_1_1HttpResponseEncoder_html_a2e9196004c508b063fee9ed5f82ccf3d"><div class="ttname"><a href="classprocess_1_1HttpResponseEncoder.html#a2e9196004c508b063fee9ed5f82ccf3d">process::HttpResponseEncoder::HttpResponseEncoder</a></div><div class="ttdeci">HttpResponseEncoder(const http::Response &response, const http::Request &request)</div><div class="ttdef"><b>Definition:</b> encoder.hpp:146</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Response_html"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html">process::http::Response</a></div><div class="ttdef"><b>Definition:</b> http.hpp:595</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Response_html"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html">process::http::Response</a></div><div class="ttdef"><b>Definition:</b> http.hpp:594</div></div>
<div class="ttc" id="classprocess_1_1DataEncoder_html"><div class="ttname"><a href="classprocess_1_1DataEncoder.html">process::DataEncoder</a></div><div class="ttdef"><b>Definition:</b> encoder.hpp:62</div></div>
<div class="ttc" id="classprocess_1_1FileEncoder_html_ac17e03b4af0e161920a134f2b48c8317"><div class="ttname"><a href="classprocess_1_1FileEncoder.html#ac17e03b4af0e161920a134f2b48c8317">process::FileEncoder::remaining</a></div><div class="ttdeci">virtual size_t remaining() const </div><div class="ttdef"><b>Definition:</b> encoder.hpp:272</div></div>
<div class="ttc" id="structprocess_1_1Message_html_aba0d1f741d939864cf287833dd14792e"><div class="ttname"><a href="structprocess_1_1Message.html#aba0d1f741d939864cf287833dd14792e">process::Message::body</a></div><div class="ttdeci">std::string body</div><div class="ttdef"><b>Definition:</b> message.hpp:27</div></div>
@@ -115,7 +115,7 @@
<div class="ttc" id="structprocess_1_1UPID_html_ad7d00aa355c9f8c1fa6bc1caeda7c5a1"><div class="ttname"><a href="structprocess_1_1UPID.html#ad7d00aa355c9f8c1fa6bc1caeda7c5a1">process::UPID::id</a></div><div class="ttdeci">struct process::UPID::ID id</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>
-<div class="ttc" id="structprocess_1_1http_1_1Response_html_ae463c5c7a083aea98a89cf9b675b59ab"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html#ae463c5c7a083aea98a89cf9b675b59ab">process::http::Response::headers</a></div><div class="ttdeci">Headers headers</div><div class="ttdef"><b>Definition:</b> http.hpp:623</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Response_html_ae463c5c7a083aea98a89cf9b675b59ab"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html#ae463c5c7a083aea98a89cf9b675b59ab">process::http::Response::headers</a></div><div class="ttdeci">Headers headers</div><div class="ttdef"><b>Definition:</b> http.hpp:622</div></div>
<div class="ttc" id="3rdparty_2libprocess_2include_2process_2http_8hpp_html"><div class="ttname"><a href="3rdparty_2libprocess_2include_2process_2http_8hpp.html">http.hpp</a></div></div>
<div class="ttc" id="structprocess_1_1http_1_1Response_html_a6846045a3c3df3abd8e2735847af3a79"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html#a6846045a3c3df3abd8e2735847af3a79">process::http::Response::type</a></div><div class="ttdeci">enum process::http::Response::@4 type</div></div>
<div class="ttc" id="structprocess_1_1Message_html_a97a2032a98cf03075101d02dbc50539c"><div class="ttname"><a href="structprocess_1_1Message.html#a97a2032a98cf03075101d02dbc50539c">process::Message::name</a></div><div class="ttdeci">std::string name</div><div class="ttdef"><b>Definition:</b> message.hpp:24</div></div>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/event_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/event_8hpp_source.html b/content/api/latest/c++/event_8hpp_source.html
index 53d6140..5832a3d 100644
--- a/content/api/latest/c++/event_8hpp_source.html
+++ b/content/api/latest/c++/event_8hpp_source.html
@@ -58,7 +58,7 @@
<div class="ttc" id="structprocess_1_1EventVisitor_html_a73ab5ec3df4760a4f66c226d3760e696"><div class="ttname"><a href="structprocess_1_1EventVisitor.html#a73ab5ec3df4760a4f66c226d3760e696">process::EventVisitor::visit</a></div><div class="ttdeci">virtual void visit(const TerminateEvent &)</div><div class="ttdef"><b>Definition:</b> event.hpp:45</div></div>
<div class="ttc" id="namespaceprocess_1_1http_html_ad8f400b5e54038df7e5662ec35da05fa"><div class="ttname"><a href="namespaceprocess_1_1http.html#ad8f400b5e54038df7e5662ec35da05fa">process::http::request</a></div><div class="ttdeci">Future< Response > request(const Request &request, bool streamedResponse=false)</div><div class="ttdoc">Asynchronously sends an HTTP request to the process and returns the HTTP response once the entire res...</div></div>
<div class="ttc" id="namespaceprocess_html_a62d5333e8ec1817c249cf83e15d568b4"><div class="ttname"><a href="namespaceprocess.html#a62d5333e8ec1817c249cf83e15d568b4">process::f</a></div><div class="ttdeci">F && f</div><div class="ttdef"><b>Definition:</b> defer.hpp:270</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Request_html_aba3024fe3e1028d19f5fb4e92519cb56"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html#aba3024fe3e1028d19f5fb4e92519cb56">process::http::Request::url</a></div><div class="ttdeci">URL url</div><div class="ttdef"><b>Definition:</b> http.hpp:529</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Request_html_aba3024fe3e1028d19f5fb4e92519cb56"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html#aba3024fe3e1028d19f5fb4e92519cb56">process::http::Request::url</a></div><div class="ttdeci">URL url</div><div class="ttdef"><b>Definition:</b> http.hpp:528</div></div>
<div class="ttc" id="structprocess_1_1MessageEvent_html_a20d52fda0a3f51af96ce5bd1b29fa966"><div class="ttname"><a href="structprocess_1_1MessageEvent.html#a20d52fda0a3f51af96ce5bd1b29fa966">process::MessageEvent::MessageEvent</a></div><div class="ttdeci">MessageEvent(const UPID &from, const UPID &to, const std::string &name, const char *data, size_t length)</div><div class="ttdef"><b>Definition:</b> event.hpp:108</div></div>
<div class="ttc" id="structprocess_1_1HttpEvent_html"><div class="ttname"><a href="structprocess_1_1HttpEvent.html">process::HttpEvent</a></div><div class="ttdef"><b>Definition:</b> event.hpp:142</div></div>
<div class="ttc" id="structprocess_1_1Message_html"><div class="ttname"><a href="structprocess_1_1Message.html">process::Message</a></div><div class="ttdef"><b>Definition:</b> message.hpp:22</div></div>
@@ -78,7 +78,7 @@
<div class="ttc" id="lambda_8hpp_html"><div class="ttname"><a href="lambda_8hpp.html">lambda.hpp</a></div></div>
<div class="ttc" id="structprocess_1_1TerminateEvent_html"><div class="ttname"><a href="structprocess_1_1TerminateEvent.html">process::TerminateEvent</a></div><div class="ttdef"><b>Definition:</b> event.hpp:238</div></div>
<div class="ttc" id="structprocess_1_1ExitedEvent_html"><div class="ttname"><a href="structprocess_1_1ExitedEvent.html">process::ExitedEvent</a></div><div class="ttdef"><b>Definition:</b> event.hpp:214</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:518</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:517</div></div>
<div class="ttc" id="structJSON_1_1Object_html"><div class="ttname"><a href="structJSON_1_1Object.html">JSON::Object</a></div><div class="ttdef"><b>Definition:</b> json.hpp:154</div></div>
<div class="ttc" id="structprocess_1_1TerminateEvent_html_a75964e25fed864e2f2f10c9c3d5b718e"><div class="ttname"><a href="structprocess_1_1TerminateEvent.html#a75964e25fed864e2f2f10c9c3d5b718e">process::TerminateEvent::from</a></div><div class="ttdeci">UPID from</div><div class="ttdef"><b>Definition:</b> event.hpp:258</div></div>
<div class="ttc" id="structprocess_1_1Message_html_a8a407ef45ff459747256f8d701951d28"><div class="ttname"><a href="structprocess_1_1Message.html#a8a407ef45ff459747256f8d701951d28">process::Message::to</a></div><div class="ttdeci">UPID to</div><div class="ttdef"><b>Definition:</b> message.hpp:26</div></div>
@@ -94,7 +94,7 @@
<div class="ttc" id="libprocess_2include_2process_2socket_8hpp_html"><div class="ttname"><a href="libprocess_2include_2process_2socket_8hpp.html">socket.hpp</a></div></div>
<div class="ttc" id="structprocess_1_1HttpEvent_html_a7f941fe869541236875979683652a43b"><div class="ttname"><a href="structprocess_1_1HttpEvent.html#a7f941fe869541236875979683652a43b">process::HttpEvent::request</a></div><div class="ttdeci">std::unique_ptr< http::Request > request</div><div class="ttdef"><b>Definition:</b> event.hpp:173</div></div>
<div class="ttc" id="structprocess_1_1ExitedEvent_html_aacae7e724b82f3f33f640b9026e163c8"><div class="ttname"><a href="structprocess_1_1ExitedEvent.html#aacae7e724b82f3f33f640b9026e163c8">process::ExitedEvent::visit</a></div><div class="ttdeci">void visit(EventVisitor *visitor) const override</div><div class="ttdef"><b>Definition:</b> event.hpp:224</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1InternalServerError_html"><div class="ttname"><a href="structprocess_1_1http_1_1InternalServerError.html">process::http::InternalServerError</a></div><div class="ttdef"><b>Definition:</b> http.hpp:821</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1InternalServerError_html"><div class="ttname"><a href="structprocess_1_1http_1_1InternalServerError.html">process::http::InternalServerError</a></div><div class="ttdef"><b>Definition:</b> http.hpp:820</div></div>
<div class="ttc" id="structprocess_1_1EventVisitor_html_a262d352ed7de8dcb9bfed7d8ce0d450e"><div class="ttname"><a href="structprocess_1_1EventVisitor.html#a262d352ed7de8dcb9bfed7d8ce0d450e">process::EventVisitor::visit</a></div><div class="ttdeci">virtual void visit(const HttpEvent &)</div><div class="ttdef"><b>Definition:</b> event.hpp:43</div></div>
<div class="ttc" id="abort_8hpp_html"><div class="ttname"><a href="abort_8hpp.html">abort.hpp</a></div></div>
<div class="ttc" id="structprocess_1_1Event_html_a5e2a796c20db188a91540378ac6c6ab5"><div class="ttname"><a href="structprocess_1_1Event.html#a5e2a796c20db188a91540378ac6c6ab5">process::Event::as</a></div><div class="ttdeci">const T & as() const </div><div class="ttdef"><b>Definition:</b> event.hpp:82</div></div>
@@ -105,7 +105,7 @@
<div class="ttc" id="structprocess_1_1Event_html_a578f42661cbf2a9499d50c0ac1dba2b8"><div class="ttname"><a href="structprocess_1_1Event.html#a578f42661cbf2a9499d50c0ac1dba2b8">process::Event::~Event</a></div><div class="ttdeci">virtual ~Event()</div><div class="ttdef"><b>Definition:</b> event.hpp:62</div></div>
<div class="ttc" id="structprocess_1_1EventConsumer_html_ad0f7d6f28720779ce999cd6bf8869313"><div class="ttname"><a href="structprocess_1_1EventConsumer.html#ad0f7d6f28720779ce999cd6bf8869313">process::EventConsumer::consume</a></div><div class="ttdeci">virtual void consume(TerminateEvent &&)</div><div class="ttdef"><b>Definition:</b> event.hpp:56</div></div>
<div class="ttc" id="structprocess_1_1EventConsumer_html_a3314724fb3b29d6f8093b0ba9d182f18"><div class="ttname"><a href="structprocess_1_1EventConsumer.html#a3314724fb3b29d6f8093b0ba9d182f18">process::EventConsumer::consume</a></div><div class="ttdeci">virtual void consume(DispatchEvent &&)</div><div class="ttdef"><b>Definition:</b> event.hpp:53</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Request_html_a2e81202fca3244a7de00ac7bb253d59d"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html#a2e81202fca3244a7de00ac7bb253d59d">process::http::Request::method</a></div><div class="ttdeci">std::string method</div><div class="ttdef"><b>Definition:</b> http.hpp:523</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Request_html_a2e81202fca3244a7de00ac7bb253d59d"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html#a2e81202fca3244a7de00ac7bb253d59d">process::http::Request::method</a></div><div class="ttdeci">std::string method</div><div class="ttdef"><b>Definition:</b> http.hpp:522</div></div>
<div class="ttc" id="namespaceprocess_html"><div class="ttname"><a href="namespaceprocess.html">process</a></div><div class="ttdef"><b>Definition:</b> executor.hpp:47</div></div>
<div class="ttc" id="structprocess_1_1EventConsumer_html_aa99c69fa7be738755110daac37570424"><div class="ttname"><a href="structprocess_1_1EventConsumer.html#aa99c69fa7be738755110daac37570424">process::EventConsumer::consume</a></div><div class="ttdeci">virtual void consume(HttpEvent &&)</div><div class="ttdef"><b>Definition:</b> event.hpp:54</div></div>
<div class="ttc" id="structprocess_1_1EventVisitor_html"><div class="ttname"><a href="structprocess_1_1EventVisitor.html">process::EventVisitor</a></div><div class="ttdef"><b>Definition:</b> event.hpp:38</div></div>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/firewall_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/firewall_8hpp_source.html b/content/api/latest/c++/firewall_8hpp_source.html
index e10c13d..c38f642 100644
--- a/content/api/latest/c++/firewall_8hpp_source.html
+++ b/content/api/latest/c++/firewall_8hpp_source.html
@@ -54,13 +54,13 @@
<div class="contents">
<a href="firewall_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> <span class="comment">// Licensed under the Apache License, Version 2.0 (the "License");</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <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> <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> <span class="comment">//</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <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> <span class="comment">//</
span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <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> <span class="comment">// distributed under the License is distributed on an "AS IS" BASIS,</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <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> <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> <span class="comment">// limitations under the License</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> </div><div class="
line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#ifndef __PROCESS_FIREWALL_HPP__</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#define __PROCESS_FIREWALL_HPP__</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include <<a class="code" href="3rdparty_2libprocess_2include_2process_2http_8hpp.html">process/http.hpp</a>></span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include <<a class="code" href="owned_8hpp.html">process/ow
ned.hpp</a>></span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <<a class="code" href="libprocess_2include_2process_2socket_8hpp.html">process/socket.hpp</a>></span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include <<a class="code" href="error_8hpp.html">stout/error.hpp</a>></span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <<a class="code" href="hashset_8hpp.html">stout/hashset.hpp</a>></span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <<a class="code" href="option_8hpp.html">stout/option.hpp</a>></span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&
#160;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="keyword">namespace </span><a class="code" href="namespaceprocess.html">process</a> {</div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="namespaceprocess_1_1firewall.html"> 27</a></span> <span class="keyword">namespace </span>firewall {</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="classprocess_1_1firewall_1_1FirewallRule.html"> 40</a></span> <span class="keyword">class </span><a class="code" href="classprocess_1_1firewall_1_1FirewallRule.html">FirewallRule</a></div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> {</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00043"></a><span
class="lineno"><a class="line" href="classprocess_1_1firewall_1_1FirewallRule.html#a295003eedee0b79239eac74712ed473a"> 43</a></span>  <a class="code" href="classprocess_1_1firewall_1_1FirewallRule.html#a295003eedee0b79239eac74712ed473a">FirewallRule</a>() {}</div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="classprocess_1_1firewall_1_1FirewallRule.html#a1b0a4667f217f164c5466da43598e6df"> 44</a></span>  <span class="keyword">virtual</span> <a class="code" href="classprocess_1_1firewall_1_1FirewallRule.html#a1b0a4667f217f164c5466da43598e6df">~FirewallRule</a>() {}</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> </div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keyword">virtual</span> <a class="code" href="classOption.html">Option<http::Response></a> <a class="code" href="classprocess_1_1firewall_1_1FirewallRule.html#aef80202f4571b5d401daf7e52da
cbf32">apply</a>(</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keyword">const</span> <a class="code" href="classprocess_1_1network_1_1internal_1_1Socket.html">network::inet::Socket</a>& <a class="code" href="namespacerouting.html#aee51d4e36a57bab7d6ada56e15467370">socket</a>,</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keyword">const</span> <a class="code" href="structprocess_1_1http_1_1Request.html">http::Request</a>& <a class="code" href="namespaceprocess_1_1http.html#ad8f400b5e54038df7e5662ec35da05fa">request</a>) = 0;</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> };</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> </div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span> </div><div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="class
process_1_1firewall_1_1DisabledEndpointsFirewallRule.html"> 70</a></span> <span class="keyword">class </span><a class="code" href="classprocess_1_1firewall_1_1DisabledEndpointsFirewallRule.html">DisabledEndpointsFirewallRule</a> : <span class="keyword">public</span> <a class="code" href="classprocess_1_1firewall_1_1FirewallRule.html">FirewallRule</a></div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span> {</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keyword">explicit</span> <a class="code" href="classprocess_1_1firewall_1_1DisabledEndpointsFirewallRule.html">DisabledEndpointsFirewallRule</a>(<span class="keyword">const</span> <a class="code" href="classhashset.html">hashset<std::string></a>& _paths);</div><div class="line"><a name="l00074"></a><span class="lineno">
74</span> </div><div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="classprocess_1_1firewall_1_1DisabledEndpointsFirewallRule.html#ad14cef21c62e239fa4e91f3d7d2dfb6c"> 75</a></span>  <span class="keyword">virtual</span> <a class="code" href="classprocess_1_1firewall_1_1DisabledEndpointsFirewallRule.html#ad14cef21c62e239fa4e91f3d7d2dfb6c">~DisabledEndpointsFirewallRule</a>() {}</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> </div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="classprocess_1_1firewall_1_1DisabledEndpointsFirewallRule.html#a7af83219b1a8f32238c24dcb5cb5e30a"> 77</a></span>  <span class="keyword">virtual</span> <a class="code" href="classOption.html">Option<http::Response></a> <a class="code" href="classprocess_1_1firewall_1_1DisabledEndpointsFirewallRule.html#a7af83219b1a8f32238c24dcb5cb5e30a">apply</a>(</div><div class="line"><a name="l00078"><
/a><span class="lineno"> 78</span>  <span class="keyword">const</span> <a class="code" href="classprocess_1_1network_1_1internal_1_1Socket.html">network::inet::Socket</a>&,</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keyword">const</span> <a class="code" href="structprocess_1_1http_1_1Request.html">http::Request</a>& <a class="code" href="namespaceprocess_1_1http.html#ad8f400b5e54038df7e5662ec35da05fa">request</a>)</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  {</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keywordflow">if</span> (<a class="code" href="namespaceos_1_1libraries.html#a41b3cb8b32c32ab2abf7a7aa62de9f18">paths</a>.contains(request.<a class="code" href="structprocess_1_1http_1_1Request.html#aba3024fe3e1028d19f5fb4e92519cb56">url</a>.<a class="code" href="structprocess_1_1http_1_1URL.html#a184ec5f02b451f1
d53b1ac5032a68dac">path</a>)) {</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keywordflow">return</span> <a class="code" href="structprocess_1_1http_1_1Forbidden.html">http::Forbidden</a>(<span class="stringliteral">"Endpoint '"</span> + request.<a class="code" href="structprocess_1_1http_1_1Request.html#aba3024fe3e1028d19f5fb4e92519cb56">url</a>.<a class="code" href="structprocess_1_1http_1_1URL.html#a184ec5f02b451f1d53b1ac5032a68dac">path</a> + <span class="stringliteral">"' is disabled"</span>);</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  }</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span> </div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keywordflow">return</span> <a class="code" href="structNone.html">None</a>();</div><div class="line"><a name="l00086"></a><span class="l
ineno"> 86</span>  }</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span> </div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <a class="code" href="classhashset.html">hashset<std::string></a> <a class="code" href="namespaceos_1_1libraries.html#a41b3cb8b32c32ab2abf7a7aa62de9f18">paths</a>;</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> };</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span> </div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span> } <span class="comment">// namespace firewall {</span></div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> } <span class="comment">// namespace process {</span></div><div class="line"><a name="l00094"></a><span class="lineno
"> 94</span> </div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> <span class="preprocessor">#endif // __PROCESS_FIREWALL_HPP__</span></div><div class="ttc" id="classOption_html"><div class="ttname"><a href="classOption.html">Option</a></div><div class="ttdef"><b>Definition:</b> option.hpp:28</div></div>
<div class="ttc" id="namespaceprocess_1_1http_html_ad8f400b5e54038df7e5662ec35da05fa"><div class="ttname"><a href="namespaceprocess_1_1http.html#ad8f400b5e54038df7e5662ec35da05fa">process::http::request</a></div><div class="ttdeci">Future< Response > request(const Request &request, bool streamedResponse=false)</div><div class="ttdoc">Asynchronously sends an HTTP request to the process and returns the HTTP response once the entire res...</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Request_html_aba3024fe3e1028d19f5fb4e92519cb56"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html#aba3024fe3e1028d19f5fb4e92519cb56">process::http::Request::url</a></div><div class="ttdeci">URL url</div><div class="ttdef"><b>Definition:</b> http.hpp:529</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Request_html_aba3024fe3e1028d19f5fb4e92519cb56"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html#aba3024fe3e1028d19f5fb4e92519cb56">process::http::Request::url</a></div><div class="ttdeci">URL url</div><div class="ttdef"><b>Definition:</b> http.hpp:528</div></div>
<div class="ttc" id="classhashset_html"><div class="ttname"><a href="classhashset.html">hashset< std::string ></a></div></div>
<div class="ttc" id="classprocess_1_1firewall_1_1DisabledEndpointsFirewallRule_html_a7af83219b1a8f32238c24dcb5cb5e30a"><div class="ttname"><a href="classprocess_1_1firewall_1_1DisabledEndpointsFirewallRule.html#a7af83219b1a8f32238c24dcb5cb5e30a">process::firewall::DisabledEndpointsFirewallRule::apply</a></div><div class="ttdeci">virtual Option< http::Response > apply(const network::inet::Socket &, const http::Request &request)</div><div class="ttdoc">Verify rule by applying it to an HTTP request and its underlying socket connection. </div><div class="ttdef"><b>Definition:</b> firewall.hpp:77</div></div>
<div class="ttc" id="namespaceos_1_1libraries_html_a41b3cb8b32c32ab2abf7a7aa62de9f18"><div class="ttname"><a href="namespaceos_1_1libraries.html#a41b3cb8b32c32ab2abf7a7aa62de9f18">os::libraries::paths</a></div><div class="ttdeci">std::string paths()</div><div class="ttdef"><b>Definition:</b> os.hpp:136</div></div>
<div class="ttc" id="classprocess_1_1firewall_1_1DisabledEndpointsFirewallRule_html_ad14cef21c62e239fa4e91f3d7d2dfb6c"><div class="ttname"><a href="classprocess_1_1firewall_1_1DisabledEndpointsFirewallRule.html#ad14cef21c62e239fa4e91f3d7d2dfb6c">process::firewall::DisabledEndpointsFirewallRule::~DisabledEndpointsFirewallRule</a></div><div class="ttdeci">virtual ~DisabledEndpointsFirewallRule()</div><div class="ttdef"><b>Definition:</b> firewall.hpp:75</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:518</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1URL_html_a184ec5f02b451f1d53b1ac5032a68dac"><div class="ttname"><a href="structprocess_1_1http_1_1URL.html#a184ec5f02b451f1d53b1ac5032a68dac">process::http::URL::path</a></div><div class="ttdeci">std::string path</div><div class="ttdef"><b>Definition:</b> http.hpp:175</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:517</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1URL_html_a184ec5f02b451f1d53b1ac5032a68dac"><div class="ttname"><a href="structprocess_1_1http_1_1URL.html#a184ec5f02b451f1d53b1ac5032a68dac">process::http::URL::path</a></div><div class="ttdeci">std::string path</div><div class="ttdef"><b>Definition:</b> http.hpp:174</div></div>
<div class="ttc" id="classprocess_1_1firewall_1_1FirewallRule_html_a295003eedee0b79239eac74712ed473a"><div class="ttname"><a href="classprocess_1_1firewall_1_1FirewallRule.html#a295003eedee0b79239eac74712ed473a">process::firewall::FirewallRule::FirewallRule</a></div><div class="ttdeci">FirewallRule()</div><div class="ttdef"><b>Definition:</b> firewall.hpp:43</div></div>
<div class="ttc" id="classprocess_1_1firewall_1_1FirewallRule_html_a1b0a4667f217f164c5466da43598e6df"><div class="ttname"><a href="classprocess_1_1firewall_1_1FirewallRule.html#a1b0a4667f217f164c5466da43598e6df">process::firewall::FirewallRule::~FirewallRule</a></div><div class="ttdeci">virtual ~FirewallRule()</div><div class="ttdef"><b>Definition:</b> firewall.hpp:44</div></div>
<div class="ttc" id="libprocess_2include_2process_2socket_8hpp_html"><div class="ttname"><a href="libprocess_2include_2process_2socket_8hpp.html">socket.hpp</a></div></div>
@@ -76,7 +76,7 @@
<div class="ttc" id="classprocess_1_1firewall_1_1FirewallRule_html_aef80202f4571b5d401daf7e52dacbf32"><div class="ttname"><a href="classprocess_1_1firewall_1_1FirewallRule.html#aef80202f4571b5d401daf7e52dacbf32">process::firewall::FirewallRule::apply</a></div><div class="ttdeci">virtual Option< http::Response > apply(const network::inet::Socket &socket, const http::Request &request)=0</div><div class="ttdoc">Verify rule by applying it to an HTTP request and its underlying socket connection. </div></div>
<div class="ttc" id="classprocess_1_1network_1_1internal_1_1Socket_html"><div class="ttname"><a href="classprocess_1_1network_1_1internal_1_1Socket.html">process::network::internal::Socket< inet::Address ></a></div></div>
<div class="ttc" id="3rdparty_2libprocess_2include_2process_2http_8hpp_html"><div class="ttname"><a href="3rdparty_2libprocess_2include_2process_2http_8hpp.html">http.hpp</a></div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Forbidden_html"><div class="ttname"><a href="structprocess_1_1http_1_1Forbidden.html">process::http::Forbidden</a></div><div class="ttdef"><b>Definition:</b> http.hpp:734</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Forbidden_html"><div class="ttname"><a href="structprocess_1_1http_1_1Forbidden.html">process::http::Forbidden</a></div><div class="ttdef"><b>Definition:</b> http.hpp:733</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/help_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/help_8hpp_source.html b/content/api/latest/c++/help_8hpp_source.html
index 0d60590..bfef145 100644
--- a/content/api/latest/c++/help_8hpp_source.html
+++ b/content/api/latest/c++/help_8hpp_source.html
@@ -57,7 +57,7 @@
<div class="ttc" id="namespaceprocess_1_1http_html_ad8f400b5e54038df7e5662ec35da05fa"><div class="ttname"><a href="namespaceprocess_1_1http.html#ad8f400b5e54038df7e5662ec35da05fa">process::http::request</a></div><div class="ttdeci">Future< Response > request(const Request &request, bool streamedResponse=false)</div><div class="ttdoc">Asynchronously sends an HTTP request to the process and returns the HTTP response once the entire res...</div></div>
<div class="ttc" id="namespacestrings_html_ac315a6174f56cba0d8295f84da265416"><div class="ttname"><a href="namespacestrings.html#ac315a6174f56cba0d8295f84da265416">strings::join</a></div><div class="ttdeci">std::stringstream & join(std::stringstream &stream, const std::string &separator, T &&...args)</div><div class="ttdef"><b>Definition:</b> strings.hpp:307</div></div>
<div class="ttc" id="json_8hpp_html"><div class="ttname"><a href="json_8hpp.html">json.hpp</a></div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:518</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:517</div></div>
<div class="ttc" id="namespacemesos_1_1internal_html_a91a5bc5e418e8712bb512721b5abc46d"><div class="ttname"><a href="namespacemesos_1_1internal.html#a91a5bc5e418e8712bb512721b5abc46d">mesos::internal::usage</a></div><div class="ttdeci">Try< ResourceStatistics > usage(pid_t pid, bool mem=true, bool cpus=true)</div></div>
<div class="ttc" id="namespaceprocess_html_a1455e1604a68bfe45564ec63c34a9653"><div class="ttname"><a href="namespaceprocess.html#a1455e1604a68bfe45564ec63c34a9653">process::TLDR</a></div><div class="ttdeci">std::string TLDR(const std::string &tldr)</div><div class="ttdef"><b>Definition:</b> help.hpp:69</div></div>
<div class="ttc" id="classprocess_1_1Help_html_ad87d893bda926c9b6016e43974e2cddc"><div class="ttname"><a href="classprocess_1_1Help.html#ad87d893bda926c9b6016e43974e2cddc">process::Help::add</a></div><div class="ttdeci">void add(const std::string &id, const std::string &name, const Option< std::string > &help)</div></div>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/http__connection_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/http__connection_8hpp_source.html b/content/api/latest/c++/http__connection_8hpp_source.html
index 8f4b91b..2cfc065 100644
--- a/content/api/latest/c++/http__connection_8hpp_source.html
+++ b/content/api/latest/c++/http__connection_8hpp_source.html
@@ -64,13 +64,13 @@
<div class="ttc" id="namespaceprocess_1_1http_html_ad8f400b5e54038df7e5662ec35da05fa"><div class="ttname"><a href="namespaceprocess_1_1http.html#ad8f400b5e54038df7e5662ec35da05fa">process::http::request</a></div><div class="ttdeci">Future< Response > request(const Request &request, bool streamedResponse=false)</div><div class="ttdoc">Asynchronously sends an HTTP request to the process and returns the HTTP response once the entire res...</div></div>
<div class="ttc" id="classprocess_1_1ProcessBase_html_a318038bacd95e4260864533f7cfe12fd"><div class="ttname"><a href="classprocess_1_1ProcessBase.html#a318038bacd95e4260864533f7cfe12fd">process::ProcessBase::ProcessBase</a></div><div class="ttdeci">ProcessBase(const std::string &id="")</div></div>
<div class="ttc" id="classTry_html_a8bc7f43e75a47111ea18e9c83b007be5"><div class="ttname"><a href="classTry.html#a8bc7f43e75a47111ea18e9c83b007be5">Try::get</a></div><div class="ttdeci">T & get()&</div><div class="ttdef"><b>Definition:</b> try.hpp:73</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Request_html_aba3024fe3e1028d19f5fb4e92519cb56"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html#aba3024fe3e1028d19f5fb4e92519cb56">process::http::Request::url</a></div><div class="ttdeci">URL url</div><div class="ttdef"><b>Definition:</b> http.hpp:529</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Request_html_aba3024fe3e1028d19f5fb4e92519cb56"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html#aba3024fe3e1028d19f5fb4e92519cb56">process::http::Request::url</a></div><div class="ttdeci">URL url</div><div class="ttdef"><b>Definition:</b> http.hpp:528</div></div>
<div class="ttc" id="classTry_html"><div class="ttname"><a href="classTry.html">Try</a></div><div class="ttdef"><b>Definition:</b> check.hpp:33</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Response_html_a8fcbd2073ace160af24a9ee531cb4378"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html#a8fcbd2073ace160af24a9ee531cb4378">process::http::Response::status</a></div><div class="ttdeci">std::string status</div><div class="ttdef"><b>Definition:</b> http.hpp:621</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Response_html_a8fcbd2073ace160af24a9ee531cb4378"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html#a8fcbd2073ace160af24a9ee531cb4378">process::http::Response::status</a></div><div class="ttdeci">std::string status</div><div class="ttdef"><b>Definition:</b> http.hpp:620</div></div>
<div class="ttc" id="mutex_8hpp_html"><div class="ttname"><a href="mutex_8hpp.html">mutex.hpp</a></div></div>
<div class="ttc" id="structprocess_1_1Failure_html"><div class="ttname"><a href="structprocess_1_1Failure.html">process::Failure</a></div><div class="ttdef"><b>Definition:</b> future.hpp:668</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Response_html_a6dd5881e0450540a106e37257434eaada8d713d3c6326b2c6f5730c5f46f3e3f0"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html#a6dd5881e0450540a106e37257434eaada8d713d3c6326b2c6f5730c5f46f3e3f0">process::http::Response::PIPE</a></div><div class="ttdef"><b>Definition:</b> http.hpp:651</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Response_html_ad6530fddd03380dbb3b23b17523cb242"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html#ad6530fddd03380dbb3b23b17523cb242">process::http::Response::code</a></div><div class="ttdeci">uint16_t code</div><div class="ttdef"><b>Definition:</b> http.hpp:658</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Response_html_a6dd5881e0450540a106e37257434eaada8d713d3c6326b2c6f5730c5f46f3e3f0"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html#a6dd5881e0450540a106e37257434eaada8d713d3c6326b2c6f5730c5f46f3e3f0">process::http::Response::PIPE</a></div><div class="ttdef"><b>Definition:</b> http.hpp:650</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Response_html_ad6530fddd03380dbb3b23b17523cb242"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html#ad6530fddd03380dbb3b23b17523cb242">process::http::Response::code</a></div><div class="ttdeci">uint16_t code</div><div class="ttdef"><b>Definition:</b> http.hpp:657</div></div>
<div class="ttc" id="namespaceos_1_1libraries_1_1Library_html_ab0e1a0e311049b6d685de1068e8f4690"><div class="ttname"><a href="namespaceos_1_1libraries_1_1Library.html#ab0e1a0e311049b6d685de1068e8f4690">os::libraries::Library::prefix</a></div><div class="ttdeci">constexpr const char * prefix</div><div class="ttdef"><b>Definition:</b> os.hpp:94</div></div>
<div class="ttc" id="classmesos_1_1internal_1_1HttpConnectionProcess_html_a81fc91fa235309d5486bf019260e6480"><div class="ttname"><a href="classmesos_1_1internal_1_1HttpConnectionProcess.html#a81fc91fa235309d5486bf019260e6480">mesos::internal::HttpConnectionProcess::receive</a></div><div class="ttdeci">void receive(const Event &event)</div><div class="ttdef"><b>Definition:</b> http_connection.hpp:467</div></div>
<div class="ttc" id="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler_html_acb18ceaa5f6f2338f2a9727af398eb79"><div class="ttname"><a href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acb18ceaa5f6f2338f2a9727af398eb79">mesos::internal::tests::v1::scheduler::Call</a></div><div class="ttdeci">mesos::v1::scheduler::Call Call</div><div class="ttdef"><b>Definition:</b> mesos.hpp:2660</div></div>
@@ -83,30 +83,30 @@
<div class="ttc" id="namespaceprocess_html_a871061d70cd1c8bf39df4d1154cd1857"><div class="ttname"><a href="namespaceprocess.html#a871061d70cd1c8bf39df4d1154cd1857">process::collect</a></div><div class="ttdeci">Future< std::vector< T > > collect(const std::vector< Future< T >> &futures)</div><div class="ttdef"><b>Definition:</b> collect.hpp:274</div></div>
<div class="ttc" id="classOption_html_a4e3bf8416d95246f43c91f1b5c309323"><div class="ttname"><a href="classOption.html#a4e3bf8416d95246f43c91f1b5c309323">Option::isSome</a></div><div class="ttdeci">bool isSome() const </div><div class="ttdef"><b>Definition:</b> option.hpp:115</div></div>
<div class="ttc" id="classmesos_1_1internal_1_1HttpConnectionProcess_html_a0e32a05c88072b7db23e87a384ffa1ea"><div class="ttname"><a href="classmesos_1_1internal_1_1HttpConnectionProcess.html#a0e32a05c88072b7db23e87a384ffa1ea">mesos::internal::HttpConnectionProcess::connect</a></div><div class="ttdeci">void connect(const id::UUID &_connectionId)</div><div class="ttdef"><b>Definition:</b> http_connection.hpp:238</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:518</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:517</div></div>
<div class="ttc" id="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler_html_acd3fa8addac36f513726743665631d79"><div class="ttname"><a href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">mesos::internal::tests::v1::scheduler::Event</a></div><div class="ttdeci">mesos::v1::scheduler::Event Event</div><div class="ttdef"><b>Definition:</b> mesos.hpp:2661</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Response_html_aa3543eb8ecd36f5d6d91b2640d471359"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html#aa3543eb8ecd36f5d6d91b2640d471359">process::http::Response::reader</a></div><div class="ttdeci">Option< Pipe::Reader > reader</div><div class="ttdef"><b>Definition:</b> http.hpp:656</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Response_html_aa3543eb8ecd36f5d6d91b2640d471359"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html#aa3543eb8ecd36f5d6d91b2640d471359">process::http::Response::reader</a></div><div class="ttdeci">Option< Pipe::Reader > reader</div><div class="ttdef"><b>Definition:</b> http.hpp:655</div></div>
<div class="ttc" id="classmesos_1_1internal_1_1HttpConnectionProcess_html_a15a7b927d5655f1e59ea1bd43d2fe8f9"><div class="ttname"><a href="classmesos_1_1internal_1_1HttpConnectionProcess.html#a15a7b927d5655f1e59ea1bd43d2fe8f9">mesos::internal::HttpConnectionProcess::Self</a></div><div class="ttdeci">HttpConnectionProcess< Call, Event > Self</div><div class="ttdef"><b>Definition:</b> http_connection.hpp:181</div></div>
<div class="ttc" id="duration_8hpp_html"><div class="ttname"><a href="duration_8hpp.html">duration.hpp</a></div></div>
<div class="ttc" id="classmesos_1_1internal_1_1recordio_1_1Reader_html"><div class="ttname"><a href="classmesos_1_1internal_1_1recordio_1_1Reader.html">mesos::internal::recordio::Reader</a></div><div class="ttdoc">Provides RecordIO decoding on top of an http::Pipe::Reader. </div><div class="ttdef"><b>Definition:</b> recordio.hpp:62</div></div>
<div class="ttc" id="classmesos_1_1internal_1_1HttpConnectionProcess_html_a07daef2f77a33b44451c4cf7d53ff627"><div class="ttname"><a href="classmesos_1_1internal_1_1HttpConnectionProcess.html#a07daef2f77a33b44451c4cf7d53ff627">mesos::internal::HttpConnectionProcess::send</a></div><div class="ttdeci">process::Future< Nothing > send(const Call &call)</div><div class="ttdef"><b>Definition:</b> http_connection.hpp:100</div></div>
<div class="ttc" id="stout_2include_2stout_2check_8hpp_html_aee320e7c6e107071f4b85d4cc135a265"><div class="ttname"><a href="stout_2include_2stout_2check_8hpp.html#aee320e7c6e107071f4b85d4cc135a265">CHECK_SOME</a></div><div class="ttdeci">#define CHECK_SOME(expression)</div><div class="ttdef"><b>Definition:</b> check.hpp:50</div></div>
<div class="ttc" id="structid_1_1UUID_html_a6d8296fba33c5d84a64e4a882fcdc280"><div class="ttname"><a href="structid_1_1UUID.html#a6d8296fba33c5d84a64e4a882fcdc280">id::UUID::random</a></div><div class="ttdeci">static UUID random()</div><div class="ttdef"><b>Definition:</b> uuid.hpp:38</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Response_html_a5f6d23dd77e1eeb0737dc728e0109905"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html#a5f6d23dd77e1eeb0737dc728e0109905">process::http::Response::body</a></div><div class="ttdeci">std::string body</div><div class="ttdef"><b>Definition:</b> http.hpp:654</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Response_html_a5f6d23dd77e1eeb0737dc728e0109905"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html#a5f6d23dd77e1eeb0737dc728e0109905">process::http::Response::body</a></div><div class="ttdeci">std::string body</div><div class="ttdef"><b>Definition:</b> http.hpp:653</div></div>
<div class="ttc" id="src_2common_2recordio_8hpp_html"><div class="ttname"><a href="src_2common_2recordio_8hpp.html">recordio.hpp</a></div></div>
<div class="ttc" id="nothing_8hpp_html"><div class="ttname"><a href="nothing_8hpp.html">nothing.hpp</a></div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Status_html_ac38d2d21e08b9d2af0511c216613db0f"><div class="ttname"><a href="structprocess_1_1http_1_1Status.html#ac38d2d21e08b9d2af0511c216613db0f">process::http::Status::SERVICE_UNAVAILABLE</a></div><div class="ttdeci">static const uint16_t SERVICE_UNAVAILABLE</div><div class="ttdef"><b>Definition:</b> http.hpp:253</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Status_html_ac38d2d21e08b9d2af0511c216613db0f"><div class="ttname"><a href="structprocess_1_1http_1_1Status.html#ac38d2d21e08b9d2af0511c216613db0f">process::http::Status::SERVICE_UNAVAILABLE</a></div><div class="ttdeci">static const uint16_t SERVICE_UNAVAILABLE</div><div class="ttdef"><b>Definition:</b> http.hpp:252</div></div>
<div class="ttc" id="classmesos_1_1internal_1_1HttpConnectionProcess_html_a1f31bb13b5032f7ba566a21f55d6b7d6"><div class="ttname"><a href="classmesos_1_1internal_1_1HttpConnectionProcess.html#a1f31bb13b5032f7ba566a21f55d6b7d6">mesos::internal::HttpConnectionProcess::HttpConnectionProcess</a></div><div class="ttdeci">HttpConnectionProcess(const std::string &prefix, process::Owned< EndpointDetector > _detector, ContentType _contentType, const Option< std::string > &_token, const std::function< Option< Error >(const Call &)> &validate, const std::function< void(void)> &connected, const std::function< void(void)> &disconnected, const std::function< void(const std::queue< Event > &)> &received)</div><div class="ttdoc">Construct a HTTP connection process. </div><div class="ttdef"><b>Definition:</b> http_connection.hpp:84</div></div>
<div class="ttc" id="classprocess_1_1Future_html_a71bde220aed3c725cef2040f63adf42a"><div class="ttname"><a href="classprocess_1_1Future.html#a71bde220aed3c725cef2040f63adf42a">process::Future::onAny</a></div><div class="ttdeci">const Future< T > & onAny(AnyCallback &&callback) const </div><div class="ttdef"><b>Definition:</b> future.hpp:1445</div></div>
<div class="ttc" id="classmesos_1_1internal_1_1HttpConnectionProcess_html_afb0a8be87808f508914cc2207ae59428"><div class="ttname"><a href="classmesos_1_1internal_1_1HttpConnectionProcess.html#afb0a8be87808f508914cc2207ae59428">mesos::internal::HttpConnectionProcess::detected</a></div><div class="ttdeci">void detected(const process::Future< Option< process::http::URL >> &future)</div><div class="ttdef"><b>Definition:</b> http_connection.hpp:188</div></div>
<div class="ttc" id="structid_1_1UUID_html"><div class="ttname"><a href="structid_1_1UUID.html">id::UUID</a></div><div class="ttdef"><b>Definition:</b> uuid.hpp:35</div></div>
<div class="ttc" id="namespacemesos_html"><div class="ttname"><a href="namespacemesos.html">mesos</a></div><div class="ttdef"><b>Definition:</b> spec.hpp:30</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Status_html_a5d2b09dd7b99e2519b641b682dc976b0"><div class="ttname"><a href="structprocess_1_1http_1_1Status.html#a5d2b09dd7b99e2519b641b682dc976b0">process::http::Status::ACCEPTED</a></div><div class="ttdeci">static const uint16_t ACCEPTED</div><div class="ttdef"><b>Definition:</b> http.hpp:220</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Status_html_a5d2b09dd7b99e2519b641b682dc976b0"><div class="ttname"><a href="structprocess_1_1http_1_1Status.html#a5d2b09dd7b99e2519b641b682dc976b0">process::http::Status::ACCEPTED</a></div><div class="ttdeci">static const uint16_t ACCEPTED</div><div class="ttdef"><b>Definition:</b> http.hpp:219</div></div>
<div class="ttc" id="classOption_html_a21358442c0fac1cc978a67a9a9089a79"><div class="ttname"><a href="classOption.html#a21358442c0fac1cc978a67a9a9089a79">Option::get</a></div><div class="ttdeci">const T & get() const &</div><div class="ttdef"><b>Definition:</b> option.hpp:118</div></div>
<div class="ttc" id="namespaceprocess_1_1http_html_a54e53c8006298fe99e3fb5f55c0e8c41"><div class="ttname"><a href="namespaceprocess_1_1http.html#a54e53c8006298fe99e3fb5f55c0e8c41">process::http::connect</a></div><div class="ttdeci">Future< Connection > connect(const network::Address &address, Scheme scheme)</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Request_html_a3a459e9dbce042511e6359533f6925d4"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html#a3a459e9dbce042511e6359533f6925d4">process::http::Request::keepAlive</a></div><div class="ttdeci">bool keepAlive</div><div class="ttdef"><b>Definition:</b> http.hpp:543</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Request_html_a3a459e9dbce042511e6359533f6925d4"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html#a3a459e9dbce042511e6359533f6925d4">process::http::Request::keepAlive</a></div><div class="ttdeci">bool keepAlive</div><div class="ttdef"><b>Definition:</b> http.hpp:542</div></div>
<div class="ttc" id="3rdparty_2stout_2include_2stout_2recordio_8hpp_html"><div class="ttname"><a href="3rdparty_2stout_2include_2stout_2recordio_8hpp.html">recordio.hpp</a></div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Status_html_ae105d018cfcf82f5c19c79196101fd9b"><div class="ttname"><a href="structprocess_1_1http_1_1Status.html#ae105d018cfcf82f5c19c79196101fd9b">process::http::Status::OK</a></div><div class="ttdeci">static const uint16_t OK</div><div class="ttdef"><b>Definition:</b> http.hpp:218</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Status_html_ae105d018cfcf82f5c19c79196101fd9b"><div class="ttname"><a href="structprocess_1_1http_1_1Status.html#ae105d018cfcf82f5c19c79196101fd9b">process::http::Status::OK</a></div><div class="ttdeci">static const uint16_t OK</div><div class="ttdef"><b>Definition:</b> http.hpp:217</div></div>
<div class="ttc" id="classmesos_1_1internal_1_1HttpConnectionProcess_html_a589d04f6de8671d1842d488ae9039bc5"><div class="ttname"><a href="classmesos_1_1internal_1_1HttpConnectionProcess.html#a589d04f6de8671d1842d488ae9039bc5">mesos::internal::HttpConnectionProcess::start</a></div><div class="ttdeci">void start()</div><div class="ttdef"><b>Definition:</b> http_connection.hpp:171</div></div>
<div class="ttc" id="namespaceprocess_1_1internal_html_ac34bccdf47fcfa46cedf2a03771eb221"><div class="ttname"><a href="namespaceprocess_1_1internal.html#ac34bccdf47fcfa46cedf2a03771eb221">process::internal::dispatch</a></div><div class="ttdeci">void dispatch(const UPID &pid, std::unique_ptr< lambda::CallableOnce< void(ProcessBase *)>> f, const Option< const std::type_info * > &functionType=None())</div></div>
<div class="ttc" id="namespaceprocess_html_a92b69ab22f734498cfe8cf6edd92fd2a"><div class="ttname"><a href="namespaceprocess.html#a92b69ab22f734498cfe8cf6edd92fd2a">process::async</a></div><div class="ttdeci">Future< typename result_of< F()>::type > async(const F &f, typename std::enable_if<!std::is_void< typename result_of< F()>::type >::value >::type *=nullptr)</div><div class="ttdef"><b>Definition:</b> async.hpp:238</div></div>
@@ -121,10 +121,10 @@
<div class="ttc" id="namespaceinternal_html"><div class="ttname"><a href="namespaceinternal.html">internal</a></div><div class="ttdef"><b>Definition:</b> attributes.hpp:24</div></div>
<div class="ttc" id="collect_8hpp_html"><div class="ttname"><a href="collect_8hpp.html">collect.hpp</a></div></div>
<div class="ttc" id="namespacemesos_1_1internal_1_1slave_1_1cni_1_1spec_html_ae58e703656ab4a1bd5d9870441236727"><div class="ttname"><a href="namespacemesos_1_1internal_1_1slave_1_1cni_1_1spec.html#ae58e703656ab4a1bd5d9870441236727">mesos::internal::slave::cni::spec::error</a></div><div class="ttdeci">std::string error(const std::string &msg, uint32_t code)</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Request_html_a2e81202fca3244a7de00ac7bb253d59d"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html#a2e81202fca3244a7de00ac7bb253d59d">process::http::Request::method</a></div><div class="ttdeci">std::string method</div><div class="ttdef"><b>Definition:</b> http.hpp:523</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Request_html_a2e81202fca3244a7de00ac7bb253d59d"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html#a2e81202fca3244a7de00ac7bb253d59d">process::http::Request::method</a></div><div class="ttdeci">std::string method</div><div class="ttdef"><b>Definition:</b> http.hpp:522</div></div>
<div class="ttc" id="namespaceprocess_html"><div class="ttname"><a href="namespaceprocess.html">process</a></div><div class="ttdef"><b>Definition:</b> executor.hpp:47</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Response_html"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html">process::http::Response</a></div><div class="ttdef"><b>Definition:</b> http.hpp:595</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Request_html_a78dfcfa785afc80e221d92543ff617f1"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html#a78dfcfa785afc80e221d92543ff617f1">process::http::Request::body</a></div><div class="ttdeci">std::string body</div><div class="ttdef"><b>Definition:</b> http.hpp:563</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Response_html"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html">process::http::Response</a></div><div class="ttdef"><b>Definition:</b> http.hpp:594</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Request_html_a78dfcfa785afc80e221d92543ff617f1"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html#a78dfcfa785afc80e221d92543ff617f1">process::http::Request::body</a></div><div class="ttdeci">std::string body</div><div class="ttdef"><b>Definition:</b> http.hpp:562</div></div>
<div class="ttc" id="classprocess_1_1Process_html_abef2d54388c5262af19b057b1a6eee8e"><div class="ttname"><a href="classprocess_1_1Process.html#abef2d54388c5262af19b057b1a6eee8e">process::Process< HttpConnectionProcess< Call, Event > >::self</a></div><div class="ttdeci">PID< HttpConnectionProcess< Call, Event > > self() const</div><div class="ttdoc">Returns the PID of the process. </div><div class="ttdef"><b>Definition:</b> process.hpp:510</div></div>
<div class="ttc" id="classOption_html_a06eab791122ebc1f8af4ad310e5e7d7e"><div class="ttname"><a href="classOption.html#a06eab791122ebc1f8af4ad310e5e7d7e">Option::isNone</a></div><div class="ttdeci">bool isNone() const </div><div class="ttdef"><b>Definition:</b> option.hpp:116</div></div>
<div class="ttc" id="classmesos_1_1internal_1_1HttpConnectionProcess_html_a6c415777d634e0b4ffed169eeef13838"><div class="ttname"><a href="classmesos_1_1internal_1_1HttpConnectionProcess.html#a6c415777d634e0b4ffed169eeef13838">mesos::internal::HttpConnectionProcess::_send</a></div><div class="ttdeci">process::Future< Nothing > _send(const id::UUID &_connectionId, const Call &call, const process::http::Response &response)</div><div class="ttdef"><b>Definition:</b> http_connection.hpp:348</div></div>
@@ -136,11 +136,11 @@
<div class="ttc" id="classmesos_1_1internal_1_1HttpConnectionProcess_html_ae67639b50210d327bf1d08fd5624f651"><div class="ttname"><a href="classmesos_1_1internal_1_1HttpConnectionProcess.html#ae67639b50210d327bf1d08fd5624f651">mesos::internal::HttpConnectionProcess::read</a></div><div class="ttdeci">void read()</div><div class="ttdef"><b>Definition:</b> http_connection.hpp:418</div></div>
<div class="ttc" id="namespacemesos_1_1internal_html_a9c1f91de8a8a389b357b81f7b51b0554"><div class="ttname"><a href="namespacemesos_1_1internal.html#a9c1f91de8a8a389b357b81f7b51b0554">mesos::internal::serialize</a></div><div class="ttdeci">std::string serialize(ContentType contentType, const google::protobuf::Message &message)</div></div>
<div class="ttc" id="uuid_8hpp_html"><div class="ttname"><a href="uuid_8hpp.html">uuid.hpp</a></div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Status_html_ab9caadbc291e8d0e7d633faada0119a0"><div class="ttname"><a href="structprocess_1_1http_1_1Status.html#ab9caadbc291e8d0e7d633faada0119a0">process::http::Status::NOT_FOUND</a></div><div class="ttdeci">static const uint16_t NOT_FOUND</div><div class="ttdef"><b>Definition:</b> http.hpp:236</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Status_html_ab9caadbc291e8d0e7d633faada0119a0"><div class="ttname"><a href="structprocess_1_1http_1_1Status.html#ab9caadbc291e8d0e7d633faada0119a0">process::http::Status::NOT_FOUND</a></div><div class="ttdeci">static const uint16_t NOT_FOUND</div><div class="ttdef"><b>Definition:</b> http.hpp:235</div></div>
<div class="ttc" id="include_2mesos_2v1_2mesos_8hpp_html"><div class="ttname"><a href="include_2mesos_2v1_2mesos_8hpp.html">mesos.hpp</a></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>
<div class="ttc" id="classprocess_1_1Owned_html"><div class="ttname"><a href="classprocess_1_1Owned.html">process::Owned</a></div><div class="ttdef"><b>Definition:</b> owned.hpp:36</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Response_html_ae463c5c7a083aea98a89cf9b675b59ab"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html#ae463c5c7a083aea98a89cf9b675b59ab">process::http::Response::headers</a></div><div class="ttdeci">Headers headers</div><div class="ttdef"><b>Definition:</b> http.hpp:623</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Response_html_ae463c5c7a083aea98a89cf9b675b59ab"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html#ae463c5c7a083aea98a89cf9b675b59ab">process::http::Response::headers</a></div><div class="ttdeci">Headers headers</div><div class="ttdef"><b>Definition:</b> http.hpp:622</div></div>
<div class="ttc" id="classmesos_1_1internal_1_1HttpConnectionProcess_html_a9fd245d04700870e03111f9471d1d858"><div class="ttname"><a href="classmesos_1_1internal_1_1HttpConnectionProcess.html#a9fd245d04700870e03111f9471d1d858">mesos::internal::HttpConnectionProcess::disconnect</a></div><div class="ttdeci">void disconnect()</div><div class="ttdef"><b>Definition:</b> http_connection.hpp:314</div></div>
<div class="ttc" id="3rdparty_2libprocess_2include_2process_2http_8hpp_html"><div class="ttname"><a href="3rdparty_2libprocess_2include_2process_2http_8hpp.html">http.hpp</a></div></div>
<div class="ttc" id="classprocess_1_1Process_html"><div class="ttname"><a href="classprocess_1_1Process.html">process::Process</a></div><div class="ttdef"><b>Definition:</b> process.hpp:501</div></div>
@@ -149,13 +149,13 @@
<div class="ttc" id="namespaceprocess_html_a8b27a2ef76eb133bf0ce7a5eea4fb77c"><div class="ttname"><a href="namespaceprocess.html#a8b27a2ef76eb133bf0ce7a5eea4fb77c">process::defer</a></div><div class="ttdeci">Deferred< void()> defer(const PID< T > &pid, void(T::*method)())</div><div class="ttdef"><b>Definition:</b> defer.hpp:35</div></div>
<div class="ttc" id="classhashmap_html_ac142b3f8b73c76d5d4545bbd299007e5"><div class="ttname"><a href="classhashmap.html#ac142b3f8b73c76d5d4545bbd299007e5">hashmap::contains</a></div><div class="ttdeci">bool contains(const Key &key) const </div><div class="ttdef"><b>Definition:</b> hashmap.hpp:86</div></div>
<div class="ttc" id="structid_1_1UUID_html_a51931642cf2febf1689357b40b376798"><div class="ttname"><a href="structid_1_1UUID.html#a51931642cf2febf1689357b40b376798">id::UUID::fromString</a></div><div class="ttdeci">static Try< UUID > fromString(const std::string &s)</div><div class="ttdef"><b>Definition:</b> uuid.hpp:67</div></div>
-<div class="ttc" id="classprocess_1_1http_1_1Connection_html"><div class="ttname"><a href="classprocess_1_1http_1_1Connection.html">process::http::Connection</a></div><div class="ttdoc">Represents a connection to an HTTP server. </div><div class="ttdef"><b>Definition:</b> http.hpp:945</div></div>
+<div class="ttc" id="classprocess_1_1http_1_1Connection_html"><div class="ttname"><a href="classprocess_1_1http_1_1Connection.html">process::http::Connection</a></div><div class="ttdoc">Represents a connection to an HTTP server. </div><div class="ttdef"><b>Definition:</b> http.hpp:944</div></div>
<div class="ttc" id="classrecordio_1_1Decoder_html"><div class="ttname"><a href="classrecordio_1_1Decoder.html">recordio::Decoder</a></div><div class="ttdoc">Given a decoding function for individual records, this provides decoding from "Record-IO" data into t...</div><div class="ttdef"><b>Definition:</b> recordio.hpp:82</div></div>
<div class="ttc" id="libprocess_2include_2process_2process_8hpp_html"><div class="ttname"><a href="libprocess_2include_2process_2process_8hpp.html">process.hpp</a></div></div>
-<div class="ttc" id="classprocess_1_1http_1_1Pipe_1_1Reader_html"><div class="ttname"><a href="classprocess_1_1http_1_1Pipe_1_1Reader.html">process::http::Pipe::Reader</a></div><div class="ttdef"><b>Definition:</b> http.hpp:302</div></div>
+<div class="ttc" id="classprocess_1_1http_1_1Pipe_1_1Reader_html"><div class="ttname"><a href="classprocess_1_1http_1_1Pipe_1_1Reader.html">process::http::Pipe::Reader</a></div><div class="ttdef"><b>Definition:</b> http.hpp:301</div></div>
<div class="ttc" id="unreachable_8hpp_html"><div class="ttname"><a href="unreachable_8hpp.html">unreachable.hpp</a></div></div>
<div class="ttc" id="classmesos_1_1internal_1_1HttpConnectionProcess_html_a38245a736e95aa2ce036969a50df0473"><div class="ttname"><a href="classmesos_1_1internal_1_1HttpConnectionProcess.html#a38245a736e95aa2ce036969a50df0473">mesos::internal::HttpConnectionProcess::_read</a></div><div class="ttdeci">void _read(const process::http::Pipe::Reader &reader, const process::Future< Result< Event >> &event)</div><div class="ttdef"><b>Definition:</b> http_connection.hpp:427</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Request_html_a53555a597f9376d2dd71daa799a90494"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html#a53555a597f9376d2dd71daa799a90494">process::http::Request::headers</a></div><div class="ttdeci">Headers headers</div><div class="ttdef"><b>Definition:</b> http.hpp:531</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Request_html_a53555a597f9376d2dd71daa799a90494"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html#a53555a597f9376d2dd71daa799a90494">process::http::Request::headers</a></div><div class="ttdeci">Headers headers</div><div class="ttdef"><b>Definition:</b> http.hpp:530</div></div>
<div class="ttc" id="classmesos_1_1internal_1_1HttpConnectionProcess_html_aee60dfc13f0d0163a600d788a524a725"><div class="ttname"><a href="classmesos_1_1internal_1_1HttpConnectionProcess.html#aee60dfc13f0d0163a600d788a524a725">mesos::internal::HttpConnectionProcess::operator<<</a></div><div class="ttdeci">friend std::ostream & operator<<(std::ostream &stream, State state)</div><div class="ttdef"><b>Definition:</b> http_connection.hpp:535</div></div>
<div class="ttc" id="classprocess_1_1Future_html"><div class="ttname"><a href="classprocess_1_1Future.html">process::Future< Nothing ></a></div></div>
</div><!-- fragment --></div><!-- contents -->
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/http__proxy_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/http__proxy_8hpp_source.html b/content/api/latest/c++/http__proxy_8hpp_source.html
index d4bfae6..aab3023 100644
--- a/content/api/latest/c++/http__proxy_8hpp_source.html
+++ b/content/api/latest/c++/http__proxy_8hpp_source.html
@@ -56,14 +56,14 @@
<div class="ttc" id="classOption_html"><div class="ttname"><a href="classOption.html">Option< http::Pipe::Reader ></a></div></div>
<div class="ttc" id="namespaceprocess_1_1http_html_ad8f400b5e54038df7e5662ec35da05fa"><div class="ttname"><a href="namespaceprocess_1_1http.html#ad8f400b5e54038df7e5662ec35da05fa">process::http::request</a></div><div class="ttdeci">Future< Response > request(const Request &request, bool streamedResponse=false)</div><div class="ttdoc">Asynchronously sends an HTTP request to the process and returns the HTTP response once the entire res...</div></div>
<div class="ttc" id="classprocess_1_1HttpProxy_html_a019c3e5c243cf6aad5c52be8cb6b33d3"><div class="ttname"><a href="classprocess_1_1HttpProxy.html#a019c3e5c243cf6aad5c52be8cb6b33d3">process::HttpProxy::HttpProxy</a></div><div class="ttdeci">HttpProxy(const network::inet::Socket &_socket)</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:518</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:517</div></div>
<div class="ttc" id="classprocess_1_1HttpProxy_html"><div class="ttname"><a href="classprocess_1_1HttpProxy.html">process::HttpProxy</a></div><div class="ttdef"><b>Definition:</b> http_proxy.hpp:36</div></div>
<div class="ttc" id="classprocess_1_1HttpProxy_html_a5c9416706c3fd1794576807993390e24"><div class="ttname"><a href="classprocess_1_1HttpProxy.html#a5c9416706c3fd1794576807993390e24">process::HttpProxy::~HttpProxy</a></div><div class="ttdeci">virtual ~HttpProxy()</div><div class="ttdef"><b>Definition:</b> http_proxy.hpp:41</div></div>
<div class="ttc" id="libprocess_2include_2process_2socket_8hpp_html"><div class="ttname"><a href="libprocess_2include_2process_2socket_8hpp.html">socket.hpp</a></div></div>
<div class="ttc" id="option_8hpp_html"><div class="ttname"><a href="option_8hpp.html">option.hpp</a></div></div>
<div class="ttc" id="future_8hpp_html"><div class="ttname"><a href="future_8hpp.html">future.hpp</a></div></div>
<div class="ttc" id="namespaceprocess_html"><div class="ttname"><a href="namespaceprocess.html">process</a></div><div class="ttdef"><b>Definition:</b> executor.hpp:47</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Response_html"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html">process::http::Response</a></div><div class="ttdef"><b>Definition:</b> http.hpp:595</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Response_html"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html">process::http::Response</a></div><div class="ttdef"><b>Definition:</b> http.hpp:594</div></div>
<div class="ttc" id="classprocess_1_1HttpProxy_html_af7583014e65aee0dd1055f15463ea24b"><div class="ttname"><a href="classprocess_1_1HttpProxy.html#af7583014e65aee0dd1055f15463ea24b">process::HttpProxy::handle</a></div><div class="ttdeci">void handle(const Future< http::Response > &future, const http::Request &request)</div></div>
<div class="ttc" id="classprocess_1_1Owned_html"><div class="ttname"><a href="classprocess_1_1Owned.html">process::Owned</a></div><div class="ttdef"><b>Definition:</b> owned.hpp:36</div></div>
<div class="ttc" id="classprocess_1_1network_1_1internal_1_1Socket_html"><div class="ttname"><a href="classprocess_1_1network_1_1internal_1_1Socket.html">process::network::internal::Socket< inet::Address ></a></div></div>
[07/10] mesos-site git commit: Updated the website built from mesos
SHA: 4189657.
Posted by gi...@apache.org.
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/decoder_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/decoder_8hpp_source.html b/content/api/latest/c++/decoder_8hpp_source.html
index cc1727b..c7fbb65 100644
--- a/content/api/latest/c++/decoder_8hpp_source.html
+++ b/content/api/latest/c++/decoder_8hpp_source.html
@@ -52,27 +52,27 @@
<div class="title">decoder.hpp</div> </div>
</div><!--header-->
<div class="contents">
-<a href="decoder_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> <span class="comment">// Licensed under the Apache License, Version 2.0 (the "License");</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <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> <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> <span class="comment">//</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <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> <span class="comment">//</s
pan></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <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> <span class="comment">// distributed under the License is distributed on an "AS IS" BASIS,</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <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> <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> <span class="comment">// limitations under the License</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> </div><div class="l
ine"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#ifndef __DECODER_HPP__</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#define __DECODER_HPP__</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment">// `http_parser.h` defines an enum `flags` which conflicts</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment">// with, e.g., a namespace in stout. Rename it with a macro.</span></div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="decoder_8hpp.html#abb0829cce9dd20a40ae0d86890ae85c6"> 18</a></span> <span class="preprocessor">#define flags http_parser_flags</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>
 <span class="preprocessor">#include <http_parser.h></span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#undef flags</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include <glog/logging.h></span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <deque></span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <limits></span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00027"></a><span class="
lineno"> 27</span> <span class="preprocessor">#include <vector></span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include <<a class="code" href="3rdparty_2libprocess_2include_2process_2http_8hpp.html">process/http.hpp</a>></span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include <<a class="code" href="foreach_8hpp.html">stout/foreach.hpp</a>></span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#include <<a class="code" href="gzip_8hpp.html">stout/gzip.hpp</a>></span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#include <<
a class="code" href="option_8hpp.html">stout/option.hpp</a>></span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#include <<a class="code" href="try_8hpp.html">stout/try.hpp</a>></span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> </div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#if !(HTTP_PARSER_VERSION_MAJOR >= 2)</span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor">#error HTTP Parser version >= 2 required.</span></div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div><div class="line"><a name="l00041"><
/a><span class="lineno"> 41</span> </div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="keyword">namespace </span><a class="code" href="namespaceprocess.html">process</a> {</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> </div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="namespaceprocess_1_1http__parsing.html"> 44</a></span> <span class="keyword">namespace </span>http_parsing {</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> </div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="comment">// We expect callbacks to return 0 on success and 1 on failure. These constants</span></div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="comment">// are introduced solely to make decoders' code easier to read and are not meant</span></div><div cla
ss="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="comment">// to be used outside.</span></div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="namespaceprocess_1_1http__parsing.html#aafd4f335653a52c4c13fa094d8943969"> 49</a></span> constexpr <span class="keywordtype">int</span> <a class="code" href="namespaceprocess_1_1http__parsing.html#aafd4f335653a52c4c13fa094d8943969">SUCCESS</a> = 0;</div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="namespaceprocess_1_1http__parsing.html#a1728c94cb446c34b1a8506f5dd6d0f6c"> 50</a></span> constexpr <span class="keywordtype">int</span> <a class="code" href="namespaceprocess_1_1http__parsing.html#a1728c94cb446c34b1a8506f5dd6d0f6c">FAILURE</a> = 1;</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> </div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> } <span class="comment
">// namespace http_parsing {</span></div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> </div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="comment">// TODO(benh): Make DataDecoder abstract and make RequestDecoder a</span></div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="comment">// concrete subclass.</span></div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="classprocess_1_1DataDecoder.html"> 56</a></span> <span class="keyword">class </span><a class="code" href="classprocess_1_1DataDecoder.html">DataDecoder</a></div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> {</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="classprocess_1_1DataD
ecoder.html#a5f9fb074617646df166cef6adb5750f6"> 59</a></span>  <a class="code" href="classprocess_1_1DataDecoder.html#a5f9fb074617646df166cef6adb5750f6">DataDecoder</a>()</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  : failure(false), <a class="code" href="namespaceprocess_1_1http.html#ad8f400b5e54038df7e5662ec35da05fa">request</a>(nullptr)</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  {</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  http_parser_settings_init(&settings);</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span> </div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  settings.on_message_begin = &DataDecoder::on_message_begin;</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  settings.on_url = &DataDecoder::on_url;</div><div class="line">
<a name="l00066"></a><span class="lineno"> 66</span>  settings.on_header_field = &DataDecoder::on_header_field;</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  settings.on_header_value = &DataDecoder::on_header_value;</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  settings.on_headers_complete = &DataDecoder::on_headers_complete;</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  settings.on_body = &DataDecoder::on_body;</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  settings.on_message_complete = &DataDecoder::on_message_complete;</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  settings.on_chunk_complete = &DataDecoder::on_chunk_complete;</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  settings.on_chunk_header = &Dat
aDecoder::on_chunk_header;</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> </div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  http_parser_init(&parser, HTTP_REQUEST);</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span> </div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  parser.data = <span class="keyword">this</span>;</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  }</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span> </div><div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="classprocess_1_1DataDecoder.html#a0851b42409baa7e9399c1fffddc4299b"> 79</a></span>  <a class="code" href="classprocess_1_1DataDecoder.html#a0851b42409baa7e9399c1fffddc4299b">~DataDecoder</a>()</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</spa
n>  {</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keyword">delete</span> <a class="code" href="namespaceprocess_1_1http.html#ad8f400b5e54038df7e5662ec35da05fa">request</a>;</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> </div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keywordflow">foreach</span> (<a class="code" href="structprocess_1_1http_1_1Request.html">http::Request</a>* <a class="code" href="namespaceprocess_1_1http.html#ad8f400b5e54038df7e5662ec35da05fa">request</a>, requests) {</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keyword">delete</span> <a class="code" href="namespaceprocess_1_1http.html#ad8f400b5e54038df7e5662ec35da05fa">request</a>;</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  }</div><div class="line"><a name="l00086"></a
><span class="lineno"> 86</span>  }</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span> </div><div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="classprocess_1_1DataDecoder.html#a86ae2a264437c9c13249d11473536eec"> 88</a></span>  std::deque<http::Request*> <a class="code" href="classprocess_1_1DataDecoder.html#a86ae2a264437c9c13249d11473536eec">decode</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* data, <span class="keywordtype">size_t</span> length)</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  {</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keywordtype">size_t</span> parsed = http_parser_execute(&parser, &settings, data, length);</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span> </div><div class="line"><a name="l00092"></a><span class="l
ineno"> 92</span>  <span class="keywordflow">if</span> (parsed != length) {</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="comment">// TODO(bmahler): joyent/http-parser exposes error reasons.</span></div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  failure = <span class="keyword">true</span>;</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  }</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span> </div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keywordflow">if</span> (!requests.empty()) {</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  std::deque<http::Request*> result = requests;</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  requests.clear();</div><div class="line"><a name="l
00100"></a><span class="lineno"> 100</span>  <span class="keywordflow">return</span> result;</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  }</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span> </div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="keywordflow">return</span> std::deque<http::Request*>();</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  }</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span> </div><div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="classprocess_1_1DataDecoder.html#a60a6e994b390d3e48ceaaa5f078e0569"> 106</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classprocess_1_1DataDecoder.html#a60a6e994b390d3e48ceaaa5f078e0569">failed</a>()<span class="keyword"> const</span></div><div class="line"><a name=
"l00107"></a><span class="lineno"> 107</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keywordflow">return</span> failure;</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  }</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span> </div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="keyword">static</span> <span class="keywordtype">int</span> on_message_begin(http_parser* p)</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  {</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <a class="code" href="classprocess_1_1DataDecoder.html">DataDecoder</a>* decoder = (<a class="code" href="classprocess_
1_1DataDecoder.html">DataDecoder</a>*) p->data;</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span> </div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  CHECK(!decoder->failure);</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span> </div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  decoder->header = HEADER_FIELD;</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  decoder->field.clear();</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  decoder->value.clear();</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  decoder->query.clear();</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  decoder->url.clear();</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span> </d
iv><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  CHECK(decoder->request == <span class="keyword">nullptr</span>);</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span> </div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  decoder->request = <span class="keyword">new</span> <a class="code" href="structprocess_1_1http_1_1Request.html">http::Request</a>();</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span> </div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceprocess_1_1http__parsing.html#aafd4f335653a52c4c13fa094d8943969">http_parsing::SUCCESS</a>;</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  }</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span> </div><div class="line"><a name=
"l00131"></a><span class="lineno"> 131</span>  <span class="keyword">static</span> <span class="keywordtype">int</span> on_chunk_complete(http_parser* p)</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  {</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceprocess_1_1http__parsing.html#aafd4f335653a52c4c13fa094d8943969">http_parsing::SUCCESS</a>;</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  }</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span> </div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="keyword">static</span> <span class="keywordtype">int</span> on_chunk_header(http_parser* p)</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  {</div><div class="line"><a name="l00138"></a><span c
lass="lineno"> 138</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceprocess_1_1http__parsing.html#aafd4f335653a52c4c13fa094d8943969">http_parsing::SUCCESS</a>;</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  }</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span> </div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="keyword">static</span> <span class="keywordtype">int</span> on_url(http_parser* p, <span class="keyword">const</span> <span class="keywordtype">char</span>* data, <span class="keywordtype">size_t</span> length)</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  {</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <a class="code" href="classprocess_1_1DataDecoder.html">DataDecoder</a>* decoder = (<a class="code" href="classprocess_1_1DataDecoder.html">Data
Decoder</a>*) p->data;</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  CHECK_NOTNULL(decoder->request);</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span> </div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="comment">// The current http_parser library (version 2.6.2 and below)</span></div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <span class="comment">// does not support incremental parsing of URLs. To compensate</span></div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <span class="comment">// we incrementally collect the data and parse it in</span></div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <span class="comment">// `on_message_complete`.</span></div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  decoder-&g
t;url.append(data, length);</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span> </div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceprocess_1_1http__parsing.html#aafd4f335653a52c4c13fa094d8943969">http_parsing::SUCCESS</a>;</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  }</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span> </div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  <span class="keyword">static</span> <span class="keywordtype">int</span> on_header_field(http_parser* p, <span class="keyword">const</span> <span class="keywordtype">char</span>* data, <span class="keywordtype">size_t</span> length)</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  {</div><div class="line"><a name="l00157"></a><span class="li
neno"> 157</span>  <a class="code" href="classprocess_1_1DataDecoder.html">DataDecoder</a>* decoder = (<a class="code" href="classprocess_1_1DataDecoder.html">DataDecoder</a>*) p->data;</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  CHECK_NOTNULL(decoder->request);</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span> </div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <span class="keywordflow">if</span> (decoder->header != HEADER_FIELD) {</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  decoder->request-><a class="code" href="structprocess_1_1http_1_1Request.html#a53555a597f9376d2dd71daa799a90494">headers</a>[decoder->field] = decoder->value;</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  decoder->field.clear();</div><div class="line"><a name="l00163"></a><span clas
s="lineno"> 163</span>  decoder->value.clear();</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  }</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span> </div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  decoder->field.append(data, length);</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  decoder->header = HEADER_FIELD;</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span> </div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceprocess_1_1http__parsing.html#aafd4f335653a52c4c13fa094d8943969">http_parsing::SUCCESS</a>;</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  }</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span> </div><di
v class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="keyword">static</span> <span class="keywordtype">int</span> on_header_value(http_parser* p, <span class="keyword">const</span> <span class="keywordtype">char</span>* data, <span class="keywordtype">size_t</span> length)</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  {</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <a class="code" href="classprocess_1_1DataDecoder.html">DataDecoder</a>* decoder = (<a class="code" href="classprocess_1_1DataDecoder.html">DataDecoder</a>*) p->data;</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  CHECK_NOTNULL(decoder->request);</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  decoder->value.append(data, length);</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  decode
r->header = HEADER_VALUE;</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceprocess_1_1http__parsing.html#aafd4f335653a52c4c13fa094d8943969">http_parsing::SUCCESS</a>;</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  }</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span> </div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  <span class="keyword">static</span> <span class="keywordtype">int</span> on_headers_complete(http_parser* p)</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  {</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <a class="code" href="classprocess_1_1DataDecoder.html">DataDecoder</a>* decoder = (<a class="code" href="classprocess_1_1DataDecoder.html">DataDecoder</a>*) p->data;</div><div
class="line"><a name="l00184"></a><span class="lineno"> 184</span> </div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  CHECK_NOTNULL(decoder->request);</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span> </div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  <span class="comment">// Add final header.</span></div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  decoder->request-><a class="code" href="structprocess_1_1http_1_1Request.html#a53555a597f9376d2dd71daa799a90494">headers</a>[decoder->field] = decoder->value;</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  decoder->field.clear();</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  decoder->value.clear();</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span> </div><di
v class="line"><a name="l00192"></a><span class="lineno"> 192</span>  decoder->request-><a class="code" href="structprocess_1_1http_1_1Request.html#a2e81202fca3244a7de00ac7bb253d59d">method</a> =</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  http_method_str((http_method) decoder->parser.method);</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span> </div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  decoder->request-><a class="code" href="structprocess_1_1http_1_1Request.html#a3a459e9dbce042511e6359533f6925d4">keepAlive</a> = http_should_keep_alive(&decoder->parser) != 0;</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span> </div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceprocess_1_1http__parsing.html#aafd4f3
35653a52c4c13fa094d8943969">http_parsing::SUCCESS</a>;</div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  }</div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span> </div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  <span class="keyword">static</span> <span class="keywordtype">int</span> on_body(http_parser* p, <span class="keyword">const</span> <span class="keywordtype">char</span>* data, <span class="keywordtype">size_t</span> length)</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  {</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <a class="code" href="classprocess_1_1DataDecoder.html">DataDecoder</a>* decoder = (<a class="code" href="classprocess_1_1DataDecoder.html">DataDecoder</a>*) p->data;</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  CHECK_NOTNULL(decoder->requ
est);</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  decoder->request-><a class="code" href="structprocess_1_1http_1_1Request.html#a78dfcfa785afc80e221d92543ff617f1">body</a>.append(data, length);</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceprocess_1_1http__parsing.html#aafd4f335653a52c4c13fa094d8943969">http_parsing::SUCCESS</a>;</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  }</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span> </div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  <span class="keyword">static</span> <span class="keywordtype">int</span> on_message_complete(http_parser* p)</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  {</div><div class="line"><a name="l00210"></a><span cl
ass="lineno"> 210</span>  <a class="code" href="classprocess_1_1DataDecoder.html">DataDecoder</a>* decoder = (<a class="code" href="classprocess_1_1DataDecoder.html">DataDecoder</a>*) p->data;</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span> </div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  CHECK_NOTNULL(decoder->request);</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span> </div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  <span class="comment">// Parse the URL. This data was incrementally built up during calls</span></div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  <span class="comment">// to `on_url`.</span></div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  http_parser_url url;</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>
  http_parser_url_init(&url);</div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  <span class="keywordtype">int</span> parse_url =</div><div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  http_parser_parse_url(decoder->url.data(), decoder->url.size(), 0, &url);</div><div class="line"><a name="l00220"></a><span class="lineno"> 220</span> </div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  <span class="keywordflow">if</span> (parse_url != 0) {</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  decoder->failure = <span class="keyword">true</span>;</div><div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  <span class="keywordflow">return</span> parse_url;</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  }</div><div class="line"><a name="l00225"></a><
span class="lineno"> 225</span> </div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  <span class="keywordflow">if</span> (url.field_set & (1 << UF_PATH)) {</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  decoder->request-><a class="code" href="structprocess_1_1http_1_1Request.html#aba3024fe3e1028d19f5fb4e92519cb56">url</a>.<a class="code" href="structprocess_1_1http_1_1URL.html#a184ec5f02b451f1d53b1ac5032a68dac">path</a> = std::string(</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  decoder->url.data() + url.field_data[UF_PATH].off,</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  url.field_data[UF_PATH].len);</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  }</div><div class="line"><a name="l00231"></a><span class="lineno"> 231</span> </div><div class=
"line"><a name="l00232"></a><span class="lineno"> 232</span>  <span class="keywordflow">if</span> (url.field_set & (1 << UF_FRAGMENT)) {</div><div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  decoder->request-><a class="code" href="structprocess_1_1http_1_1Request.html#aba3024fe3e1028d19f5fb4e92519cb56">url</a>.<a class="code" href="structprocess_1_1http_1_1URL.html#ae1a6af7f79e3e3662345f71cd4782c92">fragment</a> = std::string(</div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  decoder->url.data() + url.field_data[UF_FRAGMENT].off,</div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  url.field_data[UF_FRAGMENT].len);</div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  }</div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span> </div><div class="line"><a name="l00238"></a><span class
="lineno"> 238</span>  <span class="keywordflow">if</span> (url.field_set & (1 << UF_QUERY)) {</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  decoder->query = std::string(</div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  decoder->url.data() + url.field_data[UF_QUERY].off,</div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  url.field_data[UF_QUERY].len);</div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  }</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span> </div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  <span class="comment">// Parse the query key/values.</span></div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  <a class="code" href="classTry.html">Try<hashmap<std::string, std::string>
;</a>> decoded =</div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  <a class="code" href="namespaceprocess_1_1http_1_1query.html#a5e9e85365fc2a1a7cd2e1a2d39cb1f15">http::query::decode</a>(decoder->query);</div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span> </div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  <span class="keywordflow">if</span> (decoded.isError()) {</div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  decoder->failure = <span class="keyword">true</span>;</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceprocess_1_1http__parsing.html#a1728c94cb446c34b1a8506f5dd6d0f6c">http_parsing::FAILURE</a>;</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  }</div><div class="line"><a name="
l00252"></a><span class="lineno"> 252</span> </div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  decoder->request-><a class="code" href="structprocess_1_1http_1_1Request.html#aba3024fe3e1028d19f5fb4e92519cb56">url</a>.<a class="code" href="structprocess_1_1http_1_1URL.html#af2d0454d281cfe79f382c0dbc91bc251">query</a> = decoded.<a class="code" href="classhashmap.html#a41f14039c11b5a1ab6c81add74192c9a">get</a>();</div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span> </div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  <a class="code" href="classOption.html">Option<std::string></a> encoding =</div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  decoder->request-><a class="code" href="structprocess_1_1http_1_1Request.html#a53555a597f9376d2dd71daa799a90494">headers</a>.<a class="code" href="classprocess_1_1http_1_1Headers.html#ace
314043b5f44f854097d321246a26c0">get</a>(<span class="stringliteral">"Content-Encoding"</span>);</div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span> </div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  <span class="keywordflow">if</span> (encoding.<a class="code" href="classOption.html#a4e3bf8416d95246f43c91f1b5c309323">isSome</a>() && encoding.<a class="code" href="classOption.html#a21358442c0fac1cc978a67a9a9089a79">get</a>() == <span class="stringliteral">"gzip"</span>) {</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  <a class="code" href="classTry.html">Try<std::string></a> decompressed = <a class="code" href="namespacegzip.html#a3bbc44fdaf5d546e4399fbf5d479477c">gzip::decompress</a>(decoder->request-><a class="code" href="structprocess_1_1http_1_1Request.html#a78dfcfa785afc80e221d92543ff617f1">body</a>);</div><div class="line"><a name
="l00260"></a><span class="lineno"> 260</span>  <span class="keywordflow">if</span> (decompressed.<a class="code" href="classTry.html#a0b98f95163b8a38daafd1651b043a276">isError</a>()) {</div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  decoder->failure = <span class="keyword">true</span>;</div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceprocess_1_1http__parsing.html#a1728c94cb446c34b1a8506f5dd6d0f6c">http_parsing::FAILURE</a>;</div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  }</div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  decoder->request-><a class="code" href="structprocess_1_1http_1_1Request.html#a78dfcfa785afc80e221d92543ff617f1">body</a> = decompressed.<a class="code" href="classTry.html#a8bc7f43e75a47111ea18e9c83b007be5">get<
/a>();</div><div class="line"><a name="l00265"></a><span class="lineno"> 265</span> </div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  CHECK_LE(static_cast<long>(decoder->request-><a class="code" href="structprocess_1_1http_1_1Request.html#a78dfcfa785afc80e221d92543ff617f1">body</a>.length()),</div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  <a class="code" href="option_8hpp.html#ac4b53d77033a5d2405ef12ceb3dc6498">std::numeric_limits<char>::max</a>());</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span> </div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  decoder->request-><a class="code" href="structprocess_1_1http_1_1Request.html#a53555a597f9376d2dd71daa799a90494">headers</a>[<span class="stringliteral">"Content-Length"</span>] =</div><div class="line"><a name="l00270"></a><span class="lineno">
270</span>  <span class="keyword">static_cast<</span><span class="keywordtype">char</span><span class="keyword">></span>(decoder->request-><a class="code" href="structprocess_1_1http_1_1Request.html#a78dfcfa785afc80e221d92543ff617f1">body</a>.length());</div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  }</div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span> </div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  decoder->requests.push_back(decoder->request);</div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  decoder->request = <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceprocess_1_1http__parsing.html#aafd4f335653a52c4c13fa094d8943969">http_parsing::SUCCESS</a>;</div><di
v class="line"><a name="l00276"></a><span class="lineno"> 276</span>  }</div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span> </div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  <span class="keywordtype">bool</span> failure;</div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span> </div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  http_parser parser;</div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  http_parser_settings settings;</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span> </div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  <span class="keyword">enum</span></div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  {</div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  HEADER_FIELD,</div><
div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  HEADER_VALUE</div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  } header;</div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span> </div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  std::string field;</div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  std::string value;</div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  std::string query;</div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  std::string url;</div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span> </div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  <a class="code" href="structprocess_1_1http_1_1Request.html">http::Request</a>* <a class="code" href="namespaceprocess_1_1http.html#ad8f400b5
e54038df7e5662ec35da05fa">request</a>;</div><div class="line"><a name="l00295"></a><span class="lineno"> 295</span> </div><div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  std::deque<http::Request*> requests;</div><div class="line"><a name="l00297"></a><span class="lineno"> 297</span> };</div><div class="line"><a name="l00298"></a><span class="lineno"> 298</span> </div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span> </div><div class="line"><a name="l00300"></a><span class="lineno"><a class="line" href="classprocess_1_1ResponseDecoder.html"> 300</a></span> <span class="keyword">class </span><a class="code" href="classprocess_1_1ResponseDecoder.html">ResponseDecoder</a></div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span> {</div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span> <span class="keyword">public</span>:</div><div class="line"><a
name="l00303"></a><span class="lineno"><a class="line" href="classprocess_1_1ResponseDecoder.html#ab30005070b52416979638e2e76137717"> 303</a></span>  <a class="code" href="classprocess_1_1ResponseDecoder.html#ab30005070b52416979638e2e76137717">ResponseDecoder</a>()</div><div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  : failure(false), header(HEADER_FIELD), response(nullptr)</div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  {</div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  http_parser_settings_init(&settings);</div><div class="line"><a name="l00307"></a><span class="lineno"> 307</span> </div><div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  settings.on_message_begin = &ResponseDecoder::on_message_begin;</div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  settings.on_url = &ResponseDecod
er::on_url;</div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  settings.on_header_field = &ResponseDecoder::on_header_field;</div><div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  settings.on_header_value = &ResponseDecoder::on_header_value;</div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  settings.on_headers_complete = &ResponseDecoder::on_headers_complete;</div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  settings.on_body = &ResponseDecoder::on_body;</div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  settings.on_message_complete = &ResponseDecoder::on_message_complete;</div><div class="line"><a name="l00315"></a><span class="lineno"> 315</span>  settings.on_status = &ResponseDecoder::on_status;</div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span>&#
160; settings.on_chunk_complete = &ResponseDecoder::on_chunk_complete;</div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  settings.on_chunk_header = &ResponseDecoder::on_chunk_header;</div><div class="line"><a name="l00318"></a><span class="lineno"> 318</span> </div><div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  http_parser_init(&parser, HTTP_RESPONSE);</div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span> </div><div class="line"><a name="l00321"></a><span class="lineno"> 321</span>  parser.data = <span class="keyword">this</span>;</div><div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  }</div><div class="line"><a name="l00323"></a><span class="lineno"> 323</span> </div><div class="line"><a name="l00324"></a><span class="lineno"><a class="line" href="classprocess_1_1ResponseDecoder.html#a862c58527378b043b2779a28bc448dbb"
> 324</a></span>  <a class="code" href="classprocess_1_1ResponseDecoder.html#a862c58527378b043b2779a28bc448dbb">~ResponseDecoder</a>()</div><div class="line"><a name="l00325"></a><span class="lineno"> 325</span>  {</div><div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  <span class="keyword">delete</span> response;</div><div class="line"><a name="l00327"></a><span class="lineno"> 327</span> </div><div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  <span class="keywordflow">foreach</span> (<a class="code" href="structprocess_1_1http_1_1Response.html">http::Response</a>* response, responses) {</div><div class="line"><a name="l00329"></a><span class="lineno"> 329</span>  <span class="keyword">delete</span> response;</div><div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  }</div><div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  }</div><
div class="line"><a name="l00332"></a><span class="lineno"> 332</span> </div><div class="line"><a name="l00333"></a><span class="lineno"><a class="line" href="classprocess_1_1ResponseDecoder.html#a56b4e8825e59a2321268eabfbf714b70"> 333</a></span>  std::deque<http::Response*> <a class="code" href="classprocess_1_1ResponseDecoder.html#a56b4e8825e59a2321268eabfbf714b70">decode</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* data, <span class="keywordtype">size_t</span> length)</div><div class="line"><a name="l00334"></a><span class="lineno"> 334</span>  {</div><div class="line"><a name="l00335"></a><span class="lineno"> 335</span>  <span class="keywordtype">size_t</span> parsed = http_parser_execute(&parser, &settings, data, length);</div><div class="line"><a name="l00336"></a><span class="lineno"> 336</span> </div><div class="line"><a name="l00337"></a><span class="lineno"> 337</span>  <span class=
"keywordflow">if</span> (parsed != length) {</div><div class="line"><a name="l00338"></a><span class="lineno"> 338</span>  <span class="comment">// TODO(bmahler): joyent/http-parser exposes error reasons.</span></div><div class="line"><a name="l00339"></a><span class="lineno"> 339</span>  failure = <span class="keyword">true</span>;</div><div class="line"><a name="l00340"></a><span class="lineno"> 340</span>  }</div><div class="line"><a name="l00341"></a><span class="lineno"> 341</span> </div><div class="line"><a name="l00342"></a><span class="lineno"> 342</span>  <span class="keywordflow">if</span> (!responses.empty()) {</div><div class="line"><a name="l00343"></a><span class="lineno"> 343</span>  std::deque<http::Response*> result = responses;</div><div class="line"><a name="l00344"></a><span class="lineno"> 344</span>  responses.clear();</div><div class="line"><a name="l00345"></a><span class="lineno"> 345
</span>  <span class="keywordflow">return</span> result;</div><div class="line"><a name="l00346"></a><span class="lineno"> 346</span>  }</div><div class="line"><a name="l00347"></a><span class="lineno"> 347</span> </div><div class="line"><a name="l00348"></a><span class="lineno"> 348</span>  <span class="keywordflow">return</span> std::deque<http::Response*>();</div><div class="line"><a name="l00349"></a><span class="lineno"> 349</span>  }</div><div class="line"><a name="l00350"></a><span class="lineno"> 350</span> </div><div class="line"><a name="l00351"></a><span class="lineno"><a class="line" href="classprocess_1_1ResponseDecoder.html#a5d32f69bc877e26509324f6aea2de46a"> 351</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classprocess_1_1ResponseDecoder.html#a5d32f69bc877e26509324f6aea2de46a">failed</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00352"></a><span class="li
neno"> 352</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00353"></a><span class="lineno"> 353</span>  <span class="keywordflow">return</span> failure;</div><div class="line"><a name="l00354"></a><span class="lineno"> 354</span>  }</div><div class="line"><a name="l00355"></a><span class="lineno"> 355</span> </div><div class="line"><a name="l00356"></a><span class="lineno"> 356</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00357"></a><span class="lineno"> 357</span>  <span class="keyword">static</span> <span class="keywordtype">int</span> on_message_begin(http_parser* p)</div><div class="line"><a name="l00358"></a><span class="lineno"> 358</span>  {</div><div class="line"><a name="l00359"></a><span class="lineno"> 359</span>  <a class="code" href="classprocess_1_1ResponseDecoder.html">ResponseDecoder</a>* decoder = (<a class="code" href="classprocess_1_1ResponseDecoder.h
tml">ResponseDecoder</a>*) p->data;</div><div class="line"><a name="l00360"></a><span class="lineno"> 360</span> </div><div class="line"><a name="l00361"></a><span class="lineno"> 361</span>  CHECK(!decoder->failure);</div><div class="line"><a name="l00362"></a><span class="lineno"> 362</span> </div><div class="line"><a name="l00363"></a><span class="lineno"> 363</span>  decoder->header = HEADER_FIELD;</div><div class="line"><a name="l00364"></a><span class="lineno"> 364</span>  decoder->field.clear();</div><div class="line"><a name="l00365"></a><span class="lineno"> 365</span>  decoder->value.clear();</div><div class="line"><a name="l00366"></a><span class="lineno"> 366</span> </div><div class="line"><a name="l00367"></a><span class="lineno"> 367</span>  CHECK(decoder->response == <span class="keyword">nullptr</span>);</div><div class="line"><a name="l00368"></a><span class="lineno"> 368</span> <
/div><div class="line"><a name="l00369"></a><span class="lineno"> 369</span>  decoder->response = <span class="keyword">new</span> <a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#a4e7892daaddcb4dd2e4ebb1266715316">http::Response</a>();</div><div class="line"><a name="l00370"></a><span class="lineno"> 370</span>  decoder->response-><a class="code" href="structprocess_1_1http_1_1Response.html#a8fcbd2073ace160af24a9ee531cb4378">status</a>.clear();</div><div class="line"><a name="l00371"></a><span class="lineno"> 371</span>  decoder->response-><a class="code" href="structprocess_1_1http_1_1Response.html#ae463c5c7a083aea98a89cf9b675b59ab">headers</a>.clear();</div><div class="line"><a name="l00372"></a><span class="lineno"> 372</span>  decoder->response-><a class="code" href="structprocess_1_1http_1_1Response.html#a6846045a3c3df3abd8e2735847af3a79">type</a> = <a class="code" href="structprocess_1_1
http_1_1Response.html#a6dd5881e0450540a106e37257434eaada7d2a4db1b1426c6caab18fa8b484f4f5">http::Response::BODY</a>;</div><div class="line"><a name="l00373"></a><span class="lineno"> 373</span>  decoder->response-><a class="code" href="structprocess_1_1http_1_1Response.html#a5f6d23dd77e1eeb0737dc728e0109905">body</a>.clear();</div><div class="line"><a name="l00374"></a><span class="lineno"> 374</span>  decoder->response-><a class="code" href="structprocess_1_1http_1_1Response.html#aad42d5f8c85b81742de9f3f1a0f6d328">path</a>.clear();</div><div class="line"><a name="l00375"></a><span class="lineno"> 375</span> </div><div class="line"><a name="l00376"></a><span class="lineno"> 376</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceprocess_1_1http__parsing.html#aafd4f335653a52c4c13fa094d8943969">http_parsing::SUCCESS</a>;</div><div class="line"><a name="l00377"></a><span class="lineno"> 377</span>  }</div><di
v class="line"><a name="l00378"></a><span class="lineno"> 378</span> </div><div class="line"><a name="l00379"></a><span class="lineno"> 379</span>  <span class="keyword">static</span> <span class="keywordtype">int</span> on_chunk_complete(http_parser* p)</div><div class="line"><a name="l00380"></a><span class="lineno"> 380</span>  {</div><div class="line"><a name="l00381"></a><span class="lineno"> 381</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceprocess_1_1http__parsing.html#aafd4f335653a52c4c13fa094d8943969">http_parsing::SUCCESS</a>;</div><div class="line"><a name="l00382"></a><span class="lineno"> 382</span>  }</div><div class="line"><a name="l00383"></a><span class="lineno"> 383</span> </div><div class="line"><a name="l00384"></a><span class="lineno"> 384</span>  <span class="keyword">static</span> <span class="keywordtype">int</span> on_chunk_header(http_parser* p)</div><div class="line"><a name=
"l00385"></a><span class="lineno"> 385</span>  {</div><div class="line"><a name="l00386"></a><span class="lineno"> 386</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceprocess_1_1http__parsing.html#aafd4f335653a52c4c13fa094d8943969">http_parsing::SUCCESS</a>;</div><div class="line"><a name="l00387"></a><span class="lineno"> 387</span>  }</div><div class="line"><a name="l00388"></a><span class="lineno"> 388</span> </div><div class="line"><a name="l00389"></a><span class="lineno"> 389</span>  <span class="keyword">static</span> <span class="keywordtype">int</span> on_url(http_parser* p, <span class="keyword">const</span> <span class="keywordtype">char</span>* data, <span class="keywordtype">size_t</span> length)</div><div class="line"><a name="l00390"></a><span class="lineno"> 390</span>  {</div><div class="line"><a name="l00391"></a><span class="lineno"> 391</span>  <span class="keywordflow">return</spa
n> <a class="code" href="namespaceprocess_1_1http__parsing.html#aafd4f335653a52c4c13fa094d8943969">http_parsing::SUCCESS</a>;</div><div class="line"><a name="l00392"></a><span class="lineno"> 392</span>  }</div><div class="line"><a name="l00393"></a><span class="lineno"> 393</span> </div><div class="line"><a name="l00394"></a><span class="lineno"> 394</span>  <span class="keyword">static</span> <span class="keywordtype">int</span> on_header_field(http_parser* p, <span class="keyword">const</span> <span class="keywordtype">char</span>* data, <span class="keywordtype">size_t</span> length)</div><div class="line"><a name="l00395"></a><span class="lineno"> 395</span>  {</div><div class="line"><a name="l00396"></a><span class="lineno"> 396</span>  <a class="code" href="classprocess_1_1ResponseDecoder.html">ResponseDecoder</a>* decoder = (<a class="code" href="classprocess_1_1ResponseDecoder.html">ResponseDecoder</a>*) p->data;</div><div class="line"
><a name="l00397"></a><span class="lineno"> 397</span>  CHECK_NOTNULL(decoder->response);</div><div class="line"><a name="l00398"></a><span class="lineno"> 398</span> </div><div class="line"><a name="l00399"></a><span class="lineno"> 399</span>  <span class="keywordflow">if</span> (decoder->header != HEADER_FIELD) {</div><div class="line"><a name="l00400"></a><span class="lineno"> 400</span>  decoder->response-><a class="code" href="structprocess_1_1http_1_1Response.html#ae463c5c7a083aea98a89cf9b675b59ab">headers</a>[decoder->field] = decoder->value;</div><div class="line"><a name="l00401"></a><span class="lineno"> 401</span>  decoder->field.clear();</div><div class="line"><a name="l00402"></a><span class="lineno"> 402</span>  decoder->value.clear();</div><div class="line"><a name="l00403"></a><span class="lineno"> 403</span>  }</div><div class="line"><a name="l00404"></a><span class="lineno">
404</span> </div><div class="line"><a name="l00405"></a><span class="lineno"> 405</span>  decoder->field.append(data, length);</div><div class="line"><a name="l00406"></a><span class="lineno"> 406</span>  decoder->header = HEADER_FIELD;</div><div class="line"><a name="l00407"></a><span class="lineno"> 407</span> </div><div class="line"><a name="l00408"></a><span class="lineno"> 408</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceprocess_1_1http__parsing.html#aafd4f335653a52c4c13fa094d8943969">http_parsing::SUCCESS</a>;</div><div class="line"><a name="l00409"></a><span class="lineno"> 409</span>  }</div><div class="line"><a name="l00410"></a><span class="lineno"> 410</span> </div><div class="line"><a name="l00411"></a><span class="lineno"> 411</span>  <span class="keyword">static</span> <span class="keywordtype">int</span> on_header_value(http_parser* p, <span class="keyword">const</span>
<span class="keywordtype">char</span>* data, <span class="keywordtype">size_t</span> length)</div><div class="line"><a name="l00412"></a><span class="lineno"> 412</span>  {</div><div class="line"><a name="l00413"></a><span class="lineno"> 413</span>  <a class="code" href="classprocess_1_1ResponseDecoder.html">ResponseDecoder</a>* decoder = (<a class="code" href="classprocess_1_1ResponseDecoder.html">ResponseDecoder</a>*) p->data;</div><div class="line"><a name="l00414"></a><span class="lineno"> 414</span>  CHECK_NOTNULL(decoder->response);</div><div class="line"><a name="l00415"></a><span class="lineno"> 415</span>  decoder->value.append(data, length);</div><div class="line"><a name="l00416"></a><span class="lineno"> 416</span>  decoder->header = HEADER_VALUE;</div><div class="line"><a name="l00417"></a><span class="lineno"> 417</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceprocess_1_1ht
tp__parsing.html#aafd4f335653a52c4c13fa094d8943969">http_parsing::SUCCESS</a>;</div><div class="line"><a name="l00418"></a><span class="lineno"> 418</span>  }</div><div class="line"><a name="l00419"></a><span class="lineno"> 419</span> </div><div class="line"><a name="l00420"></a><span class="lineno"> 420</span>  <span class="keyword">static</span> <span class="keywordtype">int</span> on_headers_complete(http_parser* p)</div><div class="line"><a name="l00421"></a><span class="lineno"> 421</span>  {</div><div class="line"><a name="l00422"></a><span class="lineno"> 422</span>  <a class="code" href="classprocess_1_1ResponseDecoder.html">ResponseDecoder</a>* decoder = (<a class="code" href="classprocess_1_1ResponseDecoder.html">ResponseDecoder</a>*) p->data;</div><div class="line"><a name="l00423"></a><span class="lineno"> 423</span> </div><div class="line"><a name="l00424"></a><span class="lineno"> 424</span>  CHECK_NOTNULL(decoder-
>response);</div><div class="line"><a name="l00425"></a><span class="lineno"> 425</span> </div><div class="line"><a name="l00426"></a><span class="lineno"> 426</span>  <span class="comment">// Add final header.</span></div><div class="line"><a name="l00427"></a><span class="lineno"> 427</span>  decoder->response-><a class="code" href="structprocess_1_1http_1_1Response.html#ae463c5c7a083aea98a89cf9b675b59ab">headers</a>[decoder->field] = decoder->value;</div><div class="line"><a name="l00428"></a><span class="lineno"> 428</span>  decoder->field.clear();</div><div class="line"><a name="l00429"></a><span class="lineno"> 429</span>  decoder->value.clear();</div><div class="line"><a name="l00430"></a><span class="lineno"> 430</span> </div><div class="line"><a name="l00431"></a><span class="lineno"> 431</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceprocess_1_1http__parsing.html#a
afd4f335653a52c4c13fa094d8943969">http_parsing::SUCCESS</a>;</div><div class="line"><a name="l00432"></a><span class="lineno"> 432</span>  }</div><div class="line"><a name="l00433"></a><span class="lineno"> 433</span> </div><div class="line"><a name="l00434"></a><span class="lineno"> 434</span>  <span class="keyword">static</span> <span class="keywordtype">int</span> on_body(http_parser* p, <span class="keyword">const</span> <span class="keywordtype">char</span>* data, <span class="keywordtype">size_t</span> length)</div><div class="line"><a name="l00435"></a><span class="lineno"> 435</span>  {</div><div class="line"><a name="l00436"></a><span class="lineno"> 436</span>  <a class="code" href="classprocess_1_1ResponseDecoder.html">ResponseDecoder</a>* decoder = (<a class="code" href="classprocess_1_1ResponseDecoder.html">ResponseDecoder</a>*) p->data;</div><div class="line"><a name="l00437"></a><span class="lineno"> 437</span>  CHECK_NO
TNULL(decoder->response);</div><div class="line"><a name="l00438"></a><span class="lineno"> 438</span>  decoder->response-><a class="code" href="structprocess_1_1http_1_1Response.html#a5f6d23dd77e1eeb0737dc728e0109905">body</a>.append(data, length);</div><div class="line"><a name="l00439"></a><span class="lineno"> 439</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceprocess_1_1http__parsing.html#aafd4f335653a52c4c13fa094d8943969">http_parsing::SUCCESS</a>;</div><div class="line"><a name="l00440"></a><span class="lineno"> 440</span>  }</div><div class="line"><a name="l00441"></a><span class="lineno"> 441</span> </div><div class="line"><a name="l00442"></a><span class="lineno"> 442</span>  <span class="keyword">static</span> <span class="keywordtype">int</span> on_message_complete(http_parser* p)</div><div class="line"><a name="l00443"></a><span class="lineno"> 443</span>  {</div><div class="line"><a n
ame="l00444"></a><span class="lineno"> 444</span>  <a class="code" href="classprocess_1_1ResponseDecoder.html">ResponseDecoder</a>* decoder = (<a class="code" href="classprocess_1_1ResponseDecoder.html">ResponseDecoder</a>*) p->data;</div><div class="line"><a name="l00445"></a><span class="lineno"> 445</span> </div><div class="line"><a name="l00446"></a><span class="lineno"> 446</span>  CHECK_NOTNULL(decoder->response);</div><div class="line"><a name="l00447"></a><span class="lineno"> 447</span> </div><div class="line"><a name="l00448"></a><span class="lineno"> 448</span>  <span class="keywordflow">if</span> (<a class="code" href="namespaceprocess_1_1http.html#a061749759c8d327692f4dbb3bb8b8440">http::statuses</a>-><a class="code" href="namespacestrings.html#a269921757daf11096d3f5e02686f8444">contains</a>(decoder->parser.status_code)) {</div><div class="line"><a name="l00449"></a><span class="lineno"> 449</span>  decoder-&
gt;response-><a class="code" href="structprocess_1_1http_1_1Response.html#ad6530fddd03380dbb3b23b17523cb242">code</a> = decoder->parser.status_code;</div><div class="line"><a name="l00450"></a><span class="lineno"> 450</span> </div><div class="line"><a name="l00451"></a><span class="lineno"> 451</span>  decoder->response-><a class="code" href="structprocess_1_1http_1_1Response.html#a8fcbd2073ace160af24a9ee531cb4378">status</a> =</div><div class="line"><a name="l00452"></a><span class="lineno"> 452</span>  <a class="code" href="structprocess_1_1http_1_1Status.html#a49f854c52adce69bc1d4cc5c15cdccac">http::Status::string</a>(decoder->parser.status_code);</div><div class="line"><a name="l00453"></a><span class="lineno"> 453</span>  } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00454"></a><span class="lineno"> 454</span>  decoder->failure = <span class="keyword">true</span>;</div><div class="
line"><a name="l00455"></a><span class="lineno"> 455</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceprocess_1_1http__parsing.html#a1728c94cb446c34b1a8506f5dd6d0f6c">http_parsing::FAILURE</a>;</div><div class="line"><a name="l00456"></a><span class="lineno"> 456</span>  }</div><div class="line"><a name="l00457"></a><span class="lineno"> 457</span> </div><div class="line"><a name="l00458"></a><span class="lineno"> 458</span>  <span class="comment">// We can only provide the gzip encoding.</span></div><div class="line"><a name="l00459"></a><span class="lineno"> 459</span>  <a class="code" href="classOption.html">Option<std::string></a> encoding =</div><div class="line"><a name="l00460"></a><span class="lineno"> 460</span>  decoder->response-><a class="code" href="structprocess_1_1http_1_1Response.html#ae463c5c7a083aea98a89cf9b675b59ab">headers</a>.<a class="code" href="classprocess_1_1htt
p_1_1Headers.html#ace314043b5f44f854097d321246a26c0">get</a>(<span class="stringliteral">"Content-Encoding"</span>);</div><div class="line"><a name="l00461"></a><span class="lineno"> 461</span>  <span class="keywordflow">if</span> (encoding.<a class="code" href="classOption.html#a4e3bf8416d95246f43c91f1b5c309323">isSome</a>() && encoding.<a class="code" href="classOption.html#a21358442c0fac1cc978a67a9a9089a79">get</a>() == <span class="stringliteral">"gzip"</span>) {</div><div class="line"><a name="l00462"></a><span class="lineno"> 462</span>  <a class="code" href="classTry.html">Try<std::string></a> decompressed = <a class="code" href="namespacegzip.html#a3bbc44fdaf5d546e4399fbf5d479477c">gzip::decompress</a>(decoder->response-><a class="code" href="structprocess_1_1http_1_1Response.html#a5f6d23dd77e1eeb0737dc728e0109905">body</a>);</div><div class="line"><a name="l00463"></a><span class="lineno"> 463</span>  <s
pan class="keywordflow">if</span> (decompressed.<a class="code" href="classTry.html#a0b98f95163b8a38daafd1651b043a276">isError</a>()) {</div><div class="line"><a name="l00464"></a><span class="lineno"> 464</span>  decoder->failure = <span class="keyword">true</span>;</div><div class="line"><a name="l00465"></a><span class="lineno"> 465</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceprocess_1_1http__parsing.html#a1728c94cb446c34b1a8506f5dd6d0f6c">http_parsing::FAILURE</a>;</div><div class="line"><a name="l00466"></a><span class="lineno"> 466</span>  }</div><div class="line"><a name="l00467"></a><span class="lineno"> 467</span>  decoder->response-><a class="code" href="structprocess_1_1http_1_1Response.html#a5f6d23dd77e1eeb0737dc728e0109905">body</a> = decompressed.<a class="code" href="classTry.html#a8bc7f43e75a47111ea18e9c83b007be5">get</a>();</div><div class="line"><a name="l00468"></a><span cl
ass="lineno"> 468</span> </div><div class="line"><a name="l00469"></a><span class="lineno"> 469</span>  CHECK_LE(static_cast<long>(decoder->response-><a class="code" href="structprocess_1_1http_1_1Response.html#a5f6d23dd77e1eeb0737dc728e0109905">body</a>.length()),</div><div class="line"><a name="l00470"></a><span class="lineno"> 470</span>  <a class="code" href="option_8hpp.html#ac4b53d77033a5d2405ef12ceb3dc6498">std::numeric_limits<char>::max</a>());</div><div class="line"><a name="l00471"></a><span class="lineno"> 471</span> </div><div class="line"><a name="l00472"></a><span class="lineno"> 472</span>  decoder->response-><a class="code" href="structprocess_1_1http_1_1Response.html#ae463c5c7a083aea98a89cf9b675b59ab">headers</a>[<span class="stringliteral">"Content-Length"</span>] =</div><div class="line"><a name="l00473"></a><span class="lineno"> 473</span>  <span class="keyword">static_c
ast<</span><span class="keywordtype">char</span><span class="keyword">></span>(decoder->response-><a class="code" href="structprocess_1_1http_1_1Response.html#a5f6d23dd77e1eeb0737dc728e0109905">body</a>.length());</div><div class="line"><a name="l00474"></a><span class="lineno"> 474</span>  }</div><div class="line"><a name="l00475"></a><span class="lineno"> 475</span> </div><div class="line"><a name="l00476"></a><span class="lineno"> 476</span>  decoder->responses.push_back(decoder->response);</div><div class="line"><a name="l00477"></a><span class="lineno"> 477</span>  decoder->response = <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00478"></a><span class="lineno"> 478</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceprocess_1_1http__parsing.html#aafd4f335653a52c4c13fa094d8943969">http_parsing::SUCCESS</a>;</div><div class="line"><a name="l00479"></a><span class="l
ineno"> 479</span>  }</div><div class="line"><a name="l00480"></a><span class="lineno"> 480</span> </div><div class="line"><a name="l00481"></a><span class="lineno"> 481</span>  <span class="keyword">static</span> <span class="keywordtype">int</span> on_status(http_parser* p, <span class="keyword">const</span> <span class="keywordtype">char</span>* data, <span class="keywordtype">size_t</span> length)</div><div class="line"><a name="l00482"></a><span class="lineno"> 482</span>  {</div><div class="line"><a name="l00483"></a><span class="lineno"> 483</span>  <span class="keywordflow">return</span> <a class="code" href="namespaceprocess_1_1http__parsing.html#aafd4f335653a52c4c13fa094d8943969">http_parsing::SUCCESS</a>;</div><div class="line"><a name="l00484"></a><span class="lineno"> 484</span>  }</div><div class="line"><a name="l00485"></a><span class="lineno"> 485</span> </div><div class="line"><a name="l00486"></a><span class="lineno"
> 486</span>  <span class="keywordtype">bool</span> failure;</div><div class="line"><a name="l00487"></a><span class="lineno"> 487</span> </div><div class="line"><a name="l00488"></a><span class="lineno"> 488</span>  http_parser parser;</div><div class="line"><a name="l00489"></a><span class="lineno"> 489</span>  http_parser_settings settings;</div><div class="line"><a name="l00490"></a><span class="lineno"> 490</span> </div><div class="line"><a name="l00491"></a><span class="lineno"> 491</span>  <span class="keyword">enum</span></div><div class="line"><a name="l00492"></a><span class="lineno"> 492</span>  {</div><div class="line"><a name="l00493"></a><span class="lineno"> 493</span>  HEADER_FIELD,</div><div class="line"><a name="l00494"></a><span class="lineno"> 494</span>  HEADER_VALUE</div><div class="line"><a name="l00495"></a><span class="lineno"> 495</span>  } header;</div><div class="line"><a name="l00496
"></a><span class="lineno"> 496</span> </div><div class="line"><a name="l00497"></a><span class="lineno"> 497</span>  std::string field;</div><div class="line"><a name="l00498"></a><span class="lineno"> 498</span>  std::string value;</div><div class="line"><a name="l00499"></a><span class="lineno"> 499</span> </div><div class="line"><a name="l00500"></a><span class="lineno"> 500</span>  <a class="code" href="structprocess_1_1http_1_1Response.html">http::Response</a>* response;</div><div class="line"><a name="l00501"></a><span class="lineno"> 501</span> </div><div class="line"><a name="l00502"></a><span class="lineno"> 502</span>  std::deque<http::Response*> responses;</div><div class="line"><a name="l00503"></a><span class="lineno"> 503</span> };</div><div class="line"><a name="l00504"></a><span class="lineno"> 504</span> </div><div class="line"><a name="l00505"></a><span class="lineno"> 505</span> </div><div clas
s="line"><a name="l00506"></a><span class="lineno"> 506</span> <span class="comment">// Provides a response decoder that returns 'PIPE' responses once</span></div><div class="line"><a name="l00507"></a><span class="lineno"> 507</span> <span class="comment">// the response headers are received, but before the body data</span></div><div class="line"><a name="l00508"></a><span class="lineno"> 508</span> <span class="comment">// is received. Callers are expected to read the body from the</span></div><div class="line"><a name="l00509"></a><span class="lineno"> 509</span> <span class="comment">// Pipe::Reader in the response.</span></div><div class="line"><a name="l00510"></a><span class="lineno"> 510</span> <span class="comment">//</span></div><div class="line"><a name="l00511"></a><span class="lineno"> 511</span> <span class="comment">// TODO(bmahler): Consolidate streaming and non-streaming response</span></div><div class="line"><a name="l005
12"></a><span class="lineno"> 512</span> <span class="comment">// decoders.</span></div><div class="line"><a name="l00513"></a><span class="lineno"><a class="line" href="classprocess_1_1StreamingResponseDecoder.html"> 513</a></span> <span class="keyword">class </span><a class="code" href="classprocess_1_1StreamingResponseDecoder.html">StreamingResponseDecoder</a></div><div class="line"><a name="l00514"></a><span class="lineno"> 514</span> {</div><div class="line"><a name="l00515"></a><span class="lineno"> 515</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00516"></a><span class="lineno"><a class="line" href="classprocess_1_1StreamingResponseDecoder.html#ab1b1d689df9ee3f716232ed0d9b85812"> 516</a></span>  <a class="code" href="classprocess_1_1StreamingResponseDecoder.html#ab1b1d689df9ee3f716232ed0d9b85812">StreamingResponseDecoder</a>()</div><div class="line"><a name="l00517"></a><span class="lineno"> 517</span>  :
failure(false), header(HEADER_FIELD), response(nullptr)</div><div class="line"><a name="l00518"></a><span class="lineno"> 518</span>  {</div><div class="line"><a name="l00519"></a><span class="lineno"> 519</span>  http_parser_settings_init(&settings);</div><div class="line"><a name="l00520"></a><span class="lineno"> 520</span> </div><div class="line"><a name="l00521"></a><span class="lineno"> 521</span>  settings.on_message_begin =</div><div class="line"><a name="l00522"></a><span class="lineno"> 522</span>  &StreamingResponseDecoder::on_message_begin;</div><div class="line"><a name="l00523"></a><span class="lineno"> 523</span>  settings.on_url =</div><div class="line"><a name="l00524"></a><span class="lineno"> 524</span>  &StreamingResponseDecoder::on_url;</div><div class="line"><a name="l00525"></a><span class="lineno"> 525</span>  settings.on_header_field =</div><div class="line"><a name="l00526">
</a><span class="lineno"> 526</span>  &StreamingResponseDecoder::on_header_field;</div><div class="line"><a name="l00527"></a><span class="lineno"> 527</span>  settings.on_header_value =</div><div class="line"><a name="l00528"></a><span class="lineno"> 528</span>  &StreamingResponseDecoder::on_header_value;</div><div class="line"><a name="l00529"></a><span class="lineno"> 529</span>  settings.on_headers_complete =</div><div class="line"><a name="l00530"></a><span class="lineno"> 530</span>  &StreamingResponseDecoder::on_headers_complete;</div><div class="line"><a name="l00531"></a><span class="lineno"> 531</span>  settings.on_body =</div><div class="line"><a name="l00532"></a><span class="lineno"> 532</span>  &StreamingResponseDecoder::on_body;</div><div class="line"><a name="l00533"></a><span class="lineno"> 533</span>  settings.on_message_complete =</div><div class="line"><a name="l0053
4"></a><span class="lineno"> 534</span>  &StreamingResponseDecoder::on_message_complete;</div><div class="line"><a name="l00535"></a><span class="lineno"> 535</span>  settings.on_status =</div><div class="line"><a name="l00536"></a><span class="lineno"> 536</span>  &StreamingResponseDecoder::on_status;</div><div class="line"><a name="l00537"></a><span class="lineno"> 537</span>  settings.on_chunk_complete =</div><div class="line"><a name="l00538"></a><span class="lineno"> 538</span>  &StreamingResponseDecoder::on_chunk_complete;</div><div class="line"><a name="l00539"></a><span class="lineno"> 539</span>  settings.on_chunk_header =</div><div class="line"><a name="l00540"></a><span class="lineno"> 540</span>  &StreamingResponseDecoder::on_chunk_header;</div><div class="line"><a name="l00541"></a><span class="lineno"> 541</span> </div><div class="line"><a name="l00542"></a><span class="lineno"
> 542</span>  http_parser_init(&parser, HTTP_RESPONSE);</div><div class="line"><a name="l00543"></a><span class="lineno"> 543</span> </div><div class="line"><a name="l00544"></a><span class="lineno"> 544</span>  parser.data = <span class="keyword">this</span>;</div><div class="line"><a name="l00545"></a><span class="lineno"> 545</span>  }</div><div class="line"><a name="l00546"></a><span class="lineno"> 546</span> </div><div class="line"><a name="l00547"></a><span class="lineno"><a class="line" href="classprocess_1_1StreamingResponseDecoder.html#ad7c6287ca5347a3d37c2ac9183c8a88d"> 547</a></span>  <a class="code" href="classprocess_1_1StreamingResponseDecoder.html#ad7c6287ca5347a3d37c2ac9183c8a88d">~StreamingResponseDecoder</a>()</div><div class="line"><a name="l00548"></a><span class="lineno"> 548</span>  {</div><div class="line"><a name="l00549"></a><span class="lineno"> 549</span>  <span class="keyword">delete</span>
response;</div><div class="line"><a name="l00550"></a><span class="lineno"> 550</span> </div><div class="line"><a name="l00551"></a><span class="lineno"> 551</span>  <span class="keywordflow">if</span> (writer.isSome()) {</div><div class="line"><a name="l00552"></a><span class="lineno"> 552</span>  writer->fail(<span class="stringliteral">"Decoder is being deleted"</span>);</div><div class="line"><a name="l00553"></a><span class="lineno"> 553</span>  }</div><div class="line"><a name="l00554"></a><span class="lineno"> 554</span> </div><div class="line"><a name="l00555"></a><span class="lineno"> 555</span>  <span class="keywordflow">foreach</span> (<a class="code" href="structprocess_1_1http_1_1Response.html">http::Response</a>* response, responses) {</div><div class="line"><a name="l00556"></a><span class="lineno"> 556</span>  <span class="keyword">delete</span> response;</div><div class="line"><a name="l00557"
></a><span class="lineno"> 557</span>  }</div><div class="line"><a name="l00558"></a><span class="lineno"> 558</span>  }</div><div class="line"><a name="l00559"></a><span class="lineno"> 559</span> </div><div class="line"><a name="l00560"></a><span class="lineno"><a class="line" href="classprocess_1_1StreamingResponseDecoder.html#aa49ca0c8710b47302097a206dc161708"> 560</a></span>  std::deque<http::Response*> <a class="code" href="classprocess_1_1StreamingResponseDecoder.html#aa49ca0c8710b47302097a206dc161708">decode</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* data, <span class="keywordtype">size_t</span> length)</div><div class="line"><a name="l00561"></a><span class="lineno"> 561</span>  {</div><div class="line"><a name="l00562"></a><span class="lineno"> 562</span>  <span class="keywordtype">size_t</span> parsed = http_parser_execute(&parser, &settings, data, length);</div><div class="line"
><a name="l00563"></a><span class="lineno"> 563</span> </div><div class="line"><a name="l00564"></a><span class="lineno"> 564</span>  <span class="keywordflow">if</span> (parsed != length) {</div><div class="line"><a name="l00565"></a><span class="lineno"> 565</span>  <span class="comment">// TODO(bmahler): joyent/http-parser exposes error reasons.</span></div><div class="line"><a name="l00566"></a><span class="lineno"> 566</span>  failure = <span class="keyword">true</span>;</div><div class="line"><a name="l00567"></a><span class="lineno"> 567</span> </div><div class="line"><a name="l00568"></a><span class="lineno"> 568</span>  <span class="comment">// If we're still writing the body, fail the writer!</span></div><div class="line"><a name="l00569"></a><span class="lineno"> 569</span>  <span class="keywordflow">if</span> (writer.isSome()) {</div><div class="line"><a name="l00570"></a><span class="lineno"> 570</spa
n>  <a class="code" href="classprocess_1_1http_1_1Pipe_1_1Writer.html">http::Pipe::Writer</a> writer_ = writer.get(); <span class="comment">// Remove const.</span></div><div class="line"><a name="l00571"></a><span class="lineno"> 571</span>  writer_.<a class="code" href="classprocess_1_1http_1_1Pipe_1_1Writer.html#adeb385b6897ff3c4a514b67dc6d7d7cf">fail</a>(<span class="stringliteral">"failed to decode body"</span>);</div><div class="line"><a name="l00572"></a><span class="lineno"> 572</span>  writer = <a class="code" href="structNone.html">None</a>();</div><div class="line"><a name="l00573"></a><span class="lineno"> 573</span>  }</div><div class="line"><a name="l00574"></a><span class="lineno"> 574</span>  }</div><div class="line"><a name="l00575"></a><span class="lineno"> 575</span> </div><div class="line"><a name="l00576"></a><span class="lineno"> 576</span>  <span class="keywordflow">if</span> (!r
esponses.empty()) {</div><div class="line"><a name="l00577"></a><span class="lineno"> 577</span>  std::deque<http::Response*> result = responses;</div><div class="line"><a name="l00578"></a><span class="lineno"> 578</span>  responses.clear();</div><div class="line"><a name="l00579"></a><span class="lineno"> 579</span>  <span class="keywordflow">return</span> result;</div><div class="line"><a name="l00580"></a><span class="lineno"> 580</span>  }</div><div class="line"><a name="l00581"></a><span class="lineno"> 581</span> </div><div class="line"><a name="l00582"></a><span class="lineno"> 582</span>  <span class="keywordflow">return</span> std::deque<http::Response*>();</div><div class="line"><a name="l00583"></a><span class="lineno"> 583</span>  }</div><div class="line"><a name="l00584"></a><span class="lineno"> 584</span> </div><div class="line"><a name="l00585"></a><span class="lineno"><a class="line"
href="classprocess_1_1StreamingResponseDecoder.html#ae7db33e85c98ef39426aa06f44f36fd9"> 585</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classprocess_1_1StreamingResponseDecoder.html#ae7db33e85c98ef39426aa06f44f36fd9">failed</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00586"></a><span class="lineno"> 586</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00587"></a><span class="lineno"> 587</span>  <span class="keywordflow">return</span> failure;</div><div class="line"><a name="l00588"></a><span class="lineno"> 588</span>  }</div><div class="line"><a name="l00589"></a><span class="lineno"> 589</span> </div><div class="line"><a name="l00590"></a><span class="lineno"> 590</span>  <span class="comment">// Returns whether the decoder is currently writing a response</span></div><div class="line"><a name="l00591"></a><span class="lineno"> 591</span>  <span class=
"comment">// body. Helpful for knowing if the latest response is complete.</span></div><div class="line"><a name="l00592"></a><span class="lineno"><a class="line" href="classprocess_1_1StreamingResponseDecoder.html#ad6ee0f2076ab5fa042c83525bacd02ca"> 592</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classprocess_1_1StreamingResponseDecoder.html#ad6ee0f2076ab5fa042c83525bacd02ca">writingBody</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00593"></a><span class="lineno"> 593</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00594"></a><span class="lineno"> 594</span>  <span class="keywordflow">return</span> writer.isSome();</div><div class="line"><a name="l00595"></a><span class="lineno"> 595</span>  }</div><div class="line"><a name="l00596"></a><span class="lineno"> 596</span> </div><div class="line"><a name="l00597"></a><span class="lineno"> 597</span> <span class="ke
yword">private</span>:</div><div class="line"><a name="l00598"></a><span class="lineno"> 598</span>  <span class="keyword">static</span> <span class="keywordtype">int</span> on_message_begin(http_parser*
<TRUNCATED>
[08/10] mesos-site git commit: Updated the website built from mesos
SHA: 4189657.
Posted by gi...@apache.org.
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/3rdparty_2libprocess_2include_2process_2logging_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/3rdparty_2libprocess_2include_2process_2logging_8hpp_source.html b/content/api/latest/c++/3rdparty_2libprocess_2include_2process_2logging_8hpp_source.html
index 1f7978b..3e821b0 100644
--- a/content/api/latest/c++/3rdparty_2libprocess_2include_2process_2logging_8hpp_source.html
+++ b/content/api/latest/c++/3rdparty_2libprocess_2include_2process_2logging_8hpp_source.html
@@ -60,7 +60,7 @@
<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:72</div></div>
<div class="ttc" id="classprocess_1_1ProcessBase_html_af0d1a6f8da798dfb2b6ea92550b8c6f5"><div class="ttname"><a href="classprocess_1_1ProcessBase.html#af0d1a6f8da798dfb2b6ea92550b8c6f5">process::ProcessBase::route</a></div><div class="ttdeci">void route(const std::string &name, const Option< std::string > &help, const HttpRequestHandler &handler, const RouteOptions &options=RouteOptions())</div><div class="ttdoc">Sets up a handler for HTTP requests with the specified name. </div></div>
<div class="ttc" id="classDuration_html"><div class="ttname"><a href="classDuration.html">Duration</a></div><div class="ttdef"><b>Definition:</b> duration.hpp:32</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:518</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:517</div></div>
<div class="ttc" id="classprocess_1_1Logging_html"><div class="ttname"><a href="classprocess_1_1Logging.html">process::Logging</a></div><div class="ttdef"><b>Definition:</b> logging.hpp:25</div></div>
<div class="ttc" id="classSeconds_html"><div class="ttname"><a href="classSeconds.html">Seconds</a></div><div class="ttdef"><b>Definition:</b> duration.hpp:207</div></div>
<div class="ttc" id="future_8hpp_html"><div class="ttname"><a href="future_8hpp.html">future.hpp</a></div></div>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/3rdparty_2libprocess_2include_2process_2metrics_2metrics_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/3rdparty_2libprocess_2include_2process_2metrics_2metrics_8hpp_source.html b/content/api/latest/c++/3rdparty_2libprocess_2include_2process_2metrics_2metrics_8hpp_source.html
index b5c4c01..e786968 100644
--- a/content/api/latest/c++/3rdparty_2libprocess_2include_2process_2metrics_2metrics_8hpp_source.html
+++ b/content/api/latest/c++/3rdparty_2libprocess_2include_2process_2metrics_2metrics_8hpp_source.html
@@ -62,7 +62,7 @@
<div class="ttc" id="classprocess_1_1metrics_1_1internal_1_1MetricsProcess_html_ad5879be2708a6b45ee29fe4acfe0eece"><div class="ttname"><a href="classprocess_1_1metrics_1_1internal_1_1MetricsProcess.html#ad5879be2708a6b45ee29fe4acfe0eece">process::metrics::internal::MetricsProcess::remove</a></div><div class="ttdeci">Future< Nothing > remove(const std::string &name)</div></div>
<div class="ttc" id="namespacerouting_1_1link_html_a8486fce953717fcb949bfdc17a2dd3e1"><div class="ttname"><a href="namespacerouting_1_1link.html#a8486fce953717fcb949bfdc17a2dd3e1">routing::link::statistics</a></div><div class="ttdeci">Result< hashmap< std::string, uint64_t > > statistics(const std::string &link)</div></div>
<div class="ttc" id="dispatch_8hpp_html"><div class="ttname"><a href="dispatch_8hpp.html">dispatch.hpp</a></div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:518</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:517</div></div>
<div class="ttc" id="classhashmap_html"><div class="ttname"><a href="classhashmap.html">hashmap</a></div><div class="ttdef"><b>Definition:</b> hashmap.hpp:38</div></div>
<div class="ttc" id="namespaceprocess_html_acfbc29404bc653268289691b0dd59e22"><div class="ttname"><a href="namespaceprocess.html#acfbc29404bc653268289691b0dd59e22">process::dispatch</a></div><div class="ttdeci">void dispatch(const PID< T > &pid, void(T::*method)())</div><div class="ttdef"><b>Definition:</b> dispatch.hpp:174</div></div>
<div class="ttc" id="nothing_8hpp_html"><div class="ttname"><a href="nothing_8hpp.html">nothing.hpp</a></div></div>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/Nodes.xml
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/Nodes.xml b/content/api/latest/c++/Nodes.xml
index 802d147..7f4a286 100644
--- a/content/api/latest/c++/Nodes.xml
+++ b/content/api/latest/c++/Nodes.xml
@@ -47124,6 +47124,11 @@
<Anchor>afe7cf9be699da30586b6c46bdd8b8158</Anchor>
</Node>
<Node>
+ <Name>isValidStatus</Name>
+ <Path>3rdparty_2libprocess_2include_2process_2http_8hpp.html</Path>
+ <Anchor>ad1e795f8cd92c0d2c95aaedab510d4f6</Anchor>
+ </Node>
+ <Node>
<Name>operator<<</Name>
<Path>3rdparty_2libprocess_2include_2process_2http_8hpp.html</Path>
<Anchor>a64211e6e3428968c27b5753f05cbcf45</Anchor>
@@ -47198,11 +47203,6 @@
<Path>3rdparty_2libprocess_2include_2process_2http_8hpp.html</Path>
<Anchor>a0083eba64f0133537ce496006258a344</Anchor>
</Node>
- <Node>
- <Name>statuses</Name>
- <Path>3rdparty_2libprocess_2include_2process_2http_8hpp.html</Path>
- <Anchor>a061749759c8d327692f4dbb3bb8b8440</Anchor>
- </Node>
</Subnodes>
</Node>
<Node>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/Tokens.xml
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/Tokens.xml b/content/api/latest/c++/Tokens.xml
index f87a1b5..c91f9b5 100644
--- a/content/api/latest/c++/Tokens.xml
+++ b/content/api/latest/c++/Tokens.xml
@@ -11272,6 +11272,17 @@
</Token>
<Token>
<TokenIdentifier>
+ <Name>isValidStatus</Name>
+ <APILanguage>cpp</APILanguage>
+ <Type>func</Type>
+ <Scope>process::http</Scope>
+ </TokenIdentifier>
+ <Path>namespaceprocess_1_1http.html</Path>
+ <Anchor>ad1e795f8cd92c0d2c95aaedab510d4f6</Anchor>
+ <DeclaredIn>http.hpp</DeclaredIn>
+ </Token>
+ <Token>
+ <TokenIdentifier>
<Name>operator<<</Name>
<APILanguage>cpp</APILanguage>
<Type>func</Type>
@@ -11543,17 +11554,6 @@
</Token>
<Token>
<TokenIdentifier>
- <Name>statuses</Name>
- <APILanguage>cpp</APILanguage>
- <Type>data</Type>
- <Scope>process::http</Scope>
- </TokenIdentifier>
- <Path>namespaceprocess_1_1http.html</Path>
- <Anchor>a061749759c8d327692f4dbb3bb8b8440</Anchor>
- <DeclaredIn>http.hpp</DeclaredIn>
- </Token>
- <Token>
- <TokenIdentifier>
<Name>operator<<</Name>
<APILanguage>cpp</APILanguage>
<Type>func</Type>
@@ -182294,6 +182294,17 @@
</Token>
<Token>
<TokenIdentifier>
+ <Name>isValidStatus</Name>
+ <APILanguage>cpp</APILanguage>
+ <Type>func</Type>
+ <Scope>process::http</Scope>
+ </TokenIdentifier>
+ <Path>namespaceprocess_1_1http.html</Path>
+ <Anchor>ad1e795f8cd92c0d2c95aaedab510d4f6</Anchor>
+ <DeclaredIn>http.hpp</DeclaredIn>
+ </Token>
+ <Token>
+ <TokenIdentifier>
<Name>operator<<</Name>
<APILanguage>cpp</APILanguage>
<Type>func</Type>
@@ -182476,17 +182487,6 @@
</Token>
<Token>
<TokenIdentifier>
- <Name>statuses</Name>
- <APILanguage>cpp</APILanguage>
- <Type>data</Type>
- <Scope>process::http</Scope>
- </TokenIdentifier>
- <Path>namespaceprocess_1_1http.html</Path>
- <Anchor>a061749759c8d327692f4dbb3bb8b8440</Anchor>
- <DeclaredIn>http.hpp</DeclaredIn>
- </Token>
- <Token>
- <TokenIdentifier>
<Name>HTTP</Name>
<APILanguage>cpp</APILanguage>
<Type>econst</Type>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/authenticator__manager_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/authenticator__manager_8hpp_source.html b/content/api/latest/c++/authenticator__manager_8hpp_source.html
index d8d0860..05154f3 100644
--- a/content/api/latest/c++/authenticator__manager_8hpp_source.html
+++ b/content/api/latest/c++/authenticator__manager_8hpp_source.html
@@ -57,7 +57,7 @@
<div class="ttc" id="classprocess_1_1http_1_1authentication_1_1AuthenticatorManager_html_aa68812240328fdac177fd106ef8087dd"><div class="ttname"><a href="classprocess_1_1http_1_1authentication_1_1AuthenticatorManager.html#aa68812240328fdac177fd106ef8087dd">process::http::authentication::AuthenticatorManager::unsetAuthenticator</a></div><div class="ttdeci">Future< Nothing > unsetAuthenticator(const std::string &realm)</div></div>
<div class="ttc" id="classprocess_1_1http_1_1authentication_1_1AuthenticatorManager_html_a84781b651f77c149b790fc75947d3776"><div class="ttname"><a href="classprocess_1_1http_1_1authentication_1_1AuthenticatorManager.html#a84781b651f77c149b790fc75947d3776">process::http::authentication::AuthenticatorManager::AuthenticatorManager</a></div><div class="ttdeci">AuthenticatorManager()</div></div>
<div class="ttc" id="classprocess_1_1http_1_1authentication_1_1AuthenticatorManager_html_a2901bf20fd2a5fd0a74f601801416511"><div class="ttname"><a href="classprocess_1_1http_1_1authentication_1_1AuthenticatorManager.html#a2901bf20fd2a5fd0a74f601801416511">process::http::authentication::AuthenticatorManager::~AuthenticatorManager</a></div><div class="ttdeci">~AuthenticatorManager()</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:518</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:517</div></div>
<div class="ttc" id="nothing_8hpp_html"><div class="ttname"><a href="nothing_8hpp.html">nothing.hpp</a></div></div>
<div class="ttc" id="classprocess_1_1http_1_1authentication_1_1AuthenticatorManager_html_a127b3385219f1c6f4788758a0db823a1"><div class="ttname"><a href="classprocess_1_1http_1_1authentication_1_1AuthenticatorManager.html#a127b3385219f1c6f4788758a0db823a1">process::http::authentication::AuthenticatorManager::setAuthenticator</a></div><div class="ttdeci">Future< Nothing > setAuthenticator(const std::string &realm, Owned< Authenticator > authenticator)</div></div>
<div class="ttc" id="option_8hpp_html"><div class="ttname"><a href="option_8hpp.html">option.hpp</a></div></div>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/basic__authenticatee_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/basic__authenticatee_8hpp_source.html b/content/api/latest/c++/basic__authenticatee_8hpp_source.html
index ba76d1b..abe3af5 100644
--- a/content/api/latest/c++/basic__authenticatee_8hpp_source.html
+++ b/content/api/latest/c++/basic__authenticatee_8hpp_source.html
@@ -57,7 +57,7 @@
<div class="ttc" id="namespaceprocess_1_1http_html_ad8f400b5e54038df7e5662ec35da05fa"><div class="ttname"><a href="namespaceprocess_1_1http.html#ad8f400b5e54038df7e5662ec35da05fa">process::http::request</a></div><div class="ttdeci">Future< Response > request(const Request &request, bool streamedResponse=false)</div><div class="ttdoc">Asynchronously sends an HTTP request to the process and returns the HTTP response once the entire res...</div></div>
<div class="ttc" id="classmesos_1_1http_1_1authentication_1_1BasicAuthenticatee_html_a6e199c0e9c4c34c893b9f930614f943b"><div class="ttname"><a href="classmesos_1_1http_1_1authentication_1_1BasicAuthenticatee.html#a6e199c0e9c4c34c893b9f930614f943b">mesos::http::authentication::BasicAuthenticatee::operator=</a></div><div class="ttdeci">BasicAuthenticatee & operator=(const BasicAuthenticatee &)=delete</div></div>
<div class="ttc" id="include_2mesos_2authentication_2http_2authenticatee_8hpp_html"><div class="ttname"><a href="include_2mesos_2authentication_2http_2authenticatee_8hpp.html">authenticatee.hpp</a></div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:518</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:517</div></div>
<div class="ttc" id="classmesos_1_1http_1_1authentication_1_1Authenticatee_html"><div class="ttname"><a href="classmesos_1_1http_1_1authentication_1_1Authenticatee.html">mesos::http::authentication::Authenticatee</a></div><div class="ttdoc">An abstraction enabling any HTTP API consumer to authenticate. </div><div class="ttdef"><b>Definition:</b> authenticatee.hpp:34</div></div>
<div class="ttc" id="namespacemesos_html"><div class="ttname"><a href="namespacemesos.html">mesos</a></div><div class="ttdef"><b>Definition:</b> spec.hpp:30</div></div>
<div class="ttc" id="option_8hpp_html"><div class="ttname"><a href="option_8hpp.html">option.hpp</a></div></div>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/checker__process_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/checker__process_8hpp_source.html b/content/api/latest/c++/checker__process_8hpp_source.html
index 081670c..1ccdace 100644
--- a/content/api/latest/c++/checker__process_8hpp_source.html
+++ b/content/api/latest/c++/checker__process_8hpp_source.html
@@ -83,7 +83,7 @@
<div class="ttc" id="namespaceinternal_html"><div class="ttname"><a href="namespaceinternal.html">internal</a></div><div class="ttdef"><b>Definition:</b> attributes.hpp:24</div></div>
<div class="ttc" id="structmesos_1_1internal_1_1checks_1_1check_1_1Http_html"><div class="ttname"><a href="structmesos_1_1internal_1_1checks_1_1check_1_1Http.html">mesos::internal::checks::check::Http</a></div><div class="ttdef"><b>Definition:</b> checks_types.hpp:48</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="structprocess_1_1http_1_1Response_html"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html">process::http::Response</a></div><div class="ttdef"><b>Definition:</b> http.hpp:595</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Response_html"><div class="ttname"><a href="structprocess_1_1http_1_1Response.html">process::http::Response</a></div><div class="ttdef"><b>Definition:</b> http.hpp:594</div></div>
<div class="ttc" id="classmesos_1_1internal_1_1checks_1_1CheckerProcess_html_a5e21e337ac863fd8da8ad861807d3c0f"><div class="ttname"><a href="classmesos_1_1internal_1_1checks_1_1CheckerProcess.html#a5e21e337ac863fd8da8ad861807d3c0f">mesos::internal::checks::CheckerProcess::initialize</a></div><div class="ttdeci">void initialize() override</div><div class="ttdoc">Invoked when a process gets spawned. </div></div>
<div class="ttc" id="classmesos_1_1internal_1_1checks_1_1CheckerProcess_html"><div class="ttname"><a href="classmesos_1_1internal_1_1checks_1_1CheckerProcess.html">mesos::internal::checks::CheckerProcess</a></div><div class="ttdef"><b>Definition:</b> checker_process.hpp:48</div></div>
<div class="ttc" id="structmesos_1_1internal_1_1checks_1_1runtime_1_1Plain_html"><div class="ttname"><a href="structmesos_1_1internal_1_1checks_1_1runtime_1_1Plain.html">mesos::internal::checks::runtime::Plain</a></div><div class="ttdef"><b>Definition:</b> checks_runtime.hpp:36</div></div>
@@ -91,7 +91,7 @@
<div class="ttc" id="namespacedocker_html"><div class="ttname"><a href="namespacedocker.html">docker</a></div><div class="ttdef"><b>Definition:</b> spec.hpp:34</div></div>
<div class="ttc" id="3rdparty_2libprocess_2include_2process_2http_8hpp_html"><div class="ttname"><a href="3rdparty_2libprocess_2include_2process_2http_8hpp.html">http.hpp</a></div></div>
<div class="ttc" id="structmesos_1_1internal_1_1checks_1_1runtime_1_1Nested_html"><div class="ttname"><a href="structmesos_1_1internal_1_1checks_1_1runtime_1_1Nested.html">mesos::internal::checks::runtime::Nested</a></div><div class="ttdef"><b>Definition:</b> checks_runtime.hpp:63</div></div>
-<div class="ttc" id="classprocess_1_1http_1_1Connection_html"><div class="ttname"><a href="classprocess_1_1http_1_1Connection.html">process::http::Connection</a></div><div class="ttdoc">Represents a connection to an HTTP server. </div><div class="ttdef"><b>Definition:</b> http.hpp:945</div></div>
+<div class="ttc" id="classprocess_1_1http_1_1Connection_html"><div class="ttname"><a href="classprocess_1_1http_1_1Connection.html">process::http::Connection</a></div><div class="ttdoc">Represents a connection to an HTTP server. </div><div class="ttdef"><b>Definition:</b> http.hpp:944</div></div>
<div class="ttc" id="classprocess_1_1Future_html"><div class="ttname"><a href="classprocess_1_1Future.html">process::Future</a></div><div class="ttdef"><b>Definition:</b> future.hpp:58</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/checks__runtime_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/checks__runtime_8hpp_source.html b/content/api/latest/c++/checks__runtime_8hpp_source.html
index 9d26a8f..696805b 100644
--- a/content/api/latest/c++/checks__runtime_8hpp_source.html
+++ b/content/api/latest/c++/checks__runtime_8hpp_source.html
@@ -61,7 +61,7 @@
<div class="ttc" id="include_2mesos_2mesos_8hpp_html"><div class="ttname"><a href="include_2mesos_2mesos_8hpp.html">mesos.hpp</a></div></div>
<div class="ttc" id="structmesos_1_1internal_1_1checks_1_1runtime_1_1Docker_html"><div class="ttname"><a href="structmesos_1_1internal_1_1checks_1_1runtime_1_1Docker.html">mesos::internal::checks::runtime::Docker</a></div><div class="ttdef"><b>Definition:</b> checks_runtime.hpp:46</div></div>
<div class="ttc" id="structmesos_1_1internal_1_1checks_1_1runtime_1_1Docker_html_a9de1b6e6367145fd2ad5ebe868eea2d2"><div class="ttname"><a href="structmesos_1_1internal_1_1checks_1_1runtime_1_1Docker.html#a9de1b6e6367145fd2ad5ebe868eea2d2">mesos::internal::checks::runtime::Docker::socketName</a></div><div class="ttdeci">std::string socketName</div><div class="ttdef"><b>Definition:</b> checks_runtime.hpp:55</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1URL_html"><div class="ttname"><a href="structprocess_1_1http_1_1URL.html">process::http::URL</a></div><div class="ttdef"><b>Definition:</b> http.hpp:129</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1URL_html"><div class="ttname"><a href="structprocess_1_1http_1_1URL.html">process::http::URL</a></div><div class="ttdef"><b>Definition:</b> http.hpp:128</div></div>
<div class="ttc" id="namespacemesos_html"><div class="ttname"><a href="namespacemesos.html">mesos</a></div><div class="ttdef"><b>Definition:</b> spec.hpp:30</div></div>
<div class="ttc" id="option_8hpp_html"><div class="ttname"><a href="option_8hpp.html">option.hpp</a></div></div>
<div class="ttc" id="structmesos_1_1internal_1_1checks_1_1runtime_1_1Nested_html_aedd9b633da6bcbe7d2820a50ccfd2059"><div class="ttname"><a href="structmesos_1_1internal_1_1checks_1_1runtime_1_1Nested.html#aedd9b633da6bcbe7d2820a50ccfd2059">mesos::internal::checks::runtime::Nested::agentURL</a></div><div class="ttdeci">process::http::URL agentURL</div><div class="ttdef"><b>Definition:</b> checks_runtime.hpp:66</div></div>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/combined__authenticator_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/combined__authenticator_8hpp_source.html b/content/api/latest/c++/combined__authenticator_8hpp_source.html
index f1d49a5..fcb5525 100644
--- a/content/api/latest/c++/combined__authenticator_8hpp_source.html
+++ b/content/api/latest/c++/combined__authenticator_8hpp_source.html
@@ -56,7 +56,7 @@
<div class="ttc" id="classhashset_html"><div class="ttname"><a href="classhashset.html">hashset< std::string ></a></div></div>
<div class="ttc" id="include_2mesos_2mesos_8hpp_html"><div class="ttname"><a href="include_2mesos_2mesos_8hpp.html">mesos.hpp</a></div></div>
<div class="ttc" id="classmesos_1_1http_1_1authentication_1_1CombinedAuthenticator_html"><div class="ttname"><a href="classmesos_1_1http_1_1authentication_1_1CombinedAuthenticator.html">mesos::http::authentication::CombinedAuthenticator</a></div><div class="ttdoc">An authenticator which holds references to multiple authenticators. </div><div class="ttdef"><b>Definition:</b> combined_authenticator.hpp:42</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:518</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1Request_html"><div class="ttname"><a href="structprocess_1_1http_1_1Request.html">process::http::Request</a></div><div class="ttdef"><b>Definition:</b> http.hpp:517</div></div>
<div class="ttc" id="classmesos_1_1http_1_1authentication_1_1CombinedAuthenticator_html_a8f8d9fe93964ae8b5b0bf52de4bfdaad"><div class="ttname"><a href="classmesos_1_1http_1_1authentication_1_1CombinedAuthenticator.html#a8f8d9fe93964ae8b5b0bf52de4bfdaad">mesos::http::authentication::CombinedAuthenticator::CombinedAuthenticator</a></div><div class="ttdeci">CombinedAuthenticator(const std::string &realm, std::vector< process::Owned< process::http::authentication::Authenticator >> &&authenticators)</div></div>
<div class="ttc" id="classprocess_1_1http_1_1authentication_1_1Authenticator_html"><div class="ttname"><a href="classprocess_1_1http_1_1authentication_1_1Authenticator.html">process::http::authentication::Authenticator</a></div><div class="ttdoc">The Authenticator interface allows us to implement different authenticators based on the scheme (e...</div><div class="ttdef"><b>Definition:</b> authenticator.hpp:103</div></div>
<div class="ttc" id="namespacemesos_html"><div class="ttname"><a href="namespacemesos.html">mesos</a></div><div class="ttdef"><b>Definition:</b> spec.hpp:30</div></div>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/container__daemon_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/container__daemon_8hpp_source.html b/content/api/latest/c++/container__daemon_8hpp_source.html
index 1794dc3..62ad996 100644
--- a/content/api/latest/c++/container__daemon_8hpp_source.html
+++ b/content/api/latest/c++/container__daemon_8hpp_source.html
@@ -60,7 +60,7 @@
<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1ContainerDaemon_html_ae7078a0966639bbbded26ec1dff85420"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1ContainerDaemon.html#ae7078a0966639bbbded26ec1dff85420">mesos::internal::slave::ContainerDaemon::wait</a></div><div class="ttdeci">process::Future< Nothing > wait()</div></div>
<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1ContainerDaemon_html"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1ContainerDaemon.html">mesos::internal::slave::ContainerDaemon</a></div><div class="ttdef"><b>Definition:</b> container_daemon.hpp:46</div></div>
<div class="ttc" id="duration_8hpp_html"><div class="ttname"><a href="duration_8hpp.html">duration.hpp</a></div></div>
-<div class="ttc" id="structprocess_1_1http_1_1URL_html"><div class="ttname"><a href="structprocess_1_1http_1_1URL.html">process::http::URL</a></div><div class="ttdef"><b>Definition:</b> http.hpp:129</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1URL_html"><div class="ttname"><a href="structprocess_1_1http_1_1URL.html">process::http::URL</a></div><div class="ttdef"><b>Definition:</b> http.hpp:128</div></div>
<div class="ttc" id="namespacemesos_html"><div class="ttname"><a href="namespacemesos.html">mesos</a></div><div class="ttdef"><b>Definition:</b> spec.hpp:30</div></div>
<div class="ttc" id="option_8hpp_html"><div class="ttname"><a href="option_8hpp.html">option.hpp</a></div></div>
<div class="ttc" id="future_8hpp_html"><div class="ttname"><a href="future_8hpp.html">future.hpp</a></div></div>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/container__daemon__process_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/container__daemon__process_8hpp_source.html b/content/api/latest/c++/container__daemon__process_8hpp_source.html
index 1d3ad7c..e297b0b 100644
--- a/content/api/latest/c++/container__daemon__process_8hpp_source.html
+++ b/content/api/latest/c++/container__daemon__process_8hpp_source.html
@@ -62,7 +62,7 @@
<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1ContainerDaemonProcess_html_a0dbafee146621f42a6ba0165371db64b"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1ContainerDaemonProcess.html#a0dbafee146621f42a6ba0165371db64b">mesos::internal::slave::ContainerDaemonProcess::wait</a></div><div class="ttdeci">process::Future< Nothing > wait()</div></div>
<div class="ttc" id="agent_2agent_8hpp_html"><div class="ttname"><a href="agent_2agent_8hpp.html">agent.hpp</a></div></div>
<div class="ttc" id="src_2common_2http_8hpp_html"><div class="ttname"><a href="src_2common_2http_8hpp.html">http.hpp</a></div></div>
-<div class="ttc" id="structprocess_1_1http_1_1URL_html"><div class="ttname"><a href="structprocess_1_1http_1_1URL.html">process::http::URL</a></div><div class="ttdef"><b>Definition:</b> http.hpp:129</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1URL_html"><div class="ttname"><a href="structprocess_1_1http_1_1URL.html">process::http::URL</a></div><div class="ttdef"><b>Definition:</b> http.hpp:128</div></div>
<div class="ttc" id="namespacemesos_html"><div class="ttname"><a href="namespacemesos.html">mesos</a></div><div class="ttdef"><b>Definition:</b> spec.hpp:30</div></div>
<div class="ttc" id="classprocess_1_1Promise_html"><div class="ttname"><a href="classprocess_1_1Promise.html">process::Promise< Nothing ></a></div></div>
<div class="ttc" id="option_8hpp_html"><div class="ttname"><a href="option_8hpp.html">option.hpp</a></div></div>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/daemon_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/daemon_8hpp_source.html b/content/api/latest/c++/daemon_8hpp_source.html
index 259e0be..6ab7699 100644
--- a/content/api/latest/c++/daemon_8hpp_source.html
+++ b/content/api/latest/c++/daemon_8hpp_source.html
@@ -63,7 +63,7 @@
<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1Flags_html"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1Flags.html">mesos::internal::slave::Flags</a></div><div class="ttdef"><b>Definition:</b> flags.hpp:39</div></div>
<div class="ttc" id="authentication_2secret__generator_8hpp_html"><div class="ttname"><a href="authentication_2secret__generator_8hpp.html">secret_generator.hpp</a></div></div>
<div class="ttc" id="classmesos_1_1internal_1_1LocalResourceProviderDaemon_html_a4c0ea8da506ce2c28458e79e433f84c8"><div class="ttname"><a href="classmesos_1_1internal_1_1LocalResourceProviderDaemon.html#a4c0ea8da506ce2c28458e79e433f84c8">mesos::internal::LocalResourceProviderDaemon::operator=</a></div><div class="ttdeci">LocalResourceProviderDaemon & operator=(const LocalResourceProviderDaemon &other)=delete</div></div>
-<div class="ttc" id="structprocess_1_1http_1_1URL_html"><div class="ttname"><a href="structprocess_1_1http_1_1URL.html">process::http::URL</a></div><div class="ttdef"><b>Definition:</b> http.hpp:129</div></div>
+<div class="ttc" id="structprocess_1_1http_1_1URL_html"><div class="ttname"><a href="structprocess_1_1http_1_1URL.html">process::http::URL</a></div><div class="ttdef"><b>Definition:</b> http.hpp:128</div></div>
<div class="ttc" id="namespacemesos_html"><div class="ttname"><a href="namespacemesos.html">mesos</a></div><div class="ttdef"><b>Definition:</b> spec.hpp:30</div></div>
<div class="ttc" id="classmesos_1_1internal_1_1LocalResourceProviderDaemon_html_ad2cf50d4e9fe87fd163954ba863713f6"><div class="ttname"><a href="classmesos_1_1internal_1_1LocalResourceProviderDaemon.html#ad2cf50d4e9fe87fd163954ba863713f6">mesos::internal::LocalResourceProviderDaemon::LocalResourceProviderDaemon</a></div><div class="ttdeci">LocalResourceProviderDaemon(const LocalResourceProviderDaemon &other)=delete</div></div>
<div class="ttc" id="classmesos_1_1SecretGenerator_html"><div class="ttname"><a href="classmesos_1_1SecretGenerator.html">mesos::SecretGenerator</a></div><div class="ttdoc">The SecretGenerator interface represents a mechanism to create a secret from a principal. </div><div class="ttdef"><b>Definition:</b> secret_generator.hpp:34</div></div>
[09/10] mesos-site git commit: Updated the website built from mesos
SHA: 4189657.
Posted by gi...@apache.org.
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/63adc76a/content/api/latest/c++/3rdparty_2libprocess_2include_2process_2http_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/3rdparty_2libprocess_2include_2process_2http_8hpp_source.html b/content/api/latest/c++/3rdparty_2libprocess_2include_2process_2http_8hpp_source.html
index b07d7b4..2ee6ad5 100644
--- a/content/api/latest/c++/3rdparty_2libprocess_2include_2process_2http_8hpp_source.html
+++ b/content/api/latest/c++/3rdparty_2libprocess_2include_2process_2http_8hpp_source.html
@@ -52,245 +52,245 @@
<div class="title">http.hpp</div> </div>
</div><!--header-->
<div class="contents">
-<a href="3rdparty_2libprocess_2include_2process_2http_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> <span class="comment">// Licensed under the Apache License, Version 2.0 (the "License");</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <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> <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> <span class="comment">//</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</s
pan> <span class="comment">//</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <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> <span class="comment">// distributed under the License is distributed on an "AS IS" BASIS,</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <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> <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> <span class="comment">// limitations under the License</span></div><div class="line"><a name="l00012"></a><span class="lineno">
12</span> </div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#ifndef __PROCESS_HTTP_HPP__</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#define __PROCESS_HTTP_HPP__</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include <ctype.h></span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include <stdint.h></span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> </div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include <atomic></span></div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span cla
ss="preprocessor">#include <initializer_list></span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include <iosfwd></span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include <memory></span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <queue></span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <vector></span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <boost/functional/hash.hpp&g
t;</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include <<a class="code" href="address_8hpp.html">process/address.hpp</a>></span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include <<a class="code" href="future_8hpp.html">process/future.hpp</a>></span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include <<a class="code" href="owned_8hpp.html">process/owned.hpp</a>></span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#include <<a class="code" href="3rdparty_2libprocess_2include_2process_2pid_8hpp.html">process/pid.hpp</a>></span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>
0;<span class="preprocessor">#include <<a class="code" href="libprocess_2include_2process_2socket_8hpp.html">process/socket.hpp</a>></span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor">#include <<a class="code" href="error_8hpp.html">stout/error.hpp</a>></span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#include <<a class="code" href="hashmap_8hpp.html">stout/hashmap.hpp</a>></span></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#include <<a class="code" href="3rdparty_2stout_2include_2stout_2ip_8hpp.html">stout/ip.hpp</a>></span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor">#include <<a class="code" href="json_8hpp.ht
ml">stout/json.hpp</a>></span></div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor">#include <<a class="code" href="jsonify_8hpp.html">stout/jsonify.hpp</a>></span></div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor">#include <<a class="code" href="none_8hpp.html">stout/none.hpp</a>></span></div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="preprocessor">#include <<a class="code" href="nothing_8hpp.html">stout/nothing.hpp</a>></span></div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="preprocessor">#include <<a class="code" href="option_8hpp.html">stout/option.hpp</a>></span></div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="preprocessor">#include <<a class="code" href="stringify_8hpp.html">stout/stringify.h
pp</a>></span></div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="preprocessor">#include <<a class="code" href="strings_8hpp.html">stout/strings.hpp</a>></span></div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="preprocessor">#include <<a class="code" href="try_8hpp.html">stout/try.hpp</a>></span></div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> </div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="keyword">namespace </span><a class="code" href="namespaceprocess.html">process</a> {</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> </div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="comment">// Forward declaration to break cyclic dependency.</span></div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>
0;<span class="keyword">template</span> <<span class="keyword">typename</span> T></div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="keyword">class </span>Future;</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> </div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="keyword">namespace </span><a class="code" href="namespacemesos_1_1uri.html#a5dff7c4a2df7be12fb642b5801c34f9f">http</a> {</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span> </div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="namespaceprocess_1_1http.html#acc0a9c62d4bef93195e93af072f0cda5"> 55</a></span> <span class="keyword">enum class</span> <a class="code" href="namespaceprocess_1_1http.html#acc0a9c62d4bef93195e93af072f0cda5">Scheme</a> {</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> 
<a class="code" href="namespaceprocess_1_1http.html#acc0a9c62d4bef93195e93af072f0cda5a293c9ea246ff9985dc6f62a650f78986">HTTP</a>,</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="preprocessor">#ifdef USE_SSL_SOCKET</span></div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  HTTPS</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> };</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> </div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span> </div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="keyword">namespace </span>authentication {</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> </div><div class="line"><a name="l00
065"></a><span class="lineno"> 65</span> <span class="keyword">class </span>Authenticator;</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span> </div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <span class="keyword">struct </span>Principal;</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> </div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <a class="code" href="classprocess_1_1Future.html">Future<Nothing></a> <a class="code" href="namespaceprocess_1_1http_1_1authentication.html#a77c8aabd89ad49fb5bbc727924042cc8">setAuthenticator</a>(</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keyword">const</span> std::string& realm,</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <a class="code" href="classprocess_1_1Owned.html">Owned<Authenticator></a>
authenticator);</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> </div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span> <a class="code" href="classprocess_1_1Future.html">Future<Nothing></a> <a class="code" href="namespaceprocess_1_1http_1_1authentication.html#a33ca9afbbd1aceb21aa64c2069973a24">unsetAuthenticator</a>(<span class="keyword">const</span> std::string& realm);</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span> </div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span> } <span class="comment">// namespace authentication {</span></div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> </div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="comment">// Forward declaration.</span></div><div class="
line"><a name="l00092"></a><span class="lineno"> 92</span> <span class="keyword">struct </span><a class="code" href="structprocess_1_1http_1_1Request.html">Request</a>;</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </div><div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="namespaceprocess_1_1http_1_1authorization.html"> 94</a></span> <span class="keyword">namespace </span>authorization {</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> </div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span> <span class="comment">// The `AuthorizationCallbacks` type is used for a set of authorization</span></div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="comment">// callbacks used by libprocess to authorize HTTP endpoints. The key of the map</span></div><div class="line"><a name="l00098"></a><span class="lineno">
98</span> <span class="comment">// contains the endpoint's path, while the value contains the callback.</span></div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span> <span class="keyword">typedef</span> <a class="code" href="classhashmap.html">hashmap</a><std::string,</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  lambda::function<process::Future<bool>(</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="keyword">const</span> <a class="code" href="structprocess_1_1http_1_1Request.html">Request</a>,</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keyword">const</span> <a class="code" href="classOption.html">Option<authentication::Principal></a>)>></div><div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="namespa
ceprocess_1_1http_1_1authorization.html#affe51580eadc8728411234d784808ece"> 103</a></span>  <a class="code" href="classhashmap.html">AuthorizationCallbacks</a>;</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span> </div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span> </div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span> <span class="comment">// Set authorization callbacks for HTTP endpoints. These can be used to call out</span></div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span> <span class="comment">// to an external, application-level authorizer. The callbacks should accept an</span></div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span> <span class="comment">// HTTP request and an optional principal, and they should return a</span></div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span> <span class="
comment">// `Future<bool>` representing whether or not authorization was successful.</span></div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span> <span class="keywordtype">void</span> <a class="code" href="namespaceprocess_1_1http_1_1authorization.html#a5c0dc8d25fb3556f4be432507c6f0f2c">setCallbacks</a>(<span class="keyword">const</span> <a class="code" href="classhashmap.html">AuthorizationCallbacks</a>&);</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span> </div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span> </div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span> <span class="comment">// Remove any authorization callbacks which were previously installed in</span></div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span> <span class="comment">// libprocess.</span></div><div class="line"><a name="l00115"></a><span class="lineno">
115</span> <span class="keywordtype">void</span> <a class="code" href="namespaceprocess_1_1http_1_1authorization.html#a0083eba64f0133537ce496006258a344">unsetCallbacks</a>();</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span> </div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span> } <span class="comment">// namespace authorization {</span></div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span> </div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span> <span class="comment">// Status code reason strings, from the HTTP1.1 RFC:</span></div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span> <span class="comment">// http://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html</span></div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span> <span class="keyword">extern</span> <a class="code" href="classhashmap.html">hashmap<u
int16_t, std::string></a>* <a class="code" href="namespaceprocess_1_1http.html#a061749759c8d327692f4dbb3bb8b8440">statuses</a>;</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span> </div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span> <span class="comment">// Represents a Uniform Resource Locator:</span></div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span> <span class="comment">// scheme://domain|ip:port/path?query#fragment</span></div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span> <span class="comment">//</span></div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span> <span class="comment">// This is actually a URI-reference (see 4.1 of RFC 3986).</span></div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span> <span class="comment">//</span></div><div class="line"><a name="l00128"></a><span class="lineno">
128</span> <span class="comment">// TODO(bmahler): The default port should depend on the scheme!</span></div><div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1URL.html"> 129</a></span> <span class="keyword">struct </span><a class="code" href="structprocess_1_1http_1_1URL.html">URL</a></div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span> {</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <a class="code" href="structprocess_1_1http_1_1URL.html">URL</a>() = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span> </div><div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1URL.html#a0405a5eae13705f0cfe7b78e2928bc5f"> 133</a></span>  <a class="code" href="structprocess_1_1http_1_1URL.html#a0405a5eae13705f0cfe7b78e2928bc5f">URL</a
>(<span class="keyword">const</span> std::string& _scheme,</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <span class="keyword">const</span> std::string& _domain,</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="keyword">const</span> uint16_t _port = 80,</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="keyword">const</span> std::string& _path = <span class="stringliteral">"/"</span>,</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <span class="keyword">const</span> <a class="code" href="classhashmap.html">hashmap<std::string, std::string></a>& _query =</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  (<a class="code" href="classhashmap.html">hashmap<std::string, std::string></a>()),</div><div class="line"><a name="l001
39"></a><span class="lineno"> 139</span>  <span class="keyword">const</span> <a class="code" href="classOption.html">Option<std::string></a>& _fragment = <a class="code" href="structNone.html">None</a>())</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  : scheme(_scheme),</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  domain(_domain),</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  port(_port),</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <a class="code" href="namespacepath.html">path</a>(_path),</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  query(_query),</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <a class="code" href="namespacemesos_1_1internal_1_1tests.html#ab70487cb3ac225692ff7b0ea9923eb23">fragment</a>(_frag
ment) {}</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span> </div><div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1URL.html#a5670b901f50b1cc161664b930411e156"> 147</a></span>  <a class="code" href="structprocess_1_1http_1_1URL.html#a5670b901f50b1cc161664b930411e156">URL</a>(<span class="keyword">const</span> std::string& _scheme,</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <span class="keyword">const</span> <a class="code" href="classnet_1_1IP.html">net::IP</a>& _ip,</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <span class="keyword">const</span> uint16_t _port = 80,</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <span class="keyword">const</span> std::string& _path = <span class="stringliteral">"/"</span>,</div><div class="line"><a name=
"l00151"></a><span class="lineno"> 151</span>  <span class="keyword">const</span> <a class="code" href="classhashmap.html">hashmap<std::string, std::string></a>& _query =</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  (<a class="code" href="classhashmap.html">hashmap<std::string, std::string></a>()),</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <span class="keyword">const</span> <a class="code" href="classOption.html">Option<std::string></a>& _fragment = <a class="code" href="structNone.html">None</a>())</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  : scheme(_scheme),</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  ip(_ip),</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  port(_port),</div><div class="line"><a name="l00157"></a><span class=
"lineno"> 157</span>  <a class="code" href="namespacepath.html">path</a>(_path),</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  query(_query),</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  <a class="code" href="namespacemesos_1_1internal_1_1tests.html#ab70487cb3ac225692ff7b0ea9923eb23">fragment</a>(_fragment) {}</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span> </div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <span class="keyword">static</span> <a class="code" href="classTry.html">Try<URL></a> <a class="code" href="namespaceprocess_1_1http_1_1path.html#a2410072cba7b95c5d555a0747ef33b50">parse</a>(<span class="keyword">const</span> std::string& urlString);</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span> </div><div class="line"><a name="l00167"></a><span class="lineno"> 167</s
pan>  <span class="keywordtype">bool</span> isAbsolute() <span class="keyword">const</span>;</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span> </div><div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1URL.html#a499516725a6f0065c90520fe484cf7f5"> 169</a></span>  <a class="code" href="classOption.html">Option<std::string></a> <a class="code" href="structprocess_1_1http_1_1URL.html#a499516725a6f0065c90520fe484cf7f5">scheme</a>;</div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span> </div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <span class="comment">// TODO(benh): Consider using unrestricted union for 'domain' and 'ip'.</span></div><div class="line"><a name="l00172"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1URL.html#a800e017253a838fc29a2c8d30e49564e"> 172</a></span>
60; <a class="code" href="classOption.html">Option<std::string></a> <a class="code" href="structprocess_1_1http_1_1URL.html#a800e017253a838fc29a2c8d30e49564e">domain</a>;</div><div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1URL.html#ac0416d6239dbcd64e0b2d8dc4f151ef8"> 173</a></span>  <a class="code" href="classOption.html">Option<net::IP></a> <a class="code" href="structprocess_1_1http_1_1URL.html#ac0416d6239dbcd64e0b2d8dc4f151ef8">ip</a>;</div><div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1URL.html#ad1926a8cdc7de53e09cbd954b302b511"> 174</a></span>  <a class="code" href="classOption.html">Option<uint16_t></a> <a class="code" href="structprocess_1_1http_1_1URL.html#ad1926a8cdc7de53e09cbd954b302b511">port</a>;</div><div class="line"><a name="l00175"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1URL.html#a184e
c5f02b451f1d53b1ac5032a68dac"> 175</a></span>  std::string <a class="code" href="structprocess_1_1http_1_1URL.html#a184ec5f02b451f1d53b1ac5032a68dac">path</a>;</div><div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1URL.html#af2d0454d281cfe79f382c0dbc91bc251"> 176</a></span>  <a class="code" href="classhashmap.html">hashmap<std::string, std::string></a> <a class="code" href="structprocess_1_1http_1_1URL.html#af2d0454d281cfe79f382c0dbc91bc251">query</a>;</div><div class="line"><a name="l00177"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1URL.html#ae1a6af7f79e3e3662345f71cd4782c92"> 177</a></span>  <a class="code" href="classOption.html">Option<std::string></a> <a class="code" href="structprocess_1_1http_1_1URL.html#ae1a6af7f79e3e3662345f71cd4782c92">fragment</a>;</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span> };</div><div class="line"
><a name="l00179"></a><span class="lineno"> 179</span> </div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span> </div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span> std::ostream& <a class="code" href="namespaceprocess_1_1http.html#a64211e6e3428968c27b5753f05cbcf45">operator<<</a>(std::ostream& stream, <span class="keyword">const</span> <a class="code" href="structprocess_1_1http_1_1URL.html">URL</a>& url);</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span> </div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span> </div><div class="line"><a name="l00184"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1CaseInsensitiveHash.html"> 184</a></span> <span class="keyword">struct </span><a class="code" href="structprocess_1_1http_1_1CaseInsensitiveHash.html">CaseInsensitiveHash</a></div><div class="line"><a name="l00185"></a>
<span class="lineno"> 185</span> {</div><div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1CaseInsensitiveHash.html#aaa3077605157ee04498242975d8734c5"> 186</a></span>  <span class="keywordtype">size_t</span> <a class="code" href="structprocess_1_1http_1_1CaseInsensitiveHash.html#aaa3077605157ee04498242975d8734c5">operator()</a>(<span class="keyword">const</span> std::string& key)<span class="keyword"> const</span></div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <span class="keywordtype">size_t</span> seed = 0;</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  <span class="keywordflow">foreach</span> (<span class="keywordtype">char</span> c, key) {</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span
>  boost::hash_combine(seed, ::tolower(c));</div><div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  }</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <span class="keywordflow">return</span> seed;</div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  }</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span> };</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span> </div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span> </div><div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1CaseInsensitiveEqual.html"> 197</a></span> <span class="keyword">struct </span><a class="code" href="structprocess_1_1http_1_1CaseInsensitiveEqual.html">CaseInsensitiveEqual</a></div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span> {
</div><div class="line"><a name="l00199"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1CaseInsensitiveEqual.html#a167f121f66fb0f7eac7b7ee8827ace5c"> 199</a></span>  <span class="keywordtype">bool</span> <a class="code" href="structprocess_1_1http_1_1CaseInsensitiveEqual.html#a167f121f66fb0f7eac7b7ee8827ace5c">operator()</a>(<span class="keyword">const</span> std::string& left, <span class="keyword">const</span> std::string& right)<span class="keyword"> const</span></div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  <span class="keywordflow">if</span> (left.size() != right.size()) {</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00203"></a><span
class="lineno"> 203</span>  }</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i = 0; i < left.size(); ++i) {</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <span class="keywordflow">if</span> (::tolower(left[i]) != ::tolower(right[i])) {</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  }</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  }</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#
160; }</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span> };</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span> </div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span> </div><div class="line"><a name="l00214"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1Status.html"> 214</a></span> <span class="keyword">struct </span><a class="code" href="structprocess_1_1http_1_1Status.html">Status</a></div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span> {</div><div class="line"><a name="l00216"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1Status.html#a838b0372c2834ebe254930cff1ec8bd4"> 216</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint16_t <a class="code" href="structprocess_1_1http_1_1Status.html#a838b0372c2834ebe254930cff1ec8bd4">CONTINUE</a>;</div><div class="line"><a
name="l00217"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1Status.html#ac1989e4156b3c5b009e5a0ab15d61ff1"> 217</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint16_t <a class="code" href="structprocess_1_1http_1_1Status.html#ac1989e4156b3c5b009e5a0ab15d61ff1">SWITCHING_PROTOCOLS</a>;</div><div class="line"><a name="l00218"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1Status.html#ae105d018cfcf82f5c19c79196101fd9b"> 218</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint16_t <a class="code" href="structprocess_1_1http_1_1Status.html#ae105d018cfcf82f5c19c79196101fd9b">OK</a>;</div><div class="line"><a name="l00219"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1Status.html#af8f62dd7f1179ffc32c58aceef60decb"> 219</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint16_t <a class="co
de" href="structprocess_1_1http_1_1Status.html#af8f62dd7f1179ffc32c58aceef60decb">CREATED</a>;</div><div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1Status.html#a5d2b09dd7b99e2519b641b682dc976b0"> 220</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint16_t <a class="code" href="structprocess_1_1http_1_1Status.html#a5d2b09dd7b99e2519b641b682dc976b0">ACCEPTED</a>;</div><div class="line"><a name="l00221"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1Status.html#ae73df769517624433b4f20af3dd17803"> 221</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint16_t <a class="code" href="structprocess_1_1http_1_1Status.html#ae73df769517624433b4f20af3dd17803">NON_AUTHORITATIVE_INFORMATION</a>;</div><div class="line"><a name="l00222"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1Status.html#acbed897ae92821
a24aced2e4dc633dad"> 222</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint16_t <a class="code" href="structprocess_1_1http_1_1Status.html#acbed897ae92821a24aced2e4dc633dad">NO_CONTENT</a>;</div><div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1Status.html#adf7f64f0d95bae2b22dde9b5db8e892c"> 223</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint16_t <a class="code" href="structprocess_1_1http_1_1Status.html#adf7f64f0d95bae2b22dde9b5db8e892c">RESET_CONTENT</a>;</div><div class="line"><a name="l00224"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1Status.html#ac65b51669b169159644d53b15932fd98"> 224</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint16_t <a class="code" href="structprocess_1_1http_1_1Status.html#ac65b51669b169159644d53b15932fd98">PARTIAL_CONTENT</a>;</div><div
class="line"><a name="l00225"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1Status.html#a8feae2af2cdeaf0c0ddbd5f80c9f5ff5"> 225</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint16_t <a class="code" href="structprocess_1_1http_1_1Status.html#a8feae2af2cdeaf0c0ddbd5f80c9f5ff5">MULTIPLE_CHOICES</a>;</div><div class="line"><a name="l00226"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1Status.html#aa8ef81ebd5c8e73eff805b126abcfde2"> 226</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint16_t <a class="code" href="structprocess_1_1http_1_1Status.html#aa8ef81ebd5c8e73eff805b126abcfde2">MOVED_PERMANENTLY</a>;</div><div class="line"><a name="l00227"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1Status.html#a2fde9047b9350b005c9f2d0e74aa49d4"> 227</a></span>  <span class="keyword">static</span> <span class="keyword">const<
/span> uint16_t <a class="code" href="structprocess_1_1http_1_1Status.html#a2fde9047b9350b005c9f2d0e74aa49d4">FOUND</a>;</div><div class="line"><a name="l00228"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1Status.html#a3cc43c9b0a051240b63bf536ff355aa3"> 228</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint16_t <a class="code" href="structprocess_1_1http_1_1Status.html#a3cc43c9b0a051240b63bf536ff355aa3">SEE_OTHER</a>;</div><div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1Status.html#aaa40446a9ede5dc719b34d58300d9766"> 229</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint16_t <a class="code" href="structprocess_1_1http_1_1Status.html#aaa40446a9ede5dc719b34d58300d9766">NOT_MODIFIED</a>;</div><div class="line"><a name="l00230"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1Status.html#a0f5b
f0546812f869183e41132bb6044d"> 230</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint16_t <a class="code" href="structprocess_1_1http_1_1Status.html#a0f5bf0546812f869183e41132bb6044d">USE_PROXY</a>;</div><div class="line"><a name="l00231"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1Status.html#ae6e1e6f8b96f39b3ce6685de41ab1060"> 231</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint16_t <a class="code" href="structprocess_1_1http_1_1Status.html#ae6e1e6f8b96f39b3ce6685de41ab1060">TEMPORARY_REDIRECT</a>;</div><div class="line"><a name="l00232"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1Status.html#a5cc8f560c42aa82042f347ceca649ff5"> 232</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint16_t <a class="code" href="structprocess_1_1http_1_1Status.html#a5cc8f560c42aa82042f347ceca649ff5">BAD_REQUEST</a>;
</div><div class="line"><a name="l00233"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1Status.html#a370088c7f9891cd5363ce2f59b39b8ab"> 233</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint16_t <a class="code" href="structprocess_1_1http_1_1Status.html#a370088c7f9891cd5363ce2f59b39b8ab">UNAUTHORIZED</a>;</div><div class="line"><a name="l00234"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1Status.html#a1c4709730f229f14c36644bc971645b9"> 234</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint16_t <a class="code" href="structprocess_1_1http_1_1Status.html#a1c4709730f229f14c36644bc971645b9">PAYMENT_REQUIRED</a>;</div><div class="line"><a name="l00235"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1Status.html#a30d5c1ab390d0ede2e99e3838a5f2973"> 235</a></span>  <span class="keyword">static</span> <span class="keyword">c
onst</span> uint16_t <a class="code" href="structprocess_1_1http_1_1Status.html#a30d5c1ab390d0ede2e99e3838a5f2973">FORBIDDEN</a>;</div><div class="line"><a name="l00236"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1Status.html#ab9caadbc291e8d0e7d633faada0119a0"> 236</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint16_t <a class="code" href="structprocess_1_1http_1_1Status.html#ab9caadbc291e8d0e7d633faada0119a0">NOT_FOUND</a>;</div><div class="line"><a name="l00237"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1Status.html#a7ec542fce3fdf8c25bd870a160f569f7"> 237</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint16_t <a class="code" href="structprocess_1_1http_1_1Status.html#a7ec542fce3fdf8c25bd870a160f569f7">METHOD_NOT_ALLOWED</a>;</div><div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1St
atus.html#a725667e70ba51ea7ab33416675de05db"> 238</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint16_t <a class="code" href="structprocess_1_1http_1_1Status.html#a725667e70ba51ea7ab33416675de05db">NOT_ACCEPTABLE</a>;</div><div class="line"><a name="l00239"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1Status.html#a2a724a29d7c8d8e047e009a897252280"> 239</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint16_t <a class="code" href="structprocess_1_1http_1_1Status.html#a2a724a29d7c8d8e047e009a897252280">PROXY_AUTHENTICATION_REQUIRED</a>;</div><div class="line"><a name="l00240"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1Status.html#ab95e476fae088bc934ac7d72886233fd"> 240</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint16_t <a class="code" href="structprocess_1_1http_1_1Status.html#ab95e476fae088bc934a
c7d72886233fd">REQUEST_TIMEOUT</a>;</div><div class="line"><a name="l00241"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1Status.html#a711a886455704253efaa63254f6347e8"> 241</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint16_t <a class="code" href="structprocess_1_1http_1_1Status.html#a711a886455704253efaa63254f6347e8">CONFLICT</a>;</div><div class="line"><a name="l00242"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1Status.html#a84baf6a6f631e460bb85bea1d546bd97"> 242</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint16_t <a class="code" href="structprocess_1_1http_1_1Status.html#a84baf6a6f631e460bb85bea1d546bd97">GONE</a>;</div><div class="line"><a name="l00243"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1Status.html#a10336f87c20b50fd38fdec4f1c94be3d"> 243</a></span>  <span class="keyword">static</span> <spa
n class="keyword">const</span> uint16_t <a class="code" href="structprocess_1_1http_1_1Status.html#a10336f87c20b50fd38fdec4f1c94be3d">LENGTH_REQUIRED</a>;</div><div class="line"><a name="l00244"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1Status.html#a52227b30875d794c719a53fc2c7f42eb"> 244</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint16_t <a class="code" href="structprocess_1_1http_1_1Status.html#a52227b30875d794c719a53fc2c7f42eb">PRECONDITION_FAILED</a>;</div><div class="line"><a name="l00245"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1Status.html#af15751921c14230c0974a97dfc2f9144"> 245</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint16_t <a class="code" href="structprocess_1_1http_1_1Status.html#af15751921c14230c0974a97dfc2f9144">REQUEST_ENTITY_TOO_LARGE</a>;</div><div class="line"><a name="l00246"></a><span class="lineno"><a class
="line" href="structprocess_1_1http_1_1Status.html#a5e86bdc9477d1e574ca545d2e3b5d522"> 246</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint16_t <a class="code" href="structprocess_1_1http_1_1Status.html#a5e86bdc9477d1e574ca545d2e3b5d522">REQUEST_URI_TOO_LARGE</a>;</div><div class="line"><a name="l00247"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1Status.html#addffbea97c092bf92955b7f513208ceb"> 247</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint16_t <a class="code" href="structprocess_1_1http_1_1Status.html#addffbea97c092bf92955b7f513208ceb">UNSUPPORTED_MEDIA_TYPE</a>;</div><div class="line"><a name="l00248"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1Status.html#a877f7875ccf8eb543acc3dc542ce4082"> 248</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint16_t <a class="code" href="structprocess_1_
1http_1_1Status.html#a877f7875ccf8eb543acc3dc542ce4082">REQUESTED_RANGE_NOT_SATISFIABLE</a>;</div><div class="line"><a name="l00249"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1Status.html#ab544dfe7c9a7484671cf288500a93fce"> 249</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint16_t <a class="code" href="structprocess_1_1http_1_1Status.html#ab544dfe7c9a7484671cf288500a93fce">EXPECTATION_FAILED</a>;</div><div class="line"><a name="l00250"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1Status.html#ae1c6540846d05803ff13c01a17be2df7"> 250</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint16_t <a class="code" href="structprocess_1_1http_1_1Status.html#ae1c6540846d05803ff13c01a17be2df7">INTERNAL_SERVER_ERROR</a>;</div><div class="line"><a name="l00251"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1Status.html#a4b9ac228c61726
25a36f454797b1b33c"> 251</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint16_t <a class="code" href="structprocess_1_1http_1_1Status.html#a4b9ac228c6172625a36f454797b1b33c">NOT_IMPLEMENTED</a>;</div><div class="line"><a name="l00252"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1Status.html#a12afe0fc9b46decff08215e12bdb00ac"> 252</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint16_t <a class="code" href="structprocess_1_1http_1_1Status.html#a12afe0fc9b46decff08215e12bdb00ac">BAD_GATEWAY</a>;</div><div class="line"><a name="l00253"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1Status.html#ac38d2d21e08b9d2af0511c216613db0f"> 253</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint16_t <a class="code" href="structprocess_1_1http_1_1Status.html#ac38d2d21e08b9d2af0511c216613db0f">SERVICE_UNAVAILABLE</a>;</d
iv><div class="line"><a name="l00254"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1Status.html#a2b8bca1da1c541e2b042bc7f7e36b562"> 254</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint16_t <a class="code" href="structprocess_1_1http_1_1Status.html#a2b8bca1da1c541e2b042bc7f7e36b562">GATEWAY_TIMEOUT</a>;</div><div class="line"><a name="l00255"></a><span class="lineno"><a class="line" href="structprocess_1_1http_1_1Status.html#a587b0f84081baf8fe273378aa839dceb"> 255</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> uint16_t <a class="code" href="structprocess_1_1http_1_1Status.html#a587b0f84081baf8fe273378aa839dceb">HTTP_VERSION_NOT_SUPPORTED</a>;</div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span> </div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  <span class="keyword">static</span> std::string string(uint16_t
code);</div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span> };</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span> </div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span> </div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span> <span class="comment">// Represents an asynchronous in-memory unbuffered Pipe, currently</span></div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span> <span class="comment">// used for streaming HTTP responses via chunked encoding. Note that</span></div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span> <span class="comment">// being an in-memory pipe means that this cannot be used across OS</span></div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span> <span class="comment">// processes.</span></div><div class="line"><a name="l00265"></a><span class="lineno"> 26
5</span> <span class="comment">//</span></div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span> <span class="comment">// Much like unix pipes, data is read until end-of-file is</span></div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span> <span class="comment">// encountered; this occurs when the write-end of the pipe is</span></div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span> <span class="comment">// closed and there is no outstanding data left to read.</span></div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span> <span class="comment">//</span></div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span> <span class="comment">// Unlike unix pipes, if the read-end of the pipe is closed before</span></div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span> <span class="comment">// the write-end is closed, rather tha
n receiving SIGPIPE or EPIPE</span></div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span> <span class="comment">// during a write, the writer is notified via a future. This future</span></div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span> <span class="comment">// is discarded if the write-end is closed first.</span></div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span> <span class="comment">//</span></div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span> <span class="comment">// No buffering means that each non-empty write to the pipe will</span></div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span> <span class="comment">// correspond to to an equivalent read from the pipe, and the</span></div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span> <span class="comment">// reader must "keep up" with the writ
er in order to avoid</span></div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span> <span class="comment">// unbounded memory growth.</span></div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span> <span class="comment">//</span></div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span> <span class="comment">// The writer can induce a failure on the reader in order to signal</span></div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span> <span class="comment">// that an error has occurred. For example, if we are receiving a</span></div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span> <span class="comment">// response but a disconnection occurs before the response is</span></div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span> <span class="comment">// completed, we want the reader to detect that a disconnection</span></div><
div class="line"><a name="l00284"></a><span class="lineno"> 284</span> <span class="comment">// occurred!</span></div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span> <span class="comment">//</span></div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span> <span class="comment">// TODO(bmahler): Consider aggregating writes into larger reads to</span></div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span> <span class="comment">// help the reader keep up (a process::Stream abstraction with</span></div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span> <span class="comment">// backpressure would obviate the need for this).</span></div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span> <span class="comment">//</span></div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span> <span class="comment">// TODO(bmahler): Add a mor
e general process::Stream<T> abstraction</span></div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span> <span class="comment">// to represent asynchronous finite/infinite streams (possibly</span></div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span> <span class="comment">// with "backpressure" on the writer). This is broadly useful</span></div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span> <span class="comment">// (e.g. allocator can expose Stream<Allocation>, http::Pipe</span></div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span> <span class="comment">// becomes Stream<string>, process::Queue<T> is just an infinite</span></div><div class="line"><a name="l00295"></a><span class="lineno"> 295</span> <span class="comment">// Stream<T> (i.e. completion and error semantics hidden)).</span></div><div class="line"><a name="l00296
"></a><span class="lineno"><a class="line" href="classprocess_1_1http_1_1Pipe.html"> 296</a></span> <span class="keyword">class </span><a class="code" href="classprocess_1_1http_1_1Pipe.html">Pipe</a></div><div class="line"><a name="l00297"></a><span class="lineno"> 297</span> {</div><div class="line"><a name="l00298"></a><span class="lineno"> 298</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  <span class="keyword">struct </span>Data; <span class="comment">// Forward declaration.</span></div><div class="line"><a name="l00300"></a><span class="lineno"> 300</span> </div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00302"></a><span class="lineno"><a class="line" href="classprocess_1_1http_1_1Pipe_1_1Reader.html"> 302</a></span>  <span class="keyword">class </span><a class=
"code" href="classprocess_1_1http_1_1Pipe_1_1Reader.html">Reader</a></div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  {</div><div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  <span class="comment">// Returns data written to the pipe.</span></div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  <span class="comment">// Returns an empty read when end-of-file is reached.</span></div><div class="line"><a name="l00307"></a><span class="lineno"> 307</span>  <span class="comment">// Returns Failure if the writer failed, or the read-end</span></div><div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  <span class="comment">// is closed.</span></div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  <a cla
ss="code" href="classprocess_1_1Future.html">Future<std::string></a> <a class="code" href="namespacemesos_1_1internal_1_1credentials.html#a137c93d60149616181a10e9f39986f7f">read</a>();</div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span> </div><div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  <span class="comment">// Performs a series of asynchronous reads, until EOF is reached.</span></div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  <span class="comment">// Returns the concatenated result of the reads.</span></div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  <span class="comment">// Returns Failure if the writer failed, or the read-end</span></div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  <span class="comment">// is closed.</span></div><div class="line"><a name="l00315"></a><span class="lineno"> 315</
span>  <a class="code" href="classprocess_1_1Future.html">Future<std::string></a> readAll();</div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span> </div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  <span class="comment">// Closing the read-end of the pipe before the write-end closes</span></div><div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  <span class="comment">// or fails will notify the writer that the reader is no longer</span></div><div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  <span class="comment">// interested. Returns false if the read-end was already closed.</span></div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  <span class="keywordtype">bool</span> close();</div><div class="line"><a name="l00321"></a><span class="lineno"> 321</span> </div><div class="line"><a name="l00322"></a><sp
an class="lineno"> 322</span>  <span class="comment">// Comparison operators useful for checking connection equality.</span></div><div class="line"><a name="l00323"></a><span class="lineno"><a class="line" href="classprocess_1_1http_1_1Pipe_1_1Reader.html#ab05ad7874980715328153d42c6b138be"> 323</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classprocess_1_1http_1_1Pipe_1_1Reader.html#ab05ad7874980715328153d42c6b138be">operator==</a>(<span class="keyword">const</span> <a class="code" href="classprocess_1_1http_1_1Pipe_1_1Reader.html">Reader</a>& other)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> data == other.data; }</div><div class="line"><a name="l00324"></a><span class="lineno"><a class="line" href="classprocess_1_1http_1_1Pipe_1_1Reader.html#ac118f7e5f511e0840b7e4460f3287aa5"> 324</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classprocess_1_1http_1_1Pipe_1_1Reader.ht
ml#ac118f7e5f511e0840b7e4460f3287aa5">operator!=</a>(<span class="keyword">const</span> <a class="code" href="classprocess_1_1http_1_1Pipe_1_1Reader.html">Reader</a>& other)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> !(*<span class="keyword">this</span> == other); }</div><div class="line"><a name="l00325"></a><span class="lineno"> 325</span> </div><div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00327"></a><span class="lineno"><a class="line" href="classprocess_1_1http_1_1Pipe_1_1Reader.html#adb788d0aa2d64624d3602a985936d7da"> 327</a></span>  <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classprocess_1_1http_1_1Pipe.html">Pipe</a>;</div><div class="line"><a name="l00328"></a><span class="lineno"> 328</span> </div><div class="line"><a name="l00329"></a><span class="lineno"> 329<
/span>  <span class="keyword">enum</span> State</div><div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  {</div><div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  OPEN,</div><div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  CLOSED,</div><div class="line"><a name="l00333"></a><span class="lineno"> 333</span>  };</div><div class="line"><a name="l00334"></a><span class="lineno"> 334</span> </div><div class="line"><a name="l00335"></a><span class="lineno"> 335</span>  <span class="keyword">explicit</span> <a class="code" href="classprocess_1_1http_1_1Pipe_1_1Reader.html">Reader</a>(<span class="keyword">const</span> std::shared_ptr<Data>& _data) : data(_data) {}</div><div class="line"><a name="l00336"></a><span class="lineno"> 336</span> </div><div class="line"><a name="l00337"></a><span class="lineno"> 337</span>  std::shared_ptr<D
ata> data;</div><div class="line"><a name="l00338"></a><span class="lineno"> 338</span>  };</div><div class="line"><a name="l00339"></a><span class="lineno"> 339</span> </div><div class="line"><a name="l00340"></a><span class="lineno"><a class="line" href="classprocess_1_1http_1_1Pipe_1_1Writer.html"> 340</a></span>  <span class="keyword">class </span><a class="code" href="classprocess_1_1http_1_1Pipe_1_1Writer.html">Writer</a></div><div class="line"><a name="l00341"></a><span class="lineno"> 341</span>  {</div><div class="line"><a name="l00342"></a><span class="lineno"> 342</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00343"></a><span class="lineno"> 343</span>  <span class="comment">// Returns false if the data could not be written because</span></div><div class="line"><a name="l00344"></a><span class="lineno"> 344</span>  <span class="comment">// either end of the pipe was already closed. Note
that an</span></div><div class="line"><a name="l00345"></a><span class="lineno"> 345</span>  <span class="comment">// empty write has no effect.</span></div><div class="line"><a name="l00346"></a><span class="lineno"> 346</span>  <span class="keywordtype">bool</span> <a class="code" href="namespacemesos_1_1internal_1_1log_1_1protocol.html#a66ff2d5af4db53227f787281c0765d8d">write</a>(std::string s);</div><div class="line"><a name="l00347"></a><span class="lineno"> 347</span> </div><div class="line"><a name="l00348"></a><span class="lineno"> 348</span>  <span class="comment">// Closing the write-end of the pipe will send end-of-file</span></div><div class="line"><a name="l00349"></a><span class="lineno"> 349</span>  <span class="comment">// to the reader. Returns false if the write-end of the pipe</span></div><div class="line"><a name="l00350"></a><span class="lineno"> 350</span>  <span class="comment">// was already closed or failed
.</span></div><div class="line"><a name="l00351"></a><span class="lineno"> 351</span>  <span class="keywordtype">bool</span> close();</div><div class="line"><a name="l00352"></a><span class="lineno"> 352</span> </div><div class="line"><a name="l00353"></a><span class="lineno"> 353</span>  <span class="comment">// Closes the write-end of the pipe but sends a failure</span></div><div class="line"><a name="l00354"></a><span class="lineno"> 354</span>  <span class="comment">// to the reader rather than end-of-file. Returns false</span></div><div class="line"><a name="l00355"></a><span class="lineno"> 355</span>  <span class="comment">// if the write-end of the pipe was already closed or failed.</span></div><div class="line"><a name="l00356"></a><span class="lineno"> 356</span>  <span class="keywordtype">bool</span> fail(<span class="keyword">const</span> std::string& message);</div><div class="line"><a name="l00357"></a><span class=
"lineno"> 357</span> </div><div class="line"><a name="l00358"></a><span class="lineno"> 358</span>  <span class="comment">// Returns Nothing when the read-end of the pipe is closed</span></div><div class="line"><a name="l00359"></a><span class="lineno"> 359</span>  <span class="comment">// before the write-end is closed, which means the reader</span></div><div class="line"><a name="l00360"></a><span class="lineno"> 360</span>  <span class="comment">// was unable to continue reading!</span></div><div class="line"><a name="l00361"></a><span class="lineno"> 361</span>  <a class="code" href="classprocess_1_1Future.html">Future<Nothing></a> readerClosed() <span class="keyword">const</span>;</div><div class="line"><a name="l00362"></a><span class="lineno"> 362</span> </div><div class="line"><a name="l00363"></a><span class="lineno"> 363</span>  <span class="comment">// Comparison operators useful for checking connection equali
ty.</span></div><div class="line"><a name="l00364"></a><span class="lineno"><a class="line" href="classprocess_1_1http_1_1Pipe_1_1Writer.html#af9693ab7e438233a3e8244f3c650df7d"> 364</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classprocess_1_1http_1_1Pipe_1_1Writer.html#af9693ab7e438233a3e8244f3c650df7d">operator==</a>(<span class="keyword">const</span> <a class="code" href="classprocess_1_1http_1_1Pipe_1_1Writer.html">Writer</a>& other)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> data == other.data; }</div><div class="line"><a name="l00365"></a><span class="lineno"><a class="line" href="classprocess_1_1http_1_1Pipe_1_1Writer.html#a1d21b4591e3eae83215f95a34855b465"> 365</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classprocess_1_1http_1_1Pipe_1_1Writer.html#a1d21b4591e3eae83215f95a34855b465">operator!=</a>(<span class="keyword">const</span> <a class="code" href="classprocess_
1_1http_1_1Pipe_1_1Writer.html">Writer</a>& other)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> !(*<span class="keyword">this</span> == other); }</div><div class="line"><a name="l00366"></a><span class="lineno"> 366</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00367"></a><span class="lineno"><a class="line" href="classprocess_1_1http_1_1Pipe_1_1Writer.html#adb788d0aa2d64624d3602a985936d7da"> 367</a></span>  <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classprocess_1_1http_1_1Pipe.html">Pipe</a>;</div><div class="line"><a name="l00368"></a><span class="lineno"> 368</span> </div><div class="line"><a name="l00369"></a><span class="lineno"> 369</span>  <span class="keyword">enum</span> State</div><div class="line"><a name="l00370"></a><span class="lineno"> 370</span>  {</div><div class="line"><a name="l00371"></a><span class="linen
o"> 371</span>  OPEN,</div><div class="line"><a name="l00372"></a><span class="lineno"> 372</span>  CLOSED,</div><div class="line"><a name="l00373"></a><span class="lineno"> 373</span>  FAILED,</div><div class="line"><a name="l00374"></a><span class="lineno"> 374</span>  };</div><div class="line"><a name="l00375"></a><span class="lineno"> 375</span> </div><div class="line"><a name="l00376"></a><span class="lineno"> 376</span>  <span class="keyword">explicit</span> <a class="code" href="classprocess_1_1http_1_1Pipe_1_1Writer.html">Writer</a>(<span class="keyword">const</span> std::shared_ptr<Data>& _data) : data(_data) {}</div><div class="line"><a name="l00377"></a><span class="lineno"> 377</span> </div><div class="line"><a name="l00378"></a><span class="lineno"> 378</span>  std::shared_ptr<Data> data;</div><div class="line"><a name="l00379"></a><span class="lineno"> 379</span>  };</div><di
v class="line"><a name="l00380"></a><span class="lineno"> 380</span> </div><div class="line"><a name="l00381"></a><span class="lineno"><a class="line" href="classprocess_1_1http_1_1Pipe.html#ac4d65a3bbbdfba2bfeb755aedb5153da"> 381</a></span>  <a class="code" href="classprocess_1_1http_1_1Pipe.html#ac4d65a3bbbdfba2bfeb755aedb5153da">Pipe</a>() : data(new Data()) {}</div><div class="line"><a name="l00382"></a><span class="lineno"> 382</span> </div><div class="line"><a name="l00383"></a><span class="lineno"> 383</span>  <a class="code" href="classprocess_1_1http_1_1Pipe_1_1Reader.html">Reader</a> reader() <span class="keyword">const</span>;</div><div class="line"><a name="l00384"></a><span class="lineno"> 384</span>  <a class="code" href="classprocess_1_1http_1_1Pipe_1_1Writer.html">Writer</a> writer() <span class="keyword">const</span>;</div><div class="line"><a name="l00385"></a><span class="lineno"> 385</span> </div><div class="line"><a name="l
00386"></a><span class="lineno"> 386</span>  <span class="comment">// Comparison operators useful for checking connection equality.</span></div><div class="line"><a name="l00387"></a><span class="lineno"><a class="line" href="classprocess_1_1http_1_1Pipe.html#a4dfc8ee332d8e02d63079491086d3a3b"> 387</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classprocess_1_1http_1_1Pipe.html#a4dfc8ee332d8e02d63079491086d3a3b">operator==</a>(<span class="keyword">const</span> <a class="code" href="classprocess_1_1http_1_1Pipe.html">Pipe</a>& other)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> data == other.data; }</div><div class="line"><a name="l00388"></a><span class="lineno"><a class="line" href="classprocess_1_1http_1_1Pipe.html#a140c24540da2515a1c9835b594bc4df2"> 388</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classprocess_1_1http_1_1Pipe.html#a140c24540da2515a1c9835b594bc4df2">operat
or!=</a>(<span class="keyword">const</span> <a class="code" href="classprocess_1_1http_1_1Pipe.html">Pipe</a>& other)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> !(*<span class="keyword">this</span> == other); }</div><div class="line"><a name="l00389"></a><span class="lineno"> 389</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00390"></a><span class="lineno"> 390</span>  <span class="keyword">struct </span>Data</div><div class="line"><a name="l00391"></a><span class="lineno"> 391</span>  {</div><div class="line"><a name="l00392"></a><span class="lineno"> 392</span>  Data()</div><div class="line"><a name="l00393"></a><span class="lineno"> 393</span>  : readEnd(Reader::OPEN),</div><div class="line"><a name="l00394"></a><span class="lineno"> 394</span>  writeEnd(Writer::OPEN) {}</div><div class="line"><a name="l00395"></a><span class="lineno"> 395</span> </div>
<div class="line"><a name="l00396"></a><span class="lineno"> 396</span>  <span class="comment">// Rather than use a process to serialize access to the pipe's</span></div><div class="line"><a name="l00397"></a><span class="lineno"> 397</span>  <span class="comment">// internal data we use a 'std::atomic_flag'.</span></div><div class="line"><a name="l00398"></a><span class="lineno"> 398</span>  std::atomic_flag lock = ATOMIC_FLAG_INIT;</div><div class="line"><a name="l00399"></a><span class="lineno"> 399</span> </div><div class="line"><a name="l00400"></a><span class="lineno"> 400</span>  Reader::State readEnd;</div><div class="line"><a name="l00401"></a><span class="lineno"> 401</span>  Writer::State writeEnd;</div><div class="line"><a name="l00402"></a><span class="lineno"> 402</span> </div><div class="line"><a name="l00403"></a><span class="lineno"> 403</span>  <span class="comment">// Represents readers
waiting for data from the pipe.</span></div><div class="line"><a name="l00404"></a><span class="lineno"> 404</span>  std::queue<Owned<Promise<std::string>>> reads;</div><div class="line"><a name="l00405"></a><span class="lineno"> 405</span> </div><div class="line"><a name="l00406"></a><span class="lineno"> 406</span>  <span class="comment">// Represents unread writes in the pipe. Note that we omit</span></div><div class="line"><a name="l00407"></a><span class="lineno"> 407</span>  <span class="comment">// empty strings as they serve as a signal for end-of-file.</span></div><div class="line"><a name="l00408"></a><span class="lineno"> 408</span>  std::queue<std::string> writes;</div><div class="line"><a name="l00409"></a><span class="lineno"> 409</span> </div><div class="line"><a name="l00410"></a><span class="lineno"> 410</span>  <span class="comment">// Signals when the read-end is closed before the wri
te-end.</span></div><div class="line"><a name="l00411"></a><span class="lineno"> 411</span>  <a class="code" href="classprocess_1_1Promise.html">Promise<Nothing></a> readerClosure;</div><div class="line"><a name="l00412"></a><span class="lineno"> 412</span> </div><div class="line"><a name="l00413"></a><span class="lineno"> 413</span>  <span class="comment">// Failure reason when the 'writeEnd' is FAILED.</span></div><div class="line"><a name="l00414"></a><span class="lineno"> 414</span>  <a class="code" href="classOption.html">Option<Failure></a> failure;</div><div class="line"><a name="l00415"></a><span class="lineno"> 415</span>  };</div><div class="line"><a name="l00416"></a><span class="lineno"> 416</span> </div><div class="line"><a name="l00417"></a><span class="lineno"> 417</span>  std::shared_ptr<Data> data;</div><div class="line"><a name="l00418"></a><span class="lineno"> 418</span> };</div>
<div class="line"><a name="l00419"></a><span class="lineno"> 419</span> </div><div class="line"><a name="l00420"></a><span class="lineno"> 420</span> </div><div class="line"><a name="l00421"></a><span class="lineno"><a class="line" href="namespaceprocess_1_1http_1_1header.html"> 421</a></span> <span class="keyword">namespace </span>header {</div><div class="line"><a name="l00422"></a><span class="lineno"> 422</span> </div><div class="line"><a name="l00423"></a><span class="lineno"> 423</span> <span class="comment">// https://tools.ietf.org/html/rfc2617.</span></div><div class="line"><a name="l00424"></a><span class="lineno"><a class="line" href="classprocess_1_1http_1_1header_1_1WWWAuthenticate.html"> 424</a></span> <span class="keyword">class </span><a class="code" href="classprocess_1_1http_1_1header_1_1WWWAuthenticate.html">WWWAuthenticate</a></div><div class="line"><a name="l00425"></a><span class="lineno"> 425</span> {</div><div class="
line"><a name="l00426"></a><span class="lineno"> 426</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00427"></a><span class="lineno"><a class="line" href="classprocess_1_1http_1_1header_1_1WWWAuthenticate.html#aa25cdb0353e7e0b131a4528ca8ad3d68"> 427</a></span>  <span class="keyword">static</span> constexpr <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="namespacemesos_1_1internal_1_1logger_1_1rotate.html#aee5dc359a1b6d22c5d912b166c895854">NAME</a> = <span class="stringliteral">"WWW-Authenticate"</span>;</div><div class="line"><a name="l00428"></a><span class="lineno"> 428</span> </div><div class="line"><a name="l00429"></a><span class="lineno"><a class="line" href="classprocess_1_1http_1_1header_1_1WWWAuthenticate.html#a1694b4ae16e6aa84cbec3bcda360e913"> 429</a></span>  <a class="code" href="classprocess_1_1http_1_1header_1_1WWWAuthenticate.html#a1694b4ae16e6aa84cbec3bcda
360e913">WWWAuthenticate</a>(</div><div class="line"><a name="l00430"></a><span class="lineno"> 430</span>  <span class="keyword">const</span> std::string& authScheme,</div><div class="line"><a name="l00431"></a><span class="lineno"> 431</span>  <span class="keyword">const</span> <a class="code" href="classhashmap.html">hashmap<std::string, std::string></a>& authParam)</div><div class="line"><a name="l00432"></a><span class="lineno"> 432</span>  : authScheme_(authScheme),</div><div class="line"><a name="l00433"></a><span class="lineno"> 433</span>  authParam_(authParam) {}</div><div class="line"><a name="l00434"></a><span class="lineno"> 434</span> </div><div class="line"><a name="l00435"></a><span class="lineno"> 435</span>  <span class="keyword">static</span> <a class="code" href="classTry.html">Try<WWWAuthenticate></a> <a class="code" href="namespacecgroups.html#a2ecc89636706df947027a4c3c2100fbe">create</a
>(<span class="keyword">const</span> std::string& value);</div><div class="line"><a name="l00436"></a><span class="lineno"> 436</span> </div><div class="line"><a name="l00437"></a><span class="lineno"> 437</span>  std::string authScheme();</div><div class="line"><a name="l00438"></a><span class="lineno"> 438</span>  <a class="code" href="classhashmap.html">hashmap<std::string, std::string></a> authParam();</div><div class="line"><a name="l00439"></a><span class="lineno"> 439</span> </div><div class="line"><a name="l00440"></a><span class="lineno"> 440</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00441"></a><span class="lineno"> 441</span>  <span class="comment">// According to RFC, HTTP/1.1 server may return multiple challenges</span></div><div class="line"><a name="l00442"></a><span class="lineno"> 442</span>  <span class="comment">// with a 401 (Authenticate) response. Each challenage is in th
e</span></div><div class="line"><a name="l00443"></a><span class="lineno"> 443</span>  <span class="comment">// format of 'auth-scheme 1*SP 1#auth-param' and each challenage may</span></div><div class="line"><a name="l00444"></a><span class="lineno"> 444</span>  <span class="comment">// use a different auth-scheme.</span></div><div class="line"><a name="l00445"></a><span class="lineno"> 445</span>  <span class="comment">// https://tools.ietf.org/html/rfc2617#section-4.6</span></div><div class="line"><a name="l00446"></a><span class="lineno"> 446</span>  <span class="comment">//</span></div><div class="line"><a name="l00447"></a><span class="lineno"> 447</span>  <span class="comment">// TODO(gilbert): We assume there is only one authenticate challenge.</span></div><div class="line"><a name="l00448"></a><span class="lineno"> 448</span>  <span class="comment">// Multiple challenges should be supported as well.</span></div><div class="li
ne"><a name="l00449"></a><span class="lineno"> 449</span>  std::string authScheme_;</div><div class="line"><a name="l00450"></a><span class="lineno"> 450</span>  <a class="code" href="classhashmap.html">hashmap<std::string, std::string></a> authParam_;</div><div class="line"><a name="l00451"></a><span class="lineno"> 451</span> };</div><div class="line"><a name="l00452"></a><span class="lineno"> 452</span> </div><div class="line"><a name="l00453"></a><span class="lineno"> 453</span> } <span class="comment">// namespace header {</span></div><div class="line"><a name="l00454"></a><span class="lineno"> 454</span> </div><div class="line"><a name="l00455"></a><span class="lineno"> 455</span> </div><div class="line"><a name="l00456"></a><span class="lineno"><a class="line" href="classprocess_1_1http_1_1Headers.html"> 456</a></span> <span class="keyword">class </span><a class="code" href="classprocess_1_1http_1_1Headers.html">Headers<
/a> : <span class="keyword">public</span> <a class="code" href="classhashmap.html">hashmap</a><</div><div class="line"><a name="l00457"></a><span class="lineno"> 457</span>  std::string,</div><div class="line"><a name="l00458"></a><span class="lineno"> 458</span>  std::string,</div><div class="line"><a name="l00459"></a><span class="lineno"> 459</span>  CaseInsensitiveHash,</div><div class="line"><a name="l00460"></a><span class="lineno"> 460</span>  CaseInsensitiveEqual></div><div class="line"><a name="l00461"></a><span class="lineno"> 461</span> {</div><div class="line"><a name="l00462"></a><span class="lineno"> 462</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00463"></a><span class="lineno"><a class="line" href="classprocess_1_1http_1_1Headers.html#a8ebd5d74c3557ec3ee54daf933c5e51c"> 463</a></span>  <a class="code" href="classprocess_1_1http_1_1Headers.html#a8ebd5d74c3557ec3ee54daf933c5e5
1c">Headers</a>() {}</div><div class="line"><a name="l00464"></a><span class="lineno"> 464</span> </div><div class="line"><a name="l00465"></a><span class="lineno"><a class="line" href="classprocess_1_1http_1_1Headers.html#abf4e64a7f7a09f6d99497296f9ab4911"> 465</a></span>  <a class="code" href="classprocess_1_1http_1_1Headers.html#abf4e64a7f7a09f6d99497296f9ab4911">Headers</a>(<span class="keyword">const</span> std::map<std::string, std::string>& <a class="code" href="namespacelambda.html#a6030d65051d5968ada4d2e528b2fcd57">map</a>)</div><div class="line"><a name="l00466"></a><span class="lineno"> 466</span>  : <a class="code" href="classhashmap.html">hashmap</a><</div><div class="line"><a name="l00467"></a><span class="lineno"> 467</span>  <a class="code" href="namespacestd.html">std</a>::string,</div><div class="line"><a name="l00468"></a><span class="lineno"> 468</span>  <a class="code" href="namespacestd.html">std<
/a>::string,</div><div class="line"><a name="l00469"></a><span class="lineno"> 469</span>  <a class="code" href="structprocess_1_1http_1_1CaseInsensitiveHash.html">CaseInsensitiveHash</a>,</div><div class="line"><a name="l00470"></a><span class="lineno"> 470</span>  <a class="code" href="structprocess_1_1http_1_1CaseInsensitiveEqual.html">CaseInsensitiveEqual</a>>(map) {}</div><div class="line"><a name="l00471"></a><span class="lineno"> 471</span> </div><div class="line"><a name="l00472"></a><span class="lineno"><a class="line" href="classprocess_1_1http_1_1Headers.html#a03479d96b4c86a55083f0ac993891186"> 472</a></span>  <a class="code" href="classprocess_1_1http_1_1Headers.html#a03479d96b4c86a55083f0ac993891186">Headers</a>(std::map<std::string, std::string>&& <a class="code" href="namespacelambda.html#a6030d65051d5968ada4d2e528b2fcd57">map</a>)</div><div class="line"><a name="l00473"></a><span class="lineno"> 473</span>&
#160; : <a class="code" href="classhashmap.html">hashmap</a><</div><div class="line"><a name="l00474"></a><span class="lineno"> 474</span>  <a class="code" href="namespacestd.html">std</a>::string,</div><div class="line"><a name="l00475"></a><span class="lineno"> 475</span>  <a class="code" href="namespacestd.html">std</a>::string,</div><div class="line"><a name="l00476"></a><span class="lineno"> 476</span>  <a class="code" href="structprocess_1_1http_1_1CaseInsensitiveHash.html">CaseInsensitiveHash</a>,</div><div class="line"><a name="l00477"></a><span class="lineno"> 477</span>  <a class="code" href="structprocess_1_1http_1_1CaseInsensitiveEqual.html">CaseInsensitiveEqual</a>>(<a class="code" href="namespacelambda.html#a6030d65051d5968ada4d2e528b2fcd57">map</a>) {}</div><div class="line"><a name="l00478"></a><span class="lineno"> 478</span> </div><div class="line"><a name="l00479"></a><span class="lineno"><
a class="line" href="classprocess_1_1http_1_1Headers.html#afcda2f597b4567f9959fffcdb3845cf6"> 479</a></span>  <a class="code" href="classprocess_1_1http_1_1Headers.html#afcda2f597b4567f9959fffcdb3845cf6">Headers</a>(std::initializer_list<std::pair<std::string, std::string>> <a class="code" href="namespacecgroups_1_1devices.html#a22494291bc2cb89697dcd2b5f288bdd3">list</a>)</div><div class="line"><a name="l00480"></a><span class="lineno"> 480</span>  : <a class="code" href="classhashmap.html">hashmap</a><</div><div class="line"><a name="l00481"></a><span class="lineno"> 481</span>  <a class="code" href="namespacestd.html">std</a>::string,</div><div class="line"><a name="l00482"></a><span class="lineno"> 482</span>  <a class="code" href="namespacestd.html">std</a>::string,</div><div class="line"><a name="l00483"></a><span class="lineno"> 483</span>  <a class="code" href="structprocess_1_1http_1_1CaseInsensitiv
eHash.html">CaseInsensitiveHash</a>,</div><div class="line"><a name="l00484"></a><span class="lineno"> 484</span>  <a class="code" href="structprocess_1_1http_1_1CaseInsensitiveEqual.html">CaseInsensitiveEqual</a>>(<a class="code" href="namespacecgroups_1_1devices.html#a22494291bc2cb89697dcd2b5f288bdd3">list</a>) {}</div><div class="line"><a name="l00485"></a><span class="lineno"> 485</span> </div><div class="line"><a name="l00486"></a><span class="lineno"> 486</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> T></div><div class="line"><a name="l00487"></a><span class="lineno"><a class="line" href="classprocess_1_1http_1_1Headers.html#ace314043b5f44f854097d321246a26c0"> 487</a></span>  <a class="code" href="classResult.html">Result<T></a> <span class="keyword">get</span>() <span class="keyword">const</span></div><div class="line"><a name="l00488"></a><span class="lineno"> 488</span>  {</div><
div class="line"><a name="l00489"></a><span class="lineno"> 489</span>  <a class="code" href="classOption.html">Option<std::string></a> value = <span class="keyword">get</span>(<a class="code" href="namespacemesos_1_1internal_1_1logger_1_1rotate.html#aee5dc359a1b6d22c5d912b166c895854">T::NAME</a>);</div><div class="line"><a name="l00490"></a><span class="lineno"> 490</span>  <span class="keywordflow">if</span> (value.<a class="code" href="classOption.html#a06eab791122ebc1f8af4ad310e5e7d7e">isNone</a>()) {</div><div class="line"><a name="l00491"></a><span class="lineno"> 491</span>  <span class="keywordflow">return</span> <a class="code" href="structNone.html">None</a>();</div><div class="line"><a name="l00492"></a><span class="lineno"> 492</span>  }</div><div class="line"><a name="l00493"></a><span class="lineno"> 493</span>  <a class="code" href="classTry.html">Try<T></a> header = <a class="code" href="namespacecgroups.html
#a2ecc89636706df947027a4c3c2100fbe">T::create</a>(value.<a class="code" href="classOption.html#a21358442c0fac1cc978a67a9a9089a79">get</a>());</div><div class="line"><a name="l00494"></a><span class="lineno"> 494</span>  <span class="keywordflow">if</span> (header.<a class="code" href="classTry.html#a0b98f95163b8a38daafd1651b043a276">isError</a>()) {</div><div class="line"><a name="l00495"></a><span class="lineno"> 495</span>  <span class="keywordflow">return</span> <a class="code" href="classError.html">Error</a>(header.<a class="code" href="classTry.html#aec4a11ddd3c036e889d90b7eb6258ba7">error</a>());</div><div class="line"><a name="l00496"></a><span class="lineno"> 496</span>  }</div><div class="line"><a name="l00497"></a><span class="lineno"> 497</span>  <span class="keywordflow">return</span> header.<a class="code" href="classTry.html#a8bc7f43e75a47111ea18e9c83b007be5">get</a>();</div><div class="line"><a name="l00498"></a><span class="line
no"> 498</span>  }</div><div class="line"><a name="l00499"></a><span class="lineno"> 499</span> </div><div class="line"><a name="l00500"></a><span class="lineno"><a class="line" href="classprocess_1_1http_1_1Headers.html#a93cdd375ffca86b0ffc3822ebc232be6"> 500</a></span>  <a class="code" href="classOption.html">Option<std::string></a> <span class="keyword">get</span>(<span class="keyword">const</span> std::string& key) <span class="keyword">const</span></div><div class="line"><a name="l00501"></a><span class="lineno"> 501</span>  {</div><div class="line"><a name="l00502"></a><span class="lineno"> 502</span>  <span class="keywordflow">return</span> <a class="code" href="classhashmap.html">hashmap</a><</div><div class="line"><a name="l00503"></a><span class="lineno"> 503</span>  std::string,</div><div class="line"><a name="l00504"></a><span class="lineno"> 504</span>  std::string,</div><div class="line"><a name
="l00505"></a><span class="
<TRUNCATED>