|
rippled
|


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 | |
| RPCSubImp (InfoSub::Source &source, boost::asio::io_context &io_context, JobQueue &jobQueue, std::string const &strUrl, std::string const &strUsername, std::string const &strPassword, Logs &logs) | |
| ~RPCSubImp ()=default | |
| void | send (Json::Value const &jvObj, bool broadcast) override |
| void | setUsername (std::string const &strUsername) override |
| void | setPassword (std::string const &strPassword) override |
| Consumer & | getConsumer () |
| 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 Attributes | |
| std::mutex | mLock |
Private Member Functions | |
| void | sendThread () |
Static Private Member Functions | |
| static int | assign_id () |
| static auto & | getCounter () noexcept |
Private Attributes | |
| boost::asio::io_context & | m_io_context |
| JobQueue & | m_jobQueue |
| std::string | mUrl |
| std::string | mIp |
| std::uint16_t | mPort |
| bool | mSSL |
| std::string | mUsername |
| std::string | mPassword |
| std::string | mPath |
| int | mSeq |
| bool | mSending |
| std::deque< std::pair< int, Json::Value > > | mDeque |
| beast::Journal const | j_ |
| Logs & | logs_ |
| Consumer | m_consumer |
| Source & | m_source |
| hash_set< AccountID > | realTimeSubscriptions_ |
| hash_set< AccountID > | normalSubscriptions_ |
| std::shared_ptr< InfoSubRequest > | request_ |
| hash_set< AccountID > | accountHistorySubscriptions_ |
| unsigned int | apiVersion_ = 0 |
Definition at line 33 of file RPCSub.cpp.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
| ripple::RPCSubImp::RPCSubImp | ( | InfoSub::Source & | source, |
| boost::asio::io_context & | io_context, | ||
| JobQueue & | jobQueue, | ||
| std::string const & | strUrl, | ||
| std::string const & | strUsername, | ||
| std::string const & | strPassword, | ||
| Logs & | logs | ||
| ) |
Definition at line 36 of file RPCSub.cpp.
|
default |
|
overridevirtual |
Implements ripple::InfoSub.
Definition at line 79 of file RPCSub.cpp.
|
overridevirtual |
Implements ripple::RPCSub.
Definition at line 101 of file RPCSub.cpp.
|
overridevirtual |
Implements ripple::RPCSub.
Definition at line 109 of file RPCSub.cpp.
|
private |
Definition at line 120 of file RPCSub.cpp.
|
inherited |
Definition at line 68 of file InfoSub.cpp.
|
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.
|
private |
Definition at line 180 of file RPCSub.cpp.
|
private |
Definition at line 181 of file RPCSub.cpp.
|
private |
Definition at line 183 of file RPCSub.cpp.
|
private |
Definition at line 184 of file RPCSub.cpp.
|
private |
Definition at line 185 of file RPCSub.cpp.
|
private |
Definition at line 186 of file RPCSub.cpp.
|
private |
Definition at line 187 of file RPCSub.cpp.
|
private |
Definition at line 188 of file RPCSub.cpp.
|
private |
Definition at line 189 of file RPCSub.cpp.
|
private |
Definition at line 191 of file RPCSub.cpp.
|
private |
Definition at line 193 of file RPCSub.cpp.
|
private |
Definition at line 195 of file RPCSub.cpp.
|
private |
Definition at line 197 of file RPCSub.cpp.
|
private |
Definition at line 198 of file RPCSub.cpp.
|
protectedinherited |
|
privateinherited |