rippled
Loading...
Searching...
No Matches
xrpld
app
misc
detail
Work.h
1
#ifndef XRPL_APP_MISC_DETAIL_WORK_H_INCLUDED
2
#define XRPL_APP_MISC_DETAIL_WORK_H_INCLUDED
3
4
#include <boost/beast/http/message.hpp>
5
#include <boost/beast/http/string_body.hpp>
6
7
namespace
ripple
{
8
9
namespace
detail {
10
11
using
response_type
=
12
boost::beast::http::response<boost::beast::http::string_body>;
13
14
class
Work
15
{
16
public
:
17
virtual
~Work
() =
default
;
18
19
virtual
void
20
run
() = 0;
21
22
virtual
void
23
cancel
() = 0;
24
};
25
26
}
// namespace detail
27
28
}
// namespace ripple
29
30
#endif
ripple::detail::Work
Definition
Work.h:15
ripple::detail::Work::cancel
virtual void cancel()=0
ripple::detail::Work::~Work
virtual ~Work()=default
ripple::detail::Work::run
virtual void run()=0
ripple::detail::response_type
boost::beast::http::response< boost::beast::http::string_body > response_type
Definition
Work.h:12
ripple
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition
algorithm.h:6
Generated by
1.9.8