rippled
Loading...
Searching...
No Matches
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
7namespace ripple {
8
9namespace detail {
10
12 boost::beast::http::response<boost::beast::http::string_body>;
13
14class Work
15{
16public:
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
virtual void cancel()=0
virtual ~Work()=default
virtual void run()=0
boost::beast::http::response< boost::beast::http::string_body > response_type
Definition Work.h:12
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:6