|
xrpld
|


Public Member Functions | |
| TestLogic (beast::Journal journal) | |
| void | advance () |
| TestStopwatch & | clock () |
| Consumer | newInboundEndpoint (beast::IP::Endpoint const &address) |
| Consumer | newOutboundEndpoint (beast::IP::Endpoint const &address) |
| Consumer | newUnlimitedEndpoint (beast::IP::Endpoint const &address) |
| Create endpoint that should not have resource limits applied. | |
| json::Value | getJson () |
| json::Value | getJson (int threshold) |
| Returns a json::ValueType::Object. | |
| Gossip | exportConsumers () |
| void | importConsumers (std::string const &origin, Gossip const &gossip) |
| void | periodicActivity () |
| void | erase (Table::iterator iter) |
| void | acquire (Entry &entry) |
| void | release (Entry &entry) |
| Disposition | charge (Entry &entry, Charge const &fee, std::string context={}) |
| bool | warn (Entry &entry) |
| bool | disconnect (Entry &entry) |
| int | balance (Entry &entry) |
| void | onWrite (beast::PropertyStream::Map &map) |
Static Public Member Functions | |
| static Disposition | disposition (int balance) |
| static void | writeList (clock_type::time_point const now, beast::PropertyStream::Set &items, EntryIntrusiveList &list) |
Private Types | |
| using | clock_type = boost::base_from_member<TestStopwatch> |
| using | Imports = hash_map<std::string, Import> |
| using | Table = hash_map<Key, Entry, Key::Hasher, Key::KeyEqual> |
| using | EntryIntrusiveList = beast::List<Entry> |
Definition at line 29 of file Logic_test.cpp.
|
private |
Definition at line 33 of file Logic_test.cpp.
|
privateinherited |
Definition at line 24 of file include/xrpl/resource/detail/Logic.h.
|
privateinherited |
Definition at line 25 of file include/xrpl/resource/detail/Logic.h.
|
privateinherited |
Definition at line 26 of file include/xrpl/resource/detail/Logic.h.
|
explicit |
Definition at line 36 of file Logic_test.cpp.
| void xrpl::Resource::ResourceManager_test::TestLogic::advance | ( | ) |
Definition at line 42 of file Logic_test.cpp.
| TestStopwatch & xrpl::Resource::ResourceManager_test::TestLogic::clock | ( | ) |
Definition at line 48 of file Logic_test.cpp.
|
inherited |
Definition at line 90 of file include/xrpl/resource/detail/Logic.h.
|
inherited |
Definition at line 120 of file include/xrpl/resource/detail/Logic.h.
|
inherited |
Create endpoint that should not have resource limits applied.
Other restrictions, such as permission to perform certain RPC calls, may be enabled.
Definition at line 153 of file include/xrpl/resource/detail/Logic.h.
|
inherited |
Definition at line 181 of file include/xrpl/resource/detail/Logic.h.
|
inherited |
Returns a json::ValueType::Object.
Definition at line 188 of file include/xrpl/resource/detail/Logic.h.
|
inherited |
Definition at line 233 of file include/xrpl/resource/detail/Logic.h.
|
inherited |
Definition at line 259 of file include/xrpl/resource/detail/Logic.h.
|
inherited |
Definition at line 318 of file include/xrpl/resource/detail/Logic.h.
|
staticinherited |
Definition at line 364 of file include/xrpl/resource/detail/Logic.h.
|
inherited |
Definition at line 376 of file include/xrpl/resource/detail/Logic.h.
|
inherited |
Definition at line 386 of file include/xrpl/resource/detail/Logic.h.
|
inherited |
Definition at line 393 of file include/xrpl/resource/detail/Logic.h.
|
inherited |
Definition at line 425 of file include/xrpl/resource/detail/Logic.h.
|
inherited |
Definition at line 454 of file include/xrpl/resource/detail/Logic.h.
|
inherited |
Definition at line 477 of file include/xrpl/resource/detail/Logic.h.
|
inherited |
Definition at line 502 of file include/xrpl/resource/detail/Logic.h.
|
staticinherited |
Definition at line 511 of file include/xrpl/resource/detail/Logic.h.
|
inherited |
Definition at line 529 of file include/xrpl/resource/detail/Logic.h.
|
privateinherited |
Definition at line 40 of file include/xrpl/resource/detail/Logic.h.
|
privateinherited |
Definition at line 41 of file include/xrpl/resource/detail/Logic.h.
|
privateinherited |
Definition at line 42 of file include/xrpl/resource/detail/Logic.h.
|
privateinherited |
Definition at line 44 of file include/xrpl/resource/detail/Logic.h.
|
privateinherited |
Definition at line 47 of file include/xrpl/resource/detail/Logic.h.
|
privateinherited |
Definition at line 54 of file include/xrpl/resource/detail/Logic.h.
|
privateinherited |
Definition at line 57 of file include/xrpl/resource/detail/Logic.h.
|
privateinherited |
Definition at line 60 of file include/xrpl/resource/detail/Logic.h.
|
privateinherited |
Definition at line 63 of file include/xrpl/resource/detail/Logic.h.
|
privateinherited |
Definition at line 66 of file include/xrpl/resource/detail/Logic.h.