source: trunk/FACT++/src/sendcommand.cc@ 10596

Last change on this file since 10596 was 10589, checked in by Daniela Dorner, 14 years ago
added executable to send command (to scheduler)
File size: 578 bytes
Line 
1#include <iostream>
2#include <dic.hxx>
3
4using namespace std;
5
6int main () {
7
8int value;
9
10value = DimClient::sendCommand("SCHEDULER/SCHEDULE", NULL, 0);
11
12cout << "\n";
13cout << " The method sendCommand(...) will wait for the command to be actualy sent to the Server and return a completion code of : " << endl;
14cout << " 1 - if it was successfully sent " << endl;
15cout << " 0 - if it couldn't be delivered. " << endl;
16
17cout << "\n";
18cout << " The completion code is now: " << value << endl;
19
20return 0;
21
22}
Note: See TracBrowser for help on using the repository browser.