20 #include <ripple/net/InfoSub.h>
41 : m_consumer(consumer), m_source(source), mSeq(assign_id())
std::shared_ptr< InfoSubRequest > const & getRequest()
hash_set< AccountID > realTimeSubscriptions_
virtual bool unsubTransactions(std::uint64_t uListener)=0
virtual bool unsubConsensus(std::uint64_t uListener)=0
void insertSubAccountInfo(AccountID const &account, bool rt)
hash_set< AccountID > normalSubscriptions_
virtual void unsubAccountInternal(std::uint64_t uListener, hash_set< AccountID > const &vnaAccountIDs, bool realTime)=0
virtual bool unsubValidations(std::uint64_t uListener)=0
Integers of any length that is a multiple of 32-bits.
virtual void unsubAccountHistoryInternal(std::uint64_t uListener, AccountID const &account, bool historyOnly)=0
Abstracts the source of subscription data.
void deleteSubAccountInfo(AccountID const &account, bool rt)
virtual bool unsubRTTransactions(std::uint64_t uListener)=0
virtual bool unsubPeerStatus(std::uint64_t uListener)=0
virtual bool unsubServer(std::uint64_t uListener)=0
void setRequest(const std::shared_ptr< InfoSubRequest > &req)
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
void deleteSubAccountHistory(AccountID const &account)
bool insertSubAccountHistory(AccountID const &account)
virtual bool unsubManifests(std::uint64_t uListener)=0
An endpoint that consumes resources.
hash_set< AccountID > accountHistorySubscriptions_
std::shared_ptr< InfoSubRequest > request_
virtual bool unsubLedger(std::uint64_t uListener)=0