xrpld
Loading...
Searching...
No Matches
make_Overlay.h
1#pragma once
2
3#include <xrpld/app/main/Application.h>
4#include <xrpld/overlay/Overlay.h>
5#include <xrpld/rpc/ServerHandler.h>
6
7#include <xrpl/basics/Resolver.h>
8#include <xrpl/beast/insight/Collector.h>
9#include <xrpl/beast/utility/Journal.h>
10#include <xrpl/config/BasicConfig.h>
11#include <xrpl/resource/ResourceManager.h>
12
13#include <boost/asio/io_context.hpp>
14
15#include <memory>
16
17namespace xrpl {
18
20setupOverlay(BasicConfig const& config, beast::Journal j);
21
25std::unique_ptr<Overlay>
27 Application& app,
28 Overlay::Setup const& setup,
29 ServerHandler& serverHandler,
30 resource::Manager& resourceManager,
31 Resolver& resolver,
32 boost::asio::io_context& ioContext,
33 BasicConfig const& config,
34 beast::insight::Collector::ptr const& collector);
35
36} // namespace xrpl
std::shared_ptr< Collector > ptr
Definition Collector.h:29
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)