rippled
|
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. More... | |
Json::Value | getJson () |
Json::Value | getJson (int threshold) |
Returns a Json::objectValue. More... | |
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) |
bool | warn (Entry &entry) |
bool | disconnect (Entry &entry) |
int | balance (Entry &entry) |
void | writeList (clock_type::time_point const now, beast::PropertyStream::Set &items, EntryIntrusiveList &list) |
void | onWrite (beast::PropertyStream::Map &map) |
Static Public Member Functions | |
static Disposition | disposition (int balance) |
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::key_equal > |
using | EntryIntrusiveList = beast::List< Entry > |
Definition at line 37 of file Logic_test.cpp.
|
private |
Definition at line 42 of file Logic_test.cpp.
|
privateinherited |
Definition at line 44 of file resource/impl/Logic.h.
|
privateinherited |
Definition at line 45 of file resource/impl/Logic.h.
|
privateinherited |
Definition at line 46 of file resource/impl/Logic.h.
|
explicit |
Definition at line 45 of file Logic_test.cpp.
void ripple::Resource::ResourceManager_test::TestLogic::advance | ( | ) |
Definition at line 51 of file Logic_test.cpp.
TestStopwatch& ripple::Resource::ResourceManager_test::TestLogic::clock | ( | ) |
Definition at line 57 of file Logic_test.cpp.
|
inherited |
Definition at line 110 of file resource/impl/Logic.h.
|
inherited |
Definition at line 140 of file resource/impl/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 173 of file resource/impl/Logic.h.
|
inherited |
Definition at line 201 of file resource/impl/Logic.h.
|
inherited |
Returns a Json::objectValue.
Definition at line 208 of file resource/impl/Logic.h.
|
inherited |
Definition at line 256 of file resource/impl/Logic.h.
|
inherited |
Definition at line 282 of file resource/impl/Logic.h.
|
inherited |
Definition at line 342 of file resource/impl/Logic.h.
|
staticinherited |
Definition at line 388 of file resource/impl/Logic.h.
|
inherited |
Definition at line 400 of file resource/impl/Logic.h.
|
inherited |
Definition at line 410 of file resource/impl/Logic.h.
|
inherited |
Definition at line 417 of file resource/impl/Logic.h.
|
inherited |
Definition at line 445 of file resource/impl/Logic.h.
|
inherited |
Definition at line 455 of file resource/impl/Logic.h.
|
inherited |
Definition at line 479 of file resource/impl/Logic.h.
|
inherited |
Definition at line 505 of file resource/impl/Logic.h.
|
inherited |
Definition at line 514 of file resource/impl/Logic.h.
|
inherited |
Definition at line 532 of file resource/impl/Logic.h.
|
privateinherited |
Definition at line 60 of file resource/impl/Logic.h.
|
privateinherited |
Definition at line 61 of file resource/impl/Logic.h.
|
privateinherited |
Definition at line 62 of file resource/impl/Logic.h.
|
privateinherited |
Definition at line 64 of file resource/impl/Logic.h.
|
privateinherited |
Definition at line 67 of file resource/impl/Logic.h.
|
privateinherited |
Definition at line 74 of file resource/impl/Logic.h.
|
privateinherited |
Definition at line 77 of file resource/impl/Logic.h.
|
privateinherited |
Definition at line 80 of file resource/impl/Logic.h.
|
privateinherited |
Definition at line 83 of file resource/impl/Logic.h.
|
privateinherited |
Definition at line 86 of file resource/impl/Logic.h.