3#include <xrpl/core/JobQueue.h>
4#include <xrpl/core/ServiceRegistry.h>
5#include <xrpl/server/InfoSub.h>
7#include <boost/asio/io_context.hpp>
28 boost::asio::io_context& ioContext,
Abstracts the source of subscription data.
A pool of threads to perform work.
RPCSub(InfoSub::Source &source)
virtual void setUsername(std::string const &strUsername)=0
virtual void setPassword(std::string const &strPassword)=0
Service registry for dependency injection.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
std::shared_ptr< RPCSub > makeRPCSub(InfoSub::Source &source, boost::asio::io_context &ioContext, JobQueue &jobQueue, std::string const &strUrl, std::string const &strUsername, std::string const &strPassword, ServiceRegistry ®istry)