SourceForge Logo

Grulesd control protocol

Here is the list of accepted commands:

In case of failure to execute a command the server will answer like this:
   <error>Description of the error.</error>

Showing active projects

(this is undergoing changes...)

Client:
<active/>
Server:
<active start="10/5/01">
	<project name="example" start="10/5/01">
	      <statistics>
	         <requests>10234</requests>
		 <total_time>1230429</total_time>
		 <average>145</average>
	      </statistics>
	<project/>
</active>

Load project

Client:
   <load project="/home/httpd/cgi-bin/example/example.xml"/>
Server:
    <load result="ok"/>

Remove project

Client:
   <remove project="example"/>
Server:
   <remove result="ok"/>

Reload project

Client:
   <reload project="/home/httpd/cgi-bin/example/example.xml"/>
Server:
   <reload result="ok"/>

Restart

Client:
   <restart/>
Server:
   <restart result="ok"/>

Shutdown

Client:
   <shutdown/>
Server:
   <shutdown result="ok"/>

Table of contents Home