rippled
|
Subscription object for JSON RPC. More...
Public Types | |
using | pointer = std::shared_ptr< InfoSub > |
using | wptr = std::weak_ptr< InfoSub > |
using | ref = const std::shared_ptr< InfoSub > & |
using | Consumer = Resource::Consumer |
Public Member Functions | |
virtual void | setUsername (std::string const &strUsername)=0 |
virtual void | setPassword (std::string const &strPassword)=0 |
Consumer & | getConsumer () |
virtual void | send (Json::Value const &jvObj, bool broadcast)=0 |
std::uint64_t | getSeq () |
void | onSendEmpty () |
void | insertSubAccountInfo (AccountID const &account, bool rt) |
void | deleteSubAccountInfo (AccountID const &account, bool rt) |
bool | insertSubAccountHistory (AccountID const &account) |
void | deleteSubAccountHistory (AccountID const &account) |
void | clearRequest () |
void | setRequest (const std::shared_ptr< InfoSubRequest > &req) |
std::shared_ptr< InfoSubRequest > const & | getRequest () |
Protected Member Functions | |
RPCSub (InfoSub::Source &source) | |
Protected Attributes | |
std::mutex | mLock |
Static Private Member Functions | |
static int | assign_id () |
static auto & | getCounter () noexcept |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
explicitprotected |
Definition at line 210 of file RPCSub.cpp.
|
pure virtual |
Implemented in ripple::RPCSubImp.
|
pure virtual |
Implemented in ripple::RPCSubImp.
|
inherited |
Definition at line 69 of file InfoSub.cpp.
|
pure virtualinherited |
Implemented in ripple::RPCSubImp, and ripple::WSInfoSub.
|
inherited |
Definition at line 75 of file InfoSub.cpp.
|
inherited |
Definition at line 81 of file InfoSub.cpp.
|
inherited |
Definition at line 86 of file InfoSub.cpp.
|
inherited |
Definition at line 97 of file InfoSub.cpp.
|
inherited |
Definition at line 108 of file InfoSub.cpp.
|
inherited |
Definition at line 115 of file InfoSub.cpp.
|
inherited |
Definition at line 122 of file InfoSub.cpp.
|
inherited |
Definition at line 128 of file InfoSub.cpp.
|
inherited |
Definition at line 134 of file InfoSub.cpp.
|
staticprivateinherited |
|
staticprivatenoexceptinherited |
Definition at line 128 of file CountedObject.h.
|
protectedinherited |
|
privateinherited |
|
privateinherited |