You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
547 B
19 lines
547 B
using CookComputing.XmlRpc;
|
|
|
|
namespace IoTDameon
|
|
{
|
|
public interface ISupervisorService : IXmlRpcProxy
|
|
{
|
|
[XmlRpcMethod("supervisor.getAllProcessInfo")]
|
|
XmlRpcStruct getAllProcessInfo();
|
|
|
|
[XmlRpcMethod("supervisor.getProcessInfo")]//result["statename"]: "RUNNING" or "STOPPED"
|
|
XmlRpcStruct getProcessInfo(string name);
|
|
|
|
[XmlRpcMethod("supervisor.startProcess")]
|
|
bool startProcess(string name);
|
|
|
|
[XmlRpcMethod("supervisor.stopProcess")]
|
|
bool stopProcess(string name);
|
|
}
|
|
} |