|
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> |
|
private |
|
privateinherited |
Definition at line 33 of file resource/detail/Logic.h.
|
privateinherited |
Definition at line 34 of file resource/detail/Logic.h.
|
privateinherited |
Definition at line 35 of file resource/detail/Logic.h.
|
explicit |
| void xrpl::resource::ResourceManagerTest::TestLogic::advance | ( | ) |
| TestStopwatch & xrpl::resource::ResourceManagerTest::TestLogic::clock | ( | ) |
|
inherited |
Definition at line 99 of file resource/detail/Logic.h.
|
inherited |
Definition at line 129 of file 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 162 of file resource/detail/Logic.h.
|
inherited |
Definition at line 190 of file resource/detail/Logic.h.
|
inherited |
Returns a json::ValueType::Object.
Definition at line 199 of file resource/detail/Logic.h.
|
inherited |
Definition at line 244 of file resource/detail/Logic.h.
|
inherited |
Definition at line 270 of file resource/detail/Logic.h.
|
inherited |
Definition at line 329 of file resource/detail/Logic.h.
|
staticinherited |
Definition at line 374 of file resource/detail/Logic.h.
|
inherited |
Definition at line 386 of file resource/detail/Logic.h.
|
inherited |
Definition at line 396 of file resource/detail/Logic.h.
|
inherited |
Definition at line 403 of file resource/detail/Logic.h.
|
inherited |
Definition at line 435 of file resource/detail/Logic.h.
|
inherited |
Definition at line 464 of file resource/detail/Logic.h.
|
inherited |
Definition at line 487 of file resource/detail/Logic.h.
|
inherited |
Definition at line 512 of file resource/detail/Logic.h.
|
staticinherited |
Definition at line 521 of file resource/detail/Logic.h.
|
inherited |
Definition at line 539 of file resource/detail/Logic.h.
|
privateinherited |
Definition at line 49 of file resource/detail/Logic.h.
|
privateinherited |
Definition at line 50 of file resource/detail/Logic.h.
|
privateinherited |
Definition at line 51 of file resource/detail/Logic.h.
|
privateinherited |
Definition at line 53 of file resource/detail/Logic.h.
|
privateinherited |
Definition at line 56 of file resource/detail/Logic.h.
|
privateinherited |
Definition at line 63 of file resource/detail/Logic.h.
|
privateinherited |
Definition at line 66 of file resource/detail/Logic.h.
|
privateinherited |
Definition at line 69 of file resource/detail/Logic.h.
|
privateinherited |
Definition at line 72 of file resource/detail/Logic.h.
|
privateinherited |
Definition at line 75 of file resource/detail/Logic.h.