20 #include <ripple/app/ledger/OrderBookDB.h>
21 #include <ripple/app/misc/NetworkOPs.h>
22 #include <ripple/json/to_string.h>
55 if (havePublished.
emplace(p->getSeq()).second)
std::recursive_mutex mLock
void removeSubscriber(std::uint64_t sub)
Stop publishing to a subscriber.
constexpr auto apiVersionSelector(unsigned int apiVersion) noexcept
void publish(MultiApiJson const &jvObj, hash_set< std::uint64_t > &havePublished)
Publish a transaction to subscribers.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
void addSubscriber(InfoSub::ref sub)
Add a new subscription for this book.
hash_map< std::uint64_t, InfoSub::wptr > mListeners