This commit is contained in:
bthomee
2025-08-19 09:49:50 -07:00
parent bb5efdeec8
commit e7f4ae8bed
14888 changed files with 259444 additions and 168566 deletions

View File

@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>rippled: GRPCTestClientBase.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
@@ -29,7 +29,7 @@
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
@@ -46,6 +46,11 @@ $(function() {
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function() { init_codefold(0); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
@@ -107,8 +112,10 @@ $(function() {
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceripple.html">ripple</a> {</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="keyword">namespace </span>test {</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> </div>
<div class="foldopen" id="foldopen00032" data-start="{" data-end="};">
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1GRPCTestClientBase.html"> 32</a></span><span class="keyword">struct </span><a class="code hl_struct" href="structripple_1_1test_1_1GRPCTestClientBase.html">GRPCTestClientBase</a></div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span>{</div>
<div class="foldopen" id="foldopen00034" data-start="{" data-end="}">
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1GRPCTestClientBase.html#afed8c60c51a9ac107cb75415c4f8b15b"> 34</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="structripple_1_1test_1_1GRPCTestClientBase.html#afed8c60c51a9ac107cb75415c4f8b15b">GRPCTestClientBase</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>&amp; port)</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> : <a class="code hl_variable" href="structripple_1_1test_1_1GRPCTestClientBase.html#ad7f22d68c721c8362822215819cf6162">stub_</a>(org::xrpl::<a class="code hl_class" href="classripple_1_1test_1_1jtx_1_1rpc.html">rpc</a>::v1::XRPLedgerAPIService::NewStub(</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> grpc::CreateChannel(</div>
@@ -119,33 +126,35 @@ $(function() {
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> grpc::InsecureChannelCredentials())))</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> {</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> }</div>
</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> </div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1GRPCTestClientBase.html#aa10315a3d1766936e53f33210ac435ac"> 45</a></span> grpc::Status <a class="code hl_variable" href="structripple_1_1test_1_1GRPCTestClientBase.html#aa10315a3d1766936e53f33210ac435ac">status</a>;</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1GRPCTestClientBase.html#aee052bae4886450a25a7a934ce6672f1"> 46</a></span> grpc::ClientContext <a class="code hl_variable" href="structripple_1_1test_1_1GRPCTestClientBase.html#aee052bae4886450a25a7a934ce6672f1">context</a>;</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"><a class="line" href="structripple_1_1test_1_1GRPCTestClientBase.html#ad7f22d68c721c8362822215819cf6162"> 47</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr&lt;org::xrpl::rpc::v1::XRPLedgerAPIService::Stub&gt;</a> <a class="code hl_variable" href="structripple_1_1test_1_1GRPCTestClientBase.html#ad7f22d68c721c8362822215819cf6162">stub_</a>;</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span>};</div>
</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> </div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span>} <span class="comment">// namespace test</span></div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span>} <span class="comment">// namespace ripple</span></div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span><span class="preprocessor">#endif </span><span class="comment">// RIPPLED_GRPCTESTCLIENTBASE_H</span></div>
<div class="ttc" id="abasic_string_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1rpc_html"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1rpc.html">ripple::test::jtx::rpc</a></div><div class="ttdoc">Set the expected result code for a JTx The test will fail if the code doesn't match.</div><div class="ttdef"><b>Definition:</b> <a href="rpc_8h_source.html#l00034">rpc.h:35</a></div></div>
<div class="ttc" id="anamespacebeast_html"><div class="ttname"><a href="namespacebeast.html">beast</a></div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00662">base_uint.h:662</a></div></div>
<div class="ttc" id="anamespaceboost_html"><div class="ttname"><a href="namespaceboost.html">boost</a></div><div class="ttdef"><b>Definition:</b> <a href="IPAddress_8h_source.html#l00101">IPAddress.h:101</a></div></div>
<div class="ttc" id="anamespaceripple_1_1test_html_ad454fc1e1183106ecfeeaf41343d5ddf"><div class="ttname"><a href="namespaceripple_1_1test.html#ad454fc1e1183106ecfeeaf41343d5ddf">ripple::test::getEnvLocalhostAddr</a></div><div class="ttdeci">char const * getEnvLocalhostAddr()</div><div class="ttdef"><b>Definition:</b> <a href="envconfig_8h_source.html#l00036">envconfig.h:36</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="algorithm_8h_source.html#l00025">algorithm.h:25</a></div></div>
<div class="ttc" id="anamespaceripple_html_ac124fe6744b7fe887dec949b56b16d50"><div class="ttname"><a href="namespaceripple.html#ac124fe6744b7fe887dec949b56b16d50">ripple::to_string</a></div><div class="ttdeci">std::string to_string(base_uint&lt; Bits, Tag &gt; const &amp;a)</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00630">base_uint.h:630</a></div></div>
<div class="ttc" id="aclassripple_1_1test_1_1jtx_1_1rpc_html"><div class="ttname"><a href="classripple_1_1test_1_1jtx_1_1rpc.html">ripple::test::jtx::rpc</a></div><div class="ttdoc">Set the expected result code for a JTx The test will fail if the code doesn't match.</div><div class="ttdef"><b>Definition</b> <a href="rpc_8h_source.html#l00034">rpc.h:35</a></div></div>
<div class="ttc" id="anamespacebeast_html"><div class="ttname"><a href="namespacebeast.html">beast</a></div><div class="ttdef"><b>Definition</b> <a href="base__uint_8h_source.html#l00662">base_uint.h:662</a></div></div>
<div class="ttc" id="anamespaceboost_html"><div class="ttname"><a href="namespaceboost.html">boost</a></div><div class="ttdef"><b>Definition</b> <a href="IPAddress_8h_source.html#l00101">IPAddress.h:101</a></div></div>
<div class="ttc" id="anamespaceripple_1_1test_html_ad454fc1e1183106ecfeeaf41343d5ddf"><div class="ttname"><a href="namespaceripple_1_1test.html#ad454fc1e1183106ecfeeaf41343d5ddf">ripple::test::getEnvLocalhostAddr</a></div><div class="ttdeci">char const * getEnvLocalhostAddr()</div><div class="ttdef"><b>Definition</b> <a href="envconfig_8h_source.html#l00036">envconfig.h:36</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="algorithm_8h_source.html#l00025">algorithm.h:25</a></div></div>
<div class="ttc" id="anamespaceripple_html_ac124fe6744b7fe887dec949b56b16d50"><div class="ttname"><a href="namespaceripple.html#ac124fe6744b7fe887dec949b56b16d50">ripple::to_string</a></div><div class="ttdeci">std::string to_string(base_uint&lt; Bits, Tag &gt; const &amp;a)</div><div class="ttdef"><b>Definition</b> <a href="base__uint_8h_source.html#l00630">base_uint.h:630</a></div></div>
<div class="ttc" id="anamespacestd_html"><div class="ttname"><a href="namespacestd.html">std</a></div><div class="ttdoc">STL namespace.</div></div>
<div class="ttc" id="astructripple_1_1test_1_1GRPCTestClientBase_html"><div class="ttname"><a href="structripple_1_1test_1_1GRPCTestClientBase.html">ripple::test::GRPCTestClientBase</a></div><div class="ttdef"><b>Definition:</b> <a href="GRPCTestClientBase_8h_source.html#l00032">GRPCTestClientBase.h:33</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1GRPCTestClientBase_html_aa10315a3d1766936e53f33210ac435ac"><div class="ttname"><a href="structripple_1_1test_1_1GRPCTestClientBase.html#aa10315a3d1766936e53f33210ac435ac">ripple::test::GRPCTestClientBase::status</a></div><div class="ttdeci">grpc::Status status</div><div class="ttdef"><b>Definition:</b> <a href="GRPCTestClientBase_8h_source.html#l00045">GRPCTestClientBase.h:45</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1GRPCTestClientBase_html_ad7f22d68c721c8362822215819cf6162"><div class="ttname"><a href="structripple_1_1test_1_1GRPCTestClientBase.html#ad7f22d68c721c8362822215819cf6162">ripple::test::GRPCTestClientBase::stub_</a></div><div class="ttdeci">std::unique_ptr&lt; org::xrpl::rpc::v1::XRPLedgerAPIService::Stub &gt; stub_</div><div class="ttdef"><b>Definition:</b> <a href="GRPCTestClientBase_8h_source.html#l00047">GRPCTestClientBase.h:47</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1GRPCTestClientBase_html_aee052bae4886450a25a7a934ce6672f1"><div class="ttname"><a href="structripple_1_1test_1_1GRPCTestClientBase.html#aee052bae4886450a25a7a934ce6672f1">ripple::test::GRPCTestClientBase::context</a></div><div class="ttdeci">grpc::ClientContext context</div><div class="ttdef"><b>Definition:</b> <a href="GRPCTestClientBase_8h_source.html#l00046">GRPCTestClientBase.h:46</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1GRPCTestClientBase_html_afed8c60c51a9ac107cb75415c4f8b15b"><div class="ttname"><a href="structripple_1_1test_1_1GRPCTestClientBase.html#afed8c60c51a9ac107cb75415c4f8b15b">ripple::test::GRPCTestClientBase::GRPCTestClientBase</a></div><div class="ttdeci">GRPCTestClientBase(std::string const &amp;port)</div><div class="ttdef"><b>Definition:</b> <a href="GRPCTestClientBase_8h_source.html#l00034">GRPCTestClientBase.h:34</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1GRPCTestClientBase_html"><div class="ttname"><a href="structripple_1_1test_1_1GRPCTestClientBase.html">ripple::test::GRPCTestClientBase</a></div><div class="ttdef"><b>Definition</b> <a href="GRPCTestClientBase_8h_source.html#l00032">GRPCTestClientBase.h:33</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1GRPCTestClientBase_html_aa10315a3d1766936e53f33210ac435ac"><div class="ttname"><a href="structripple_1_1test_1_1GRPCTestClientBase.html#aa10315a3d1766936e53f33210ac435ac">ripple::test::GRPCTestClientBase::status</a></div><div class="ttdeci">grpc::Status status</div><div class="ttdef"><b>Definition</b> <a href="GRPCTestClientBase_8h_source.html#l00045">GRPCTestClientBase.h:45</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1GRPCTestClientBase_html_ad7f22d68c721c8362822215819cf6162"><div class="ttname"><a href="structripple_1_1test_1_1GRPCTestClientBase.html#ad7f22d68c721c8362822215819cf6162">ripple::test::GRPCTestClientBase::stub_</a></div><div class="ttdeci">std::unique_ptr&lt; org::xrpl::rpc::v1::XRPLedgerAPIService::Stub &gt; stub_</div><div class="ttdef"><b>Definition</b> <a href="GRPCTestClientBase_8h_source.html#l00047">GRPCTestClientBase.h:47</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1GRPCTestClientBase_html_aee052bae4886450a25a7a934ce6672f1"><div class="ttname"><a href="structripple_1_1test_1_1GRPCTestClientBase.html#aee052bae4886450a25a7a934ce6672f1">ripple::test::GRPCTestClientBase::context</a></div><div class="ttdeci">grpc::ClientContext context</div><div class="ttdef"><b>Definition</b> <a href="GRPCTestClientBase_8h_source.html#l00046">GRPCTestClientBase.h:46</a></div></div>
<div class="ttc" id="astructripple_1_1test_1_1GRPCTestClientBase_html_afed8c60c51a9ac107cb75415c4f8b15b"><div class="ttname"><a href="structripple_1_1test_1_1GRPCTestClientBase.html#afed8c60c51a9ac107cb75415c4f8b15b">ripple::test::GRPCTestClientBase::GRPCTestClientBase</a></div><div class="ttdeci">GRPCTestClientBase(std::string const &amp;port)</div><div class="ttdef"><b>Definition</b> <a href="GRPCTestClientBase_8h_source.html#l00034">GRPCTestClientBase.h:34</a></div></div>
<div class="ttc" id="aunique_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>