|
xrpld
|
#include <Entry.h>


Public Member Functions | |
| Entry ()=delete | |
| Entry (clock_type::time_point const now) | |
| std::string | toString () const |
| bool | isUnlimited () const |
| Returns true if this connection should have no resource limits applied–it is still possible for certain RPC commands to be forbidden, but that depends on Role. | |
| int | balance (clock_type::time_point const now) |
| int | add (int charge, clock_type::time_point const now) |
Public Attributes | |
| std::optional< PublicKey > | publicKey |
| Key const * | key {} |
| int | refcount |
| DecayingSample< kDecayWindowSeconds, clock_type > | localBalance |
| int | remoteBalance |
| clock_type::time_point | lastWarningTime |
| clock_type::time_point | whenExpires |
Private Types | |
| using | value_type = T |
Private Attributes | |
| friend | T |
| ListNode * | next_ = nullptr |
| ListNode * | prev_ = nullptr |
|
privateinherited |
|
delete |
|
explicit |
|
nodiscard |
|
nodiscard |
| int xrpl::Resource::Entry::balance | ( | clock_type::time_point const | now | ) |
| int xrpl::Resource::Entry::add | ( | int | charge, |
| clock_type::time_point const | now ) |
| std::optional<PublicKey> xrpl::Resource::Entry::publicKey |
| DecayingSample<kDecayWindowSeconds, clock_type> xrpl::Resource::Entry::localBalance |
| clock_type::time_point xrpl::Resource::Entry::lastWarningTime |
| clock_type::time_point xrpl::Resource::Entry::whenExpires |
|
privateinherited |
|
privateinherited |