#include <p2p.h>
|
| static void | init_options (boost::program_options::options_description &option_spec) |
| |
Definition at line 44 of file p2p.h.
◆ t_p2p()
| daemonize::t_p2p::t_p2p |
( |
boost::program_options::variables_map const & |
vm, |
|
|
t_protocol & |
protocol |
|
) |
| |
|
inline |
Definition at line 57 of file p2p.h.
61 : m_server{protocol.get()}
64 MGINFO(
"Initializing p2p server...");
65 if (!m_server.
init(vm))
67 throw std::runtime_error(
"Failed to initialize p2p server.");
69 MGINFO(
"p2p server initialized OK");
◆ ~t_p2p()
| daemonize::t_p2p::~t_p2p |
( |
| ) |
|
|
inline |
Definition at line 89 of file p2p.h.
91 MGINFO(
"Deinitializing p2p...");
95 MERROR(
"Failed to deinitialize p2p...");
◆ get()
Definition at line 72 of file p2p.h.
◆ init_options()
| static void daemonize::t_p2p::init_options |
( |
boost::program_options::options_description & |
option_spec | ) |
|
|
inlinestatic |
Definition at line 50 of file p2p.h.
◆ run()
| void daemonize::t_p2p::run |
( |
| ) |
|
|
inline |
Definition at line 77 of file p2p.h.
79 MGINFO(
"Starting p2p net loop...");
81 MGINFO(
"p2p net loop stopped");
◆ stop()
| void daemonize::t_p2p::stop |
( |
| ) |
|
|
inline |
Definition at line 84 of file p2p.h.
The documentation for this class was generated from the following file:
- /home/abuild/rpmbuild/BUILD/electroneum-5.0.0.4/src/daemon/p2p.h