Interface of subscription manager. A subscription manager is responsible for managing the subscriptions and publishing the feeds.
More...
|
virtual void | stop ()=0 |
| Stop the SubscriptionManager and wait for all jobs to finish.
|
|
virtual void | subBookChanges (SubscriberSharedPtr const &subscriber)=0 |
| Subscribe to the book changes feed.
|
|
virtual void | unsubBookChanges (SubscriberSharedPtr const &subscriber)=0 |
| Unsubscribe to the book changes feed.
|
|
virtual void | pubBookChanges (ripple::LedgerHeader const &lgrInfo, std::vector< data::TransactionAndMetadata > const &transactions)=0 |
| Publish the book changes feed.
|
|
virtual void | subProposedTransactions (SubscriberSharedPtr const &subscriber)=0 |
| Subscribe to the proposed transactions feed.
|
|
virtual void | unsubProposedTransactions (SubscriberSharedPtr const &subscriber)=0 |
| Unsubscribe to the proposed transactions feed.
|
|
virtual void | subProposedAccount (ripple::AccountID const &account, SubscriberSharedPtr const &subscriber)=0 |
| Subscribe to the proposed transactions feed, only receive the feed when particular account is affected.
|
|
virtual void | unsubProposedAccount (ripple::AccountID const &account, SubscriberSharedPtr const &subscriber)=0 |
| Unsubscribe to the proposed transactions feed for particular account.
|
|
virtual void | forwardProposedTransaction (boost::json::object const &receivedTxJson)=0 |
| Forward the proposed transactions feed.
|
|
virtual boost::json::object | subLedger (boost::asio::yield_context yield, SubscriberSharedPtr const &subscriber)=0 |
| Subscribe to the ledger feed.
|
|
virtual void | unsubLedger (SubscriberSharedPtr const &subscriber)=0 |
| Unsubscribe to the ledger feed.
|
|
virtual void | pubLedger (ripple::LedgerHeader const &lgrInfo, ripple::Fees const &fees, std::string const &ledgerRange, std::uint32_t txnCount)=0 |
| Publish the ledger feed.
|
|
virtual void | subManifest (SubscriberSharedPtr const &subscriber)=0 |
| Subscribe to the manifest feed.
|
|
virtual void | unsubManifest (SubscriberSharedPtr const &subscriber)=0 |
| Unsubscribe to the manifest feed.
|
|
virtual void | forwardManifest (boost::json::object const &manifestJson)=0 |
| Forward the manifest feed.
|
|
virtual void | subValidation (SubscriberSharedPtr const &subscriber)=0 |
| Subscribe to the validation feed.
|
|
virtual void | unsubValidation (SubscriberSharedPtr const &subscriber)=0 |
| Unsubscribe to the validation feed.
|
|
virtual void | forwardValidation (boost::json::object const &validationJson)=0 |
| Forward the validation feed.
|
|
virtual void | subTransactions (SubscriberSharedPtr const &subscriber)=0 |
| Subscribe to the transactions feed.
|
|
virtual void | unsubTransactions (SubscriberSharedPtr const &subscriber)=0 |
| Unsubscribe to the transactions feed.
|
|
virtual void | subAccount (ripple::AccountID const &account, SubscriberSharedPtr const &subscriber)=0 |
| Subscribe to the transactions feed, only receive the feed when particular account is affected.
|
|
virtual void | unsubAccount (ripple::AccountID const &account, SubscriberSharedPtr const &subscriber)=0 |
| Unsubscribe to the transactions feed for particular account.
|
|
virtual void | subBook (ripple::Book const &book, SubscriberSharedPtr const &subscriber)=0 |
| Subscribe to the transactions feed, only receive feed when particular order book is affected.
|
|
virtual void | unsubBook (ripple::Book const &book, SubscriberSharedPtr const &subscriber)=0 |
| Unsubscribe to the transactions feed for particular order book.
|
|
virtual void | pubTransaction (data::TransactionAndMetadata const &txMeta, ripple::LedgerHeader const &lgrInfo)=0 |
| Forward the transactions feed.
|
|
virtual boost::json::object | report () const =0 |
| Get the number of subscribers.
|
|
Interface of subscription manager. A subscription manager is responsible for managing the subscriptions and publishing the feeds.