rippled
Loading...
Searching...
No Matches
Hook.h
1#pragma once
2
3#include <xrpl/beast/insight/HookImpl.h>
4
5#include <memory>
6
7namespace beast {
8namespace insight {
9
11class Hook final
12{
13public:
18 {
19 }
20
27 {
28 }
29
31 impl() const
32 {
33 return m_impl;
34 }
35
36private:
38};
39
40} // namespace insight
41} // namespace beast
A reference to a handler for performing polled collection.
Definition Hook.h:12
std::shared_ptr< HookImpl > const & impl() const
Definition Hook.h:31
Hook()
Create a null hook.
Definition Hook.h:17
Hook(std::shared_ptr< HookImpl > const &impl)
Create a hook referencing the specified implementation.
Definition Hook.h:26
std::shared_ptr< HookImpl > m_impl
Definition Hook.h:37