rippled
ripple
rpc
ServerHandler.h
1
//------------------------------------------------------------------------------
2
/*
3
This file is part of rippled: https://github.com/ripple/rippled
4
Copyright (c) 2012, 2013 Ripple Labs Inc.
5
6
Permission to use, copy, modify, and/or distribute this software for any
7
purpose with or without fee is hereby granted, provided that the above
8
copyright notice and this permission notice appear in all copies.
9
10
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13
ANY SPECIAL , DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17
*/
18
//==============================================================================
19
20
#ifndef RIPPLE_RPC_SERVERHANDLER_H_INCLUDED
21
#define RIPPLE_RPC_SERVERHANDLER_H_INCLUDED
22
23
#include <ripple/basics/BasicConfig.h>
24
#include <ripple/beast/utility/Journal.h>
25
#include <ripple/core/Config.h>
26
#include <ripple/core/JobQueue.h>
27
#include <ripple/resource/ResourceManager.h>
28
#include <ripple/rpc/impl/ServerHandlerImp.h>
29
#include <ripple/server/Port.h>
30
#include <boost/asio/io_service.hpp>
31
#include <boost/asio/ip/address.hpp>
32
#include <
memory
>
33
#include <
vector
>
34
35
namespace
ripple
{
36
37
using
ServerHandler
=
ServerHandlerImp
;
38
39
ServerHandler::Setup
40
setup_ServerHandler
(
Config
const
& c,
std::ostream
&& log);
41
42
std::unique_ptr<ServerHandler>
43
make_ServerHandler
(
44
Application
& app,
45
boost::asio::io_service&,
46
JobQueue
&,
47
NetworkOPs
&,
48
Resource::Manager
&,
49
CollectorManager
& cm);
50
51
}
// namespace ripple
52
53
#endif
ripple::NetworkOPs
Provides server functionality for clients.
Definition:
NetworkOPs.h:86
ripple::Application
Definition:
Application.h:115
vector
ripple::ServerHandlerImp::Setup
Definition:
ServerHandlerImp.h:50
ripple::CollectorManager
Provides the beast::insight::Collector service.
Definition:
CollectorManager.h:29
ripple::setup_ServerHandler
ServerHandler::Setup setup_ServerHandler(Config const &config, std::ostream &&log)
Definition:
ServerHandlerImp.cpp:1235
ripple::make_ServerHandler
std::unique_ptr< ServerHandler > make_ServerHandler(Application &app, boost::asio::io_service &io_service, JobQueue &jobQueue, NetworkOPs &networkOPs, Resource::Manager &resourceManager, CollectorManager &cm)
Definition:
ServerHandlerImp.cpp:1247
ripple::Config
Definition:
Config.h:89
std::ostream
STL class.
ripple::ServerHandlerImp
Definition:
ServerHandlerImp.h:47
memory
ripple::JobQueue
A pool of threads to perform work.
Definition:
JobQueue.h:55
ripple::Resource::Manager
Tracks load and resource consumption.
Definition:
ResourceManager.h:36
ripple
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition:
RCLCensorshipDetector.h:29
std::unique_ptr
STL class.
Generated by
1.8.17