|
rippled
|


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 | |
| RPCSubImp (InfoSub::Source &source, boost::asio::io_service &io_service, 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 (const std::shared_ptr< InfoSubRequest > &req) |
| std::shared_ptr< InfoSubRequest > const & | getRequest () |
Protected Attributes | |
| std::mutex | mLock |
Private Types | |
| enum | { eventQueueMax = 32 } |
Private Member Functions | |
| void | sendThread () |
Static Private Member Functions | |
| static int | assign_id () |
| static auto & | getCounter () noexcept |
Private Attributes | |
| boost::asio::io_service & | m_io_service |
| 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 |
| const beast::Journal | 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_ |
Definition at line 31 of file RPCSub.cpp.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
private |
| Enumerator | |
|---|---|
| eventQueueMax | |
Definition at line 185 of file RPCSub.cpp.
| ripple::RPCSubImp::RPCSubImp | ( | InfoSub::Source & | source, |
| boost::asio::io_service & | io_service, | ||
| JobQueue & | jobQueue, | ||
| std::string const & | strUrl, | ||
| std::string const & | strUsername, | ||
| std::string const & | strPassword, | ||
| Logs & | logs | ||
| ) |
Definition at line 34 of file RPCSub.cpp.
|
default |
|
overridevirtual |
Implements ripple::InfoSub.
Definition at line 77 of file RPCSub.cpp.
|
overridevirtual |
Implements ripple::RPCSub.
Definition at line 106 of file RPCSub.cpp.
|
overridevirtual |
Implements ripple::RPCSub.
Definition at line 114 of file RPCSub.cpp.
|
private |
Definition at line 125 of file RPCSub.cpp.
|
inherited |
Definition at line 69 of file InfoSub.cpp.
|
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.
|
private |
Definition at line 187 of file RPCSub.cpp.
|
private |
Definition at line 188 of file RPCSub.cpp.
|
private |
Definition at line 190 of file RPCSub.cpp.
|
private |
Definition at line 191 of file RPCSub.cpp.
|
private |
Definition at line 192 of file RPCSub.cpp.
|
private |
Definition at line 193 of file RPCSub.cpp.
|
private |
Definition at line 194 of file RPCSub.cpp.
|
private |
Definition at line 195 of file RPCSub.cpp.
|
private |
Definition at line 196 of file RPCSub.cpp.
|
private |
Definition at line 198 of file RPCSub.cpp.
|
private |
Definition at line 200 of file RPCSub.cpp.
|
private |
Definition at line 202 of file RPCSub.cpp.
|
private |
Definition at line 204 of file RPCSub.cpp.
|
private |
Definition at line 205 of file RPCSub.cpp.
|
protectedinherited |
|
privateinherited |
1.8.17