|
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 (ClockType::time_point const now, beast::PropertyStream::Set &items, EntryIntrusiveList &list) |
Private Types | |
| using | ClockType = boost::base_from_member<TestStopwatch> |
| using | Imports = HashMap<std::string, Import> |
| using | Table = HashMap<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 96 of file resource/detail/Logic.h.
|
inherited |
Definition at line 126 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 159 of file resource/detail/Logic.h.
|
inherited |
Definition at line 187 of file resource/detail/Logic.h.
|
inherited |
Returns a json::ValueType::Object.
Definition at line 196 of file resource/detail/Logic.h.
|
inherited |
Definition at line 241 of file resource/detail/Logic.h.
|
inherited |
Definition at line 267 of file resource/detail/Logic.h.
|
inherited |
Definition at line 326 of file resource/detail/Logic.h.
|
staticinherited |
Definition at line 371 of file resource/detail/Logic.h.
|
inherited |
Definition at line 383 of file resource/detail/Logic.h.
|
inherited |
Definition at line 393 of file resource/detail/Logic.h.
|
inherited |
Definition at line 400 of file resource/detail/Logic.h.
|
inherited |
Definition at line 432 of file resource/detail/Logic.h.
|
inherited |
Definition at line 461 of file resource/detail/Logic.h.
|
inherited |
Definition at line 484 of file resource/detail/Logic.h.
|
inherited |
Definition at line 509 of file resource/detail/Logic.h.
|
staticinherited |
Definition at line 518 of file resource/detail/Logic.h.
|
inherited |
Definition at line 536 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.