The xmlrpc_commander class serves as the XMLRPC server run in each artdaq application. More...
#include <artdaq/ExternalComms/xmlrpc_commander.hh>
Public Member Functions | |
xmlrpc_commander (fhicl::ParameterSet ps, artdaq::Commandable &commandable) | |
xmlrpc_commander Constructor | |
void | run_server () override |
Run the XMLRPC server. | |
std::string | send_register_monitor (std::string monitor_fhicl) override |
Send a register_monitor command over XMLRPC. | |
std::string | send_unregister_monitor (std::string monitor_label) override |
Send an unregister_monitor command over XMLRPC. | |
Public Attributes | |
std::mutex | mutex_ |
XMLRPC mutex. |
The xmlrpc_commander class serves as the XMLRPC server run in each artdaq application.
Definition at line 17 of file xmlrpc_commander.hh.
artdaq::xmlrpc_commander::xmlrpc_commander | ( | fhicl::ParameterSet | ps, | |
artdaq::Commandable & | commandable | |||
) |
xmlrpc_commander Constructor
ps | ParameterSet used for configuring xmlrpc_commander | |
commandable | artdaq::Commandable object to send transition commands to |
xmlrpc_commander accepts the following Parameters: id: For XMLRPC, the ID should be the port to listen on server_url: When sending, location of XMLRPC server *
Definition at line 783 of file xmlrpc_commander.cc.
std::string artdaq::xmlrpc_commander::send_register_monitor | ( | std::string | monitor_fhicl | ) | [override, virtual] |
Send a register_monitor command over XMLRPC.
monitor_fhicl | FHiCL string contianing monitor configuration |
Reimplemented from artdaq::CommanderInterface.
Definition at line 930 of file xmlrpc_commander.cc.
std::string artdaq::xmlrpc_commander::send_unregister_monitor | ( | std::string | monitor_label | ) | [override, virtual] |
Send an unregister_monitor command over XMLRPC.
monitor_label | Label of the monitor to unregister |
Reimplemented from artdaq::CommanderInterface.
Definition at line 959 of file xmlrpc_commander.cc.