#include <net_api_plugin.hpp>
Definition at line 12 of file net_api_plugin.hpp.
◆ net_api_plugin() [1/2]
◆ net_api_plugin() [2/2]
◆ ~net_api_plugin()
virtual sysio::net_api_plugin::~net_api_plugin |
( |
| ) |
|
|
overridevirtualdefault |
◆ APPBASE_PLUGIN_REQUIRES()
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ plugin_initialize()
void sysio::net_api_plugin::plugin_initialize |
( |
const variables_map & | vm | ) |
|
Definition at line 74 of file net_api_plugin.cpp.
74 {
75 try {
77 if( !_http_plugin.is_on_loopback()) {
79 "**********SECURITY WARNING**********\n"
80 "* *\n"
81 "* -- Net API -- *\n"
82 "* - EXPOSED to the LOCAL NETWORK - *\n"
83 "* - USE ONLY ON SECURE NETWORKS! - *\n"
84 "* *\n"
85 "************************************\n" );
86 }
88}
abstract_plugin & get_plugin(const string &name) const
#define FC_LOG_AND_RETHROW()
◆ plugin_shutdown()
void sysio::net_api_plugin::plugin_shutdown |
( |
| ) |
|
|
inline |
◆ plugin_startup()
void sysio::net_api_plugin::plugin_startup |
( |
| ) |
|
Definition at line 52 of file net_api_plugin.cpp.
52 {
53 ilog(
"starting net_api_plugin");
54
57
58
59
60
62 INVOKE_R_R(net_mgr, connect, std::string), 201),
64 INVOKE_R_R(net_mgr, disconnect, std::string), 201),
66 INVOKE_R_R(net_mgr, status, std::string), 201),
69
70
72}
#define CALL_WITH_400(api_name, api_handle, api_namespace, call_name, http_response_code, params_type)
#define INVOKE_R_V(api_handle, call_name)
#define INVOKE_R_R(api_handle, call_name, in_param)
static constexpr int medium_high
◆ set_program_options()
virtual void sysio::net_api_plugin::set_program_options |
( |
options_description & | cli, |
|
|
options_description & | cfg ) |
|
inlineoverridevirtual |
The documentation for this class was generated from the following files: