|
rippled
|
Manages a client's subscription to data feeds. More...


Classes | |
| class | Source |
| Abstracts the source of subscription data. 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 | |
| InfoSub (Source &source) | |
| InfoSub (Source &source, Consumer consumer) | |
| virtual | ~InfoSub () |
| 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 Attributes | |
| std::mutex | mLock |
Static Private Member Functions | |
| static int | assign_id () |
| static auto & | getCounter () noexcept |
| using ripple::InfoSub::wptr = std::weak_ptr<InfoSub> |
| using ripple::InfoSub::ref = const std::shared_ptr<InfoSub>& |
| ripple::InfoSub::InfoSub | ( | Source & | source | ) |
Definition at line 36 of file InfoSub.cpp.
Definition at line 40 of file InfoSub.cpp.
|
virtual |
Definition at line 45 of file InfoSub.cpp.
| Resource::Consumer & ripple::InfoSub::getConsumer | ( | ) |
Definition at line 69 of file InfoSub.cpp.
|
pure virtual |
Implemented in ripple::RPCSubImp, and ripple::WSInfoSub.
| std::uint64_t ripple::InfoSub::getSeq | ( | ) |
Definition at line 75 of file InfoSub.cpp.
| void ripple::InfoSub::onSendEmpty | ( | ) |
Definition at line 81 of file InfoSub.cpp.
| void ripple::InfoSub::insertSubAccountInfo | ( | AccountID const & | account, |
| bool | rt | ||
| ) |
Definition at line 86 of file InfoSub.cpp.
| void ripple::InfoSub::deleteSubAccountInfo | ( | AccountID const & | account, |
| bool | rt | ||
| ) |
Definition at line 97 of file InfoSub.cpp.
| bool ripple::InfoSub::insertSubAccountHistory | ( | AccountID const & | account | ) |
Definition at line 108 of file InfoSub.cpp.
| void ripple::InfoSub::deleteSubAccountHistory | ( | AccountID const & | account | ) |
Definition at line 115 of file InfoSub.cpp.
| void ripple::InfoSub::clearRequest | ( | ) |
Definition at line 122 of file InfoSub.cpp.
| void ripple::InfoSub::setRequest | ( | const std::shared_ptr< InfoSubRequest > & | req | ) |
Definition at line 128 of file InfoSub.cpp.
| const std::shared_ptr< InfoSubRequest > & ripple::InfoSub::getRequest | ( | ) |
Definition at line 134 of file InfoSub.cpp.
|
staticprivatenoexceptinherited |
Definition at line 128 of file CountedObject.h.
|
protected |
|
private |
|
private |
1.8.17