Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
sysio::trace_api_rpc_plugin Class Reference

#include <trace_api_plugin.hpp>

Inheritance diagram for sysio::trace_api_rpc_plugin:
Collaboration diagram for sysio::trace_api_rpc_plugin:

Public Member Functions

 trace_api_rpc_plugin ()
 
virtual ~trace_api_rpc_plugin ()
 
virtual void set_program_options (appbase::options_description &cli, appbase::options_description &cfg) override
 
void plugin_initialize (const appbase::variables_map &options)
 
void plugin_startup ()
 
void plugin_shutdown ()
 
void handle_sighup () override
 
- Public Member Functions inherited from appbase::plugin< trace_api_rpc_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< trace_api_rpc_plugin >
 plugin (const string &name)
 

Detailed Description

Plugin that only runs the RPC

Definition at line 33 of file trace_api_plugin.hpp.

Constructor & Destructor Documentation

◆ trace_api_rpc_plugin()

sysio::trace_api_rpc_plugin::trace_api_rpc_plugin ( )

Definition at line 465 of file trace_api_plugin.cpp.

466{}

◆ ~trace_api_rpc_plugin()

sysio::trace_api_rpc_plugin::~trace_api_rpc_plugin ( )
virtual

Definition at line 468 of file trace_api_plugin.cpp.

469{}

Member Function Documentation

◆ handle_sighup()

void sysio::trace_api_rpc_plugin::handle_sighup ( )
overridevirtual

Reimplemented from appbase::plugin< trace_api_rpc_plugin >.

Definition at line 492 of file trace_api_plugin.cpp.

492 {
494}
static void update(const fc::string &name, logger &log)
Definition logger.cpp:92
const fc::string logger_name("net_plugin_impl")
fc::logger _log
Here is the call graph for this function:

◆ plugin_initialize()

void sysio::trace_api_rpc_plugin::plugin_initialize ( const appbase::variables_map & options)

Definition at line 476 of file trace_api_plugin.cpp.

476 {
477 auto common = std::make_shared<trace_api_common_impl>();
478 common->plugin_initialize(options);
479
480 rpc = std::make_shared<trace_api_rpc_plugin_impl>(common);
481 rpc->plugin_initialize(options);
482}

◆ plugin_shutdown()

void sysio::trace_api_rpc_plugin::plugin_shutdown ( )

Definition at line 488 of file trace_api_plugin.cpp.

488 {
489 rpc->plugin_shutdown();
490}

◆ plugin_startup()

void sysio::trace_api_rpc_plugin::plugin_startup ( )

Definition at line 484 of file trace_api_plugin.cpp.

484 {
485 rpc->plugin_startup();
486}

◆ set_program_options()

void sysio::trace_api_rpc_plugin::set_program_options ( appbase::options_description & cli,
appbase::options_description & cfg )
overridevirtual

Implements appbase::abstract_plugin.

Definition at line 471 of file trace_api_plugin.cpp.

471 {
474}
static void set_program_options(appbase::options_description &cli, appbase::options_description &cfg)
static void set_program_options(appbase::options_description &cli, appbase::options_description &cfg)
void cli()
Here is the call graph for this function:

The documentation for this class was generated from the following files: