16 cout << severity <<
" " << msg << endl;
19 while(services[index])
21 cout << services[index] << endl;
33 cout <<
"exit code " << code << endl;
46 cout <<
"Command " << getString() <<
" received" << endl;
50 while(services[index])
52 cout << services[index] << endl;
59 servstr(
"TEST/STRVAL",(char *)
"empty") {};
89 abc =
new DimService(
"TEST/INTVAL_CONST",(
int &)ival);
97 abc =
new DimService(
"TEST/STRINGVAL_CONST",(
char *)s1.c_str());
106 bool_serv[0] =
new DimService(
"TEST/BOOLVAL_CONST",
"C:1", (
void *)&boolval, 1);
107 bool_serv[1] =
new DimService(
"TEST/BOOLVAL_CONST1",
"C:1", (
void *)&boolval, 1);
142 newDns =
new DimServerDns(extraDns, 0, (
char *)
"new_TEST");
158 new_servint =
new DimService(newDns,
"new_TEST/INTVAL",ival);
166 testServ =
new ServWithHandler((
char *)
"MY_NEW_TEST_SERVICE_WITH_HANDLER");
static char * getClientName()
void exitHandler(int code)
void add_serv(const int &ival)
static char * getEnvVar(char *varName)
void add_serv_bool(const bool &boolval)
ServWithHandler(char *name)
void add_serv_str(const string &s1)
DimService * bool_serv[10]
static char ** getClientServices()
void errorHandler(int severity, int code, char *msg)