Example program to test JNET::JControlHost::WhereIs.
More...
#include <string>
#include <iostream>
#include <iomanip>
#include <sstream>
#include "JNet/JControlHost.hh"
#include "Jeep/JParser.hh"
#include "Jeep/JMessage.hh"
Go to the source code of this file.
|
| int | main (int argc, char *argv[]) |
| |
Example program to test JNET::JControlHost::WhereIs.
- Author
- mdejong
Definition in file JWhereIs.cc.
◆ main()
| int main |
( |
int | argc, |
|
|
char * | argv[] ) |
Definition at line 18 of file JWhereIs.cc.
19{
22
23 string hostname;
24 string nickname;
26
27 try {
28
29 JParser<> zap(
"Example program to test where is functionality of ControlHost server.");
30
34
36 }
37 catch(const exception &error) {
39 }
40
41
43
44 JControlHost::WhereIs(hostname, nickname,
answer);
45
47
48 for (string buffer; is >> buffer; ) {
50 }
51}
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
Template definition of a multi-dimensional oscillation probability interpolation table.
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).