Wire Sysio Wire Sysion 1.0.0
|
#include <net_plugin.hpp>
Public Member Functions | |
net_plugin () | |
virtual | ~net_plugin () |
virtual void | set_program_options (options_description &cli, options_description &cfg) override |
void | handle_sighup () override |
void | plugin_initialize (const variables_map &options) |
void | plugin_startup () |
void | plugin_shutdown () |
string | connect (const string &endpoint) |
string | disconnect (const string &endpoint) |
std::optional< connection_status > | status (const string &endpoint) const |
vector< connection_status > | connections () const |
Public Member Functions inherited from appbase::plugin< net_plugin > | |
plugin () | |
virtual | ~plugin () |
virtual state | get_state () const override |
virtual const std::string & | name () const override |
virtual void | register_dependencies () |
virtual void | initialize (const variables_map &options) override |
virtual void | startup () override |
virtual void | shutdown () override |
Public Member Functions inherited from appbase::abstract_plugin | |
virtual | ~abstract_plugin () |
Additional Inherited Members | |
Public Types inherited from appbase::abstract_plugin | |
enum | state { registered , initialized , started , stopped } |
Protected Member Functions inherited from appbase::plugin< net_plugin > | |
plugin (const string &name) | |
Definition at line 16 of file net_plugin.hpp.
net_plugin::net_plugin | ( | ) |
Definition at line 3539 of file net_plugin.cpp.
|
virtual |
Definition at line 3544 of file net_plugin.cpp.
Used to trigger a new connection from RPC API
Definition at line 3852 of file net_plugin.cpp.
vector< connection_status > net_plugin::connections | ( | ) | const |
Definition at line 3892 of file net_plugin.cpp.
Definition at line 3871 of file net_plugin.cpp.
|
overridevirtual |
Reimplemented from appbase::plugin< net_plugin >.
Definition at line 3801 of file net_plugin.cpp.
void net_plugin::plugin_initialize | ( | const variables_map & | options | ) |
Definition at line 3596 of file net_plugin.cpp.
void net_plugin::plugin_shutdown | ( | ) |
Definition at line 3805 of file net_plugin.cpp.
void net_plugin::plugin_startup | ( | ) |
Definition at line 3700 of file net_plugin.cpp.
|
overridevirtual |
Implements appbase::abstract_plugin.
Definition at line 3547 of file net_plugin.cpp.
std::optional< connection_status > net_plugin::status | ( | const string & | endpoint | ) | const |
Definition at line 3884 of file net_plugin.cpp.