27 #ifndef NIDAS_CORE_DSMSERVERINTF_H
28 #define NIDAS_CORE_DSMSERVERINTF_H
33 namespace nidas {
namespace core {
35 using namespace XmlRpc;
62 int run() throw(nidas::util::Exception);
74 DSMServerIntf& operator=(const DSMServerIntf&);
85 XmlRpcServerMethod(
"GetDsmList", s),_serverIntf(intf) {}
86 void execute(XmlRpcValue& params, XmlRpcValue& result);
87 std::string
help() {
return std::string(
"help GetDsmList"); }
108 XmlRpcServerMethod(
"GetAdsFileName", s),_serverIntf(intf) {}
109 void execute(XmlRpcValue& params, XmlRpcValue& result);
110 std::string
help() {
return std::string(
"help GetAdsFileName"); }
DSMServerIntf()
Definition: DSMServerIntf.h:46
void setDSMServer(DSMServer *val)
Definition: DSMServerIntf.h:48
GetAdsFileName(XmlRpcServer *s, DSMServerIntf *intf)
Definition: DSMServerIntf.h:107
DSMServer * getDSMServer()
The DSMServer is valid once the Project document has been parsed and an appropriate DSMServer is foun...
Definition: DSMServerIntf.h:57
gets a list of DSMs and their locations from the configuration
Definition: DSMServerIntf.h:81
std::string help()
Definition: DSMServerIntf.h:110
GetDsmList(XmlRpcServer *s, DSMServerIntf *intf)
Definition: DSMServerIntf.h:84
gets the name of the current .ads file
Definition: DSMServerIntf.h:104
std::string help()
Definition: DSMServerIntf.h:87
DSMServerIntf * _serverIntf
Definition: DSMServerIntf.h:89
DSMServerIntf * _serverIntf
Definition: DSMServerIntf.h:112
A thread that provides XML-based Remote Procedure Calls to web interfaces from the DSMServer...
Definition: DSMServerIntf.h:43
A thread that provides XML-based Remote Procedure Calls to web interfaces.
Definition: XmlRpcThread.h:39
A provider of services to a DSM.
Definition: DSMServer.h:50