|
rippled
|
Subscription object for JSON RPC. More...
#include <RPCSub.h>


Public Types | |
| using | pointer = std::shared_ptr< InfoSub > |
| using | wptr = std::weak_ptr< InfoSub > |
| using | ref = std::shared_ptr< InfoSub > const & |
| 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 (std::shared_ptr< InfoSubRequest > const &req) |
| std::shared_ptr< InfoSubRequest > const & | getRequest () |
| void | setApiVersion (unsigned int apiVersion) |
| unsigned int | getApiVersion () const noexcept |
Protected Member Functions | |
| RPCSub (InfoSub::Source &source) | |
Protected Attributes | |
| std::mutex | mLock |
Static Private Member Functions | |
| static int | assign_id () |
| static auto & | getCounter () noexcept |
Private Attributes | |
| Consumer | m_consumer |
| Source & | m_source |
| hash_set< AccountID > | realTimeSubscriptions_ |
| hash_set< AccountID > | normalSubscriptions_ |
| std::shared_ptr< InfoSubRequest > | request_ |
| std::uint64_t | mSeq |
| hash_set< AccountID > | accountHistorySubscriptions_ |
| unsigned int | apiVersion_ = 0 |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
explicitprotected |
Definition at line 203 of file RPCSub.cpp.
|
pure virtual |
Implemented in ripple::RPCSubImp.
|
pure virtual |
Implemented in ripple::RPCSubImp.
|
inherited |
Definition at line 68 of file InfoSub.cpp.
|
pure virtualinherited |
Implemented in ripple::WSInfoSub, and ripple::RPCSubImp.
|
inherited |
Definition at line 74 of file InfoSub.cpp.
|
inherited |
Definition at line 80 of file InfoSub.cpp.
|
inherited |
Definition at line 85 of file InfoSub.cpp.
|
inherited |
Definition at line 96 of file InfoSub.cpp.
|
inherited |
Definition at line 107 of file InfoSub.cpp.
|
inherited |
Definition at line 114 of file InfoSub.cpp.
|
inherited |
Definition at line 121 of file InfoSub.cpp.
|
inherited |
Definition at line 127 of file InfoSub.cpp.
|
inherited |
Definition at line 133 of file InfoSub.cpp.
|
inherited |
Definition at line 139 of file InfoSub.cpp.
|
noexceptinherited |
Definition at line 145 of file InfoSub.cpp.
|
staticprivateinherited |
|
staticprivatenoexceptinherited |
Definition at line 129 of file CountedObject.h.
|
protectedinherited |
|
privateinherited |
|
privateinherited |