This commit is contained in:
manojsdoshi
2021-03-12 22:34:28 +00:00
parent 1664f589f1
commit dffdcfc0e7
4802 changed files with 108249 additions and 108053 deletions

View File

@@ -127,10 +127,10 @@ $(function() {
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="classripple_1_1Message.html#a917c83b8aebb0fd9448cd08d319cf9d7"> 56</a></span>&#160; <span class="keyword">using</span> <a class="code" href="namespaceripple_1_1compression.html#ac4e4ca1236f472d7e218c3f69cd8605b">Algorithm</a> = <a class="code" href="namespaceripple_1_1compression.html#ac4e4ca1236f472d7e218c3f69cd8605b">compression::Algorithm</a>;</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; </div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <a class="code" href="classripple_1_1Message.html#aaac68e258d1fda75e275e9545b25a98c">Message</a>(</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <a class="code" href="classripple_1_1Message.html#a51a8e5f78d38a7bba124be9b7e6019f6">Message</a>(</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; ::google::protobuf::Message <span class="keyword">const</span>&amp; message,</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; <span class="keywordtype">int</span> type,</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; boost::optional&lt;PublicKey&gt; <span class="keyword">const</span>&amp; validator = {});</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;PublicKey&gt;</a> <span class="keyword">const</span>&amp; validator = {});</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; </div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a></div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; <a class="code" href="classripple_1_1Message.html#a6e14d9326c8907aac58a5de4668c5840">getBufferSize</a>();</div>
@@ -150,10 +150,10 @@ $(function() {
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classripple_1_1Message.html#a0b12f602dfea3a708efc0b0138a0c510">category_</a>;</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; }</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; </div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; boost::optional&lt;PublicKey&gt; <span class="keyword">const</span>&amp;</div>
<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="classripple_1_1Message.html#a7b1100d7cf26d68e20b2460506a9adba"> 98</a></span>&#160; <a class="code" href="classripple_1_1Message.html#a7b1100d7cf26d68e20b2460506a9adba">getValidatorKey</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;PublicKey&gt;</a> <span class="keyword">const</span>&amp;</div>
<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="classripple_1_1Message.html#a4eecf31aa99d9ec11aead71a02092e1b"> 98</a></span>&#160; <a class="code" href="classripple_1_1Message.html#a4eecf31aa99d9ec11aead71a02092e1b">getValidatorKey</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classripple_1_1Message.html#a94f3d5a8c6c920277997a198922fe96b">validatorKey_</a>;</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classripple_1_1Message.html#a8fcf12040171db67a08cc9387cbeaa1d">validatorKey_</a>;</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; }</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; </div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160;<span class="keyword">private</span>:</div>
@@ -161,7 +161,7 @@ $(function() {
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="classripple_1_1Message.html#aa1f750b5736b4a641b5d279a2d05ba6f"> 105</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;uint8_t&gt;</a> <a class="code" href="classripple_1_1Message.html#aa1f750b5736b4a641b5d279a2d05ba6f">bufferCompressed_</a>;</div>
<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="classripple_1_1Message.html#a0b12f602dfea3a708efc0b0138a0c510"> 106</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> <a class="code" href="classripple_1_1Message.html#a0b12f602dfea3a708efc0b0138a0c510">category_</a>;</div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="classripple_1_1Message.html#a15306c929310abec214884a9af5b248d"> 107</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/thread/once_flag.html">std::once_flag</a> <a class="code" href="classripple_1_1Message.html#a15306c929310abec214884a9af5b248d">once_flag_</a>;</div>
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="classripple_1_1Message.html#a94f3d5a8c6c920277997a198922fe96b"> 108</a></span>&#160; boost::optional&lt;PublicKey&gt; <a class="code" href="classripple_1_1Message.html#a94f3d5a8c6c920277997a198922fe96b">validatorKey_</a>;</div>
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="classripple_1_1Message.html#a8fcf12040171db67a08cc9387cbeaa1d"> 108</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;PublicKey&gt;</a> <a class="code" href="classripple_1_1Message.html#a8fcf12040171db67a08cc9387cbeaa1d">validatorKey_</a>;</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; </div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; <span class="keywordtype">void</span></div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; <a class="code" href="classripple_1_1Message.html#a53f6b565ba4f354eeb13f01dbd041848">setHeader</a>(</div>
@@ -182,6 +182,7 @@ $(function() {
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; </div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160;<span class="preprocessor">#endif</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="aclassripple_1_1Message_html_a8fcf12040171db67a08cc9387cbeaa1d"><div class="ttname"><a href="classripple_1_1Message.html#a8fcf12040171db67a08cc9387cbeaa1d">ripple::Message::validatorKey_</a></div><div class="ttdeci">std::optional&lt; PublicKey &gt; validatorKey_</div><div class="ttdef"><b>Definition:</b> <a href="overlay_2Message_8h_source.html#l00108">overlay/Message.h:108</a></div></div>
<div class="ttc" id="aclassripple_1_1Message_html_a59548b6f1be088035f2858fae9eda66b"><div class="ttname"><a href="classripple_1_1Message.html#a59548b6f1be088035f2858fae9eda66b">ripple::Message::getBuffer</a></div><div class="ttdeci">std::vector&lt; uint8_t &gt; const &amp; getBuffer(Compressed tryCompressed)</div><div class="ttdoc">Retrieve the packed message data.</div><div class="ttdef"><b>Definition:</b> <a href="Message_8cpp_source.html#l00208">Message.cpp:208</a></div></div>
<div class="ttc" id="aclassripple_1_1Message_html_ad34a23eec4049e1e4206ad6dbb4e3c8d"><div class="ttname"><a href="classripple_1_1Message.html#ad34a23eec4049e1e4206ad6dbb4e3c8d">ripple::Message::compress</a></div><div class="ttdeci">void compress()</div><div class="ttdoc">Try to compress the payload.</div><div class="ttdef"><b>Definition:</b> <a href="Message_8cpp_source.html#l00068">Message.cpp:68</a></div></div>
<div class="ttc" id="anamespaceripple_html_ac6313681c41516db0a8f8829e1d7b753"><div class="ttname"><a href="namespaceripple.html#ac6313681c41516db0a8f8829e1d7b753">ripple::maximiumMessageSize</a></div><div class="ttdeci">constexpr std::size_t maximiumMessageSize</div><div class="ttdef"><b>Definition:</b> <a href="overlay_2Message_8h_source.html#l00038">overlay/Message.h:38</a></div></div>
@@ -193,12 +194,11 @@ $(function() {
<div class="ttc" id="aiterator_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/iterator.html">iterator</a></div></div>
<div class="ttc" id="aclassripple_1_1Message_html_a15306c929310abec214884a9af5b248d"><div class="ttname"><a href="classripple_1_1Message.html#a15306c929310abec214884a9af5b248d">ripple::Message::once_flag_</a></div><div class="ttdeci">std::once_flag once_flag_</div><div class="ttdef"><b>Definition:</b> <a href="overlay_2Message_8h_source.html#l00107">overlay/Message.h:107</a></div></div>
<div class="ttc" id="aclassripple_1_1Message_html_a274fe4c9990f5d9f6d4882ba3c22f1fb"><div class="ttname"><a href="classripple_1_1Message.html#a274fe4c9990f5d9f6d4882ba3c22f1fb">ripple::Message::getCategory</a></div><div class="ttdeci">std::size_t getCategory() const</div><div class="ttdoc">Get the traffic category.</div><div class="ttdef"><b>Definition:</b> <a href="overlay_2Message_8h_source.html#l00091">overlay/Message.h:91</a></div></div>
<div class="ttc" id="aclassripple_1_1Message_html_a7b1100d7cf26d68e20b2460506a9adba"><div class="ttname"><a href="classripple_1_1Message.html#a7b1100d7cf26d68e20b2460506a9adba">ripple::Message::getValidatorKey</a></div><div class="ttdeci">boost::optional&lt; PublicKey &gt; const &amp; getValidatorKey() const</div><div class="ttdoc">Get the validator's key.</div><div class="ttdef"><b>Definition:</b> <a href="overlay_2Message_8h_source.html#l00098">overlay/Message.h:98</a></div></div>
<div class="ttc" id="aclassripple_1_1Message_html_a94f3d5a8c6c920277997a198922fe96b"><div class="ttname"><a href="classripple_1_1Message.html#a94f3d5a8c6c920277997a198922fe96b">ripple::Message::validatorKey_</a></div><div class="ttdeci">boost::optional&lt; PublicKey &gt; validatorKey_</div><div class="ttdef"><b>Definition:</b> <a href="overlay_2Message_8h_source.html#l00108">overlay/Message.h:108</a></div></div>
<div class="ttc" id="aalgorithm_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/algorithm.html">algorithm</a></div></div>
<div class="ttc" id="aonce_flag_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/thread/once_flag.html">std::once_flag</a></div></div>
<div class="ttc" id="anamespaceripple_html_a13d7c6c34d30731bbc221f629e03f8db"><div class="ttname"><a href="namespaceripple.html#a13d7c6c34d30731bbc221f629e03f8db">ripple::megabytes</a></div><div class="ttdeci">constexpr auto megabytes(T value) noexcept</div><div class="ttdef"><b>Definition:</b> <a href="ByteUtilities_8h_source.html#l00034">ByteUtilities.h:34</a></div></div>
<div class="ttc" id="aarray_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/array.html">array</a></div></div>
<div class="ttc" id="aclassripple_1_1Message_html_a51a8e5f78d38a7bba124be9b7e6019f6"><div class="ttname"><a href="classripple_1_1Message.html#a51a8e5f78d38a7bba124be9b7e6019f6">ripple::Message::Message</a></div><div class="ttdeci">Message(::google::protobuf::Message const &amp;message, int type, std::optional&lt; PublicKey &gt; const &amp;validator={})</div><div class="ttdoc">Constructor.</div><div class="ttdef"><b>Definition:</b> <a href="Message_8cpp_source.html#l00026">Message.cpp:26</a></div></div>
<div class="ttc" id="aenable_shared_from_this_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/enable_shared_from_this.html">std::enable_shared_from_this</a></div></div>
<div class="ttc" id="anamespaceripple_1_1compression_html_a63d59b12f7e712c378860771ef3fdf5f"><div class="ttname"><a href="namespaceripple_1_1compression.html#a63d59b12f7e712c378860771ef3fdf5f">ripple::compression::Compressed</a></div><div class="ttdeci">Compressed</div><div class="ttdef"><b>Definition:</b> <a href="Compression_8h_source.html#l00038">Compression.h:38</a></div></div>
<div class="ttc" id="acstdint_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/cstdint.html">cstdint</a></div></div>
@@ -211,10 +211,11 @@ $(function() {
<div class="ttc" id="aclassripple_1_1Message_html_a6e14d9326c8907aac58a5de4668c5840"><div class="ttname"><a href="classripple_1_1Message.html#a6e14d9326c8907aac58a5de4668c5840">ripple::Message::getBufferSize</a></div><div class="ttdeci">std::size_t getBufferSize()</div><div class="ttdoc">Retrieve the size of the packed but uncompressed message data.</div><div class="ttdef"><b>Definition:</b> <a href="Message_8cpp_source.html#l00202">Message.cpp:202</a></div></div>
<div class="ttc" id="anamespaceripple_html"><div class="ttname"><a href="namespaceripple.html">ripple</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition:</b> <a href="RCLCensorshipDetector_8h_source.html#l00029">RCLCensorshipDetector.h:29</a></div></div>
<div class="ttc" id="aclassripple_1_1Message_html_aa1f750b5736b4a641b5d279a2d05ba6f"><div class="ttname"><a href="classripple_1_1Message.html#aa1f750b5736b4a641b5d279a2d05ba6f">ripple::Message::bufferCompressed_</a></div><div class="ttdeci">std::vector&lt; uint8_t &gt; bufferCompressed_</div><div class="ttdef"><b>Definition:</b> <a href="overlay_2Message_8h_source.html#l00105">overlay/Message.h:105</a></div></div>
<div class="ttc" id="aoptional_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a></div></div>
<div class="ttc" id="asize_t_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a></div></div>
<div class="ttc" id="aclassripple_1_1Message_html_a4eecf31aa99d9ec11aead71a02092e1b"><div class="ttname"><a href="classripple_1_1Message.html#a4eecf31aa99d9ec11aead71a02092e1b">ripple::Message::getValidatorKey</a></div><div class="ttdeci">std::optional&lt; PublicKey &gt; const &amp; getValidatorKey() const</div><div class="ttdoc">Get the validator's key.</div><div class="ttdef"><b>Definition:</b> <a href="overlay_2Message_8h_source.html#l00098">overlay/Message.h:98</a></div></div>
<div class="ttc" id="atype_traits_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/type_traits.html">type_traits</a></div></div>
<div class="ttc" id="aclassripple_1_1Message_html_a0b12f602dfea3a708efc0b0138a0c510"><div class="ttname"><a href="classripple_1_1Message.html#a0b12f602dfea3a708efc0b0138a0c510">ripple::Message::category_</a></div><div class="ttdeci">std::size_t category_</div><div class="ttdef"><b>Definition:</b> <a href="overlay_2Message_8h_source.html#l00106">overlay/Message.h:106</a></div></div>
<div class="ttc" id="aclassripple_1_1Message_html_aaac68e258d1fda75e275e9545b25a98c"><div class="ttname"><a href="classripple_1_1Message.html#aaac68e258d1fda75e275e9545b25a98c">ripple::Message::Message</a></div><div class="ttdeci">Message(::google::protobuf::Message const &amp;message, int type, boost::optional&lt; PublicKey &gt; const &amp;validator={})</div><div class="ttdoc">Constructor.</div><div class="ttdef"><b>Definition:</b> <a href="Message_8cpp_source.html#l00026">Message.cpp:26</a></div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">