|
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) |
| void | clearPathRequest () |
| void | setPathRequest (const std::shared_ptr< PathRequest > &req) |
| std::shared_ptr< PathRequest > const & | getPathRequest () |
Static Public Member Functions | |
| static char const * | getCountedObjectName () |
Protected Attributes | |
| std::mutex | mLock |
Static Private Member Functions | |
| static int | assign_id () |
| static Counter & | getCounter () noexcept |
Private Attributes | |
| Consumer | m_consumer |
| Source & | m_source |
| hash_set< AccountID > | realTimeSubscriptions_ |
| hash_set< AccountID > | normalSubscriptions_ |
| std::shared_ptr< PathRequest > | mPathRequest |
| std::uint64_t | mSeq |
| 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 45 of file InfoSub.cpp.
Definition at line 49 of file InfoSub.cpp.
|
virtual |
Definition at line 54 of file InfoSub.cpp.
|
static |
| Resource::Consumer & ripple::InfoSub::getConsumer | ( | ) |
Definition at line 75 of file InfoSub.cpp.
|
pure virtual |
Implemented in ripple::RPCSubImp, and ripple::WSInfoSub.
| std::uint64_t ripple::InfoSub::getSeq | ( | ) |
Definition at line 81 of file InfoSub.cpp.
| void ripple::InfoSub::onSendEmpty | ( | ) |
Definition at line 87 of file InfoSub.cpp.
| void ripple::InfoSub::insertSubAccountInfo | ( | AccountID const & | account, |
| bool | rt | ||
| ) |
Definition at line 92 of file InfoSub.cpp.
| void ripple::InfoSub::deleteSubAccountInfo | ( | AccountID const & | account, |
| bool | rt | ||
| ) |
Definition at line 103 of file InfoSub.cpp.
| void ripple::InfoSub::clearPathRequest | ( | ) |
Definition at line 114 of file InfoSub.cpp.
| void ripple::InfoSub::setPathRequest | ( | const std::shared_ptr< PathRequest > & | req | ) |
Definition at line 120 of file InfoSub.cpp.
| const std::shared_ptr< PathRequest > & ripple::InfoSub::getPathRequest | ( | ) |
Definition at line 126 of file InfoSub.cpp.
|
staticprivatenoexceptinherited |
Definition at line 153 of file CountedObject.h.
|
protected |
|
private |
|
private |
1.8.17