xrpld
Loading...
Searching...
No Matches
make_Overlay.h
1#pragma once
2
3#include <xrpld/overlay/Overlay.h>
4#include <xrpld/rpc/ServerHandler.h>
5
6#include <xrpl/basics/Resolver.h>
7
8#include <boost/asio/io_context.hpp>
9
10namespace xrpl {
11
13setupOverlay(BasicConfig const& config, beast::Journal j);
14
16std::unique_ptr<Overlay>
18 Application& app,
19 Overlay::Setup const& setup,
20 ServerHandler& serverHandler,
21 Resource::Manager& resourceManager,
22 Resolver& resolver,
23 boost::asio::io_context& ioContext,
24 BasicConfig const& config,
25 beast::insight::Collector::ptr const& collector);
26
27} // namespace xrpl
std::shared_ptr< Collector > ptr
Definition Collector.h:26
Holds unparsed configuration information.
Tracks load and resource consumption.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:5
std::unique_ptr< Overlay > makeOverlay(Application &app, Overlay::Setup const &setup, ServerHandler &serverHandler, Resource::Manager &resourceManager, Resolver &resolver, boost::asio::io_context &ioContext, BasicConfig const &config, beast::insight::Collector::ptr const &collector)
Creates the implementation of Overlay.
Overlay::Setup setupOverlay(BasicConfig const &config, beast::Journal j)