27#ifndef NIDAS_CORE_DSMSERVERINTF_H
28#define NIDAS_CORE_DSMSERVERINTF_H
33namespace nidas {
namespace core {
35using namespace XmlRpc;
88 XmlRpcServerMethod(
"GetDsmList", s),
_serverIntf(intf) {}
89 void execute(XmlRpcValue& params, XmlRpcValue& result);
90 std::string
help() {
return std::string(
"help GetDsmList"); }
111 XmlRpcServerMethod(
"GetAdsFileName", s),
_serverIntf(intf) {}
112 void execute(XmlRpcValue& params, XmlRpcValue& result);
113 std::string
help() {
return std::string(
"help GetAdsFileName"); }
A thread that provides XML-based Remote Procedure Calls to web interfaces from the DSMServer.
Definition DSMServerIntf.h:44
DSMServerIntf(const DSMServerIntf &)
No copying.
void setDSMServer(DSMServer *val)
Definition DSMServerIntf.h:48
DSMServerIntf()
Definition DSMServerIntf.h:46
DSMServer * getDSMServer()
The DSMServer is valid once the Project document has been parsed and an appropriate DSMServer is foun...
Definition DSMServerIntf.h:57
int run()
Definition DSMServerIntf.cc:94
DSMServer * _server
Definition DSMServerIntf.h:79
DSMServerIntf & operator=(const DSMServerIntf &)
No assignment.
A provider of services to a DSM.
Definition DSMServer.h:50
gets the name of the current .ads file
Definition DSMServerIntf.h:108
void execute(XmlRpcValue ¶ms, XmlRpcValue &result)
Definition DSMServerIntf.cc:69
GetAdsFileName(XmlRpcServer *s, DSMServerIntf *intf)
Definition DSMServerIntf.h:110
GetAdsFileName(const GetAdsFileName &)
No copying.
GetAdsFileName & operator=(const GetAdsFileName &)
No assignment.
std::string help()
Definition DSMServerIntf.h:113
DSMServerIntf * _serverIntf
Definition DSMServerIntf.h:115
gets a list of DSMs and their locations from the configuration
Definition DSMServerIntf.h:85
GetDsmList(XmlRpcServer *s, DSMServerIntf *intf)
Definition DSMServerIntf.h:87
DSMServerIntf * _serverIntf
Definition DSMServerIntf.h:92
std::string help()
Definition DSMServerIntf.h:90
GetDsmList & operator=(const GetDsmList &)
No assignment.
GetDsmList(const GetDsmList &)
No copying.
void execute(XmlRpcValue ¶ms, XmlRpcValue &result)
Definition DSMServerIntf.cc:51
A thread that provides XML-based Remote Procedure Calls to web interfaces.
Definition XmlRpcThread.h:40
Sample * getSample(sampleType type, unsigned int len)
A convienence method for getting a sample of an enumerated type from a pool.
Definition Sample.cc:70
Root namespace for the NCAR In-Situ Data Acquisition Software.
Definition A2DConverter.h:31