27 virtual void infoHandler() = 0;
37 { subscribe((
char *)0, 0, (
void *)0, 0, 0); };
39 { subscribe((
char *)name, 0, &nolink,
sizeof(
int), 0); };
41 { subscribe((
char *)name, time, &nolink,
sizeof(
int), 0); };
43 { subscribe((
char *)name, 0, &nolink,
sizeof(
float), 0); };
45 { subscribe((
char *)name, time, &nolink,
sizeof(
float), 0); };
47 { subscribe((
char *)name, 0, &nolink,
sizeof(
double), 0); };
49 { subscribe((
char *)name, time, &nolink,
sizeof(
double), 0); };
51 { subscribe((
char *)name, 0, &nolink,
sizeof(
longlong), 0); };
53 { subscribe((
char *)name, time, &nolink,
sizeof(
longlong), 0); };
55 { subscribe((
char *)name, 0, &nolink,
sizeof(
short), 0); };
57 { subscribe((
char *)name, time, &nolink,
sizeof(
short), 0); };
59 { subscribe((
char *)name, 0, nolink, (
int)strlen(nolink)+1, 0); };
61 { subscribe((
char *)name, time, nolink, (
int)strlen(nolink)+1, 0); };
62 DimInfo(
const char *name,
void *nolink,
int nolinksize)
63 { subscribe((
char *)name, 0, nolink, nolinksize, 0); };
64 DimInfo(
const char *name,
int time,
void *nolink,
int nolinksize)
65 { subscribe((
char *)name, time, nolink, nolinksize, 0); };
68 { subscribe((
char *)name, 0, &nolink,
sizeof(
int), handler); };
70 { subscribe((
char *)name, time, &nolink,
sizeof(
int), handler); };
72 { subscribe((
char *)name, 0, &nolink,
sizeof(
float), handler); };
74 { subscribe((
char *)name, time, &nolink,
sizeof(
float), handler); };
76 { subscribe((
char *)name, 0, &nolink,
sizeof(
double), handler); };
78 { subscribe((
char *)name, time, &nolink,
sizeof(
double), handler); };
80 { subscribe((
char *)name, 0, &nolink,
sizeof(
longlong), handler); };
82 { subscribe((
char *)name, time, &nolink,
sizeof(
longlong), handler); };
84 { subscribe((
char *)name, 0, &nolink,
sizeof(
short), handler); };
86 { subscribe((
char *)name, time, &nolink,
sizeof(
short), handler); };
88 { subscribe((
char *)name, 0, nolink, (
int)strlen(nolink)+1, handler); };
90 { subscribe((
char *)name, time, nolink, (
int)strlen(nolink)+1, handler); };
92 { subscribe((
char *)name, 0, nolink, nolinksize, handler); };
94 { subscribe((
char *)name, time, nolink, nolinksize, handler); };
103 int getInt() {
return *(
int *)getData(); } ;
112 virtual void subscribe(
char *name,
int time,
void *nolink,
int nolinksize,
117 int getTimestampMillisecs();
119 void subscribe(
char *name,
void *nolink,
int nolinksize,
int time,
121 { subscribe((
char *)name, time, nolink, nolinksize, handler); };
140 {
subscribe((
char *)name, 0, &nolink,
sizeof(
int), 0); };
142 {
subscribe((
char *)name, time, &nolink,
sizeof(
int), 0); };
144 {
subscribe((
char *)name, 0, &nolink,
sizeof(
float), 0); };
146 {
subscribe((
char *)name, time, &nolink,
sizeof(
float), 0); };
148 {
subscribe((
char *)name, 0, &nolink,
sizeof(
double), 0); };
150 {
subscribe((
char *)name, time, &nolink,
sizeof(
double), 0); };
156 {
subscribe((
char *)name, 0, &nolink,
sizeof(
short), 0); };
158 {
subscribe((
char *)name, time, &nolink,
sizeof(
short), 0); };
160 {
subscribe((
char *)name, 0, nolink, (
int)strlen(nolink)+1, 0); };
162 {
subscribe((
char *)name, time, nolink, (
int)strlen(nolink)+1, 0); };
164 {
subscribe((
char *)name, 0, nolink, nolinksize, 0); };
166 {
subscribe((
char *)name, time, nolink, nolinksize, 0); };
169 {
subscribe((
char *)name, 0, &nolink,
sizeof(
int), handler); };
171 {
subscribe((
char *)name, time, &nolink,
sizeof(
int), handler); };
173 {
subscribe((
char *)name, 0, &nolink,
sizeof(
float), handler); };
175 {
subscribe((
char *)name, time, &nolink,
sizeof(
float), handler); };
177 {
subscribe((
char *)name, 0, &nolink,
sizeof(
double), handler); };
179 {
subscribe((
char *)name, time, &nolink,
sizeof(
double), handler); };
185 {
subscribe((
char *)name, 0, &nolink,
sizeof(
short), handler); };
187 {
subscribe((
char *)name, time, &nolink,
sizeof(
short), handler); };
189 {
subscribe((
char *)name, 0, nolink, (
int)strlen(nolink)+1, handler); };
191 {
subscribe((
char *)name, time, nolink, (
int)strlen(nolink)+1, handler); };
193 {
subscribe((
char *)name, 0, nolink, nolinksize, handler); };
195 {
subscribe((
char *)name, time, nolink, nolinksize, handler); };
200 {
subscribe((
char *)name, time, nolink, nolinksize, handler); };
203 void subscribe(
char *name,
int time,
void *nolink,
int nolinksize,
212 {
subscribe((
char *)name, 0, &nolink,
sizeof(
int), 0); };
214 {
subscribe((
char *)name, time, &nolink,
sizeof(
int), 0); };
216 {
subscribe((
char *)name, 0, &nolink,
sizeof(
float), 0); };
218 {
subscribe((
char *)name, time, &nolink,
sizeof(
float), 0); };
220 {
subscribe((
char *)name, 0, &nolink,
sizeof(
double), 0); };
222 {
subscribe((
char *)name, time, &nolink,
sizeof(
double), 0); };
228 {
subscribe((
char *)name, 0, &nolink,
sizeof(
short), 0); };
230 {
subscribe((
char *)name, time, &nolink,
sizeof(
short), 0); };
232 {
subscribe((
char *)name, 0, nolink, (
int)strlen(nolink)+1, 0); };
234 {
subscribe((
char *)name, time, nolink, (
int)strlen(nolink)+1, 0); };
236 {
subscribe((
char *)name, 0, nolink, nolinksize, 0); };
238 {
subscribe((
char *)name, time, nolink, nolinksize, 0); };
241 {
subscribe((
char *)name, 0, &nolink,
sizeof(
int), handler); };
243 {
subscribe((
char *)name, time, &nolink,
sizeof(
int), handler); };
245 {
subscribe((
char *)name, 0, &nolink,
sizeof(
float), handler); };
247 {
subscribe((
char *)name, time, &nolink,
sizeof(
float), handler); };
249 {
subscribe((
char *)name, 0, &nolink,
sizeof(
double), handler); };
251 {
subscribe((
char *)name, time, &nolink,
sizeof(
double), handler); };
257 {
subscribe((
char *)name, 0, &nolink,
sizeof(
short), handler); };
259 {
subscribe((
char *)name, time, &nolink,
sizeof(
short), handler); };
261 {
subscribe((
char *)name, 0, nolink, (
int)strlen(nolink)+1, handler); };
263 {
subscribe((
char *)name, time, nolink, (
int)strlen(nolink)+1, handler); };
265 {
subscribe((
char *)name, 0, nolink, nolinksize, handler); };
267 {
subscribe((
char *)name, time, nolink, nolinksize, handler); };
272 {
subscribe((
char *)name, time, nolink, nolinksize, handler); };
276 void subscribe(
char *name,
int time,
void *nolink,
int nolinksize,
285 int send(
char *name,
void *
data,
int datasize);
286 void sendNB(
char *name,
void *
data,
int datasize);
300 subscribe((
char *)0, 0, (
void *)0, 0); };
302 subscribe((
char *)name, 0, &nolink,
sizeof(
int)); };
304 subscribe((
char *)name, 0, &nolink,
sizeof(
float)); };
306 subscribe((
char *)name, 0, &nolink,
sizeof(
double)); };
308 subscribe((
char *)name, 0, &nolink,
sizeof(
longlong)); };
310 subscribe((
char *)name, 0, &nolink,
sizeof(
short)); };
312 subscribe((
char *)name, 0, nolink, (
int)strlen(nolink)+1); };
314 subscribe((
char *)name, 0, nolink, nolinksize); };
316 subscribe((
char *)name, time, &nolink,
sizeof(
int)); };
318 subscribe((
char *)name, time, &nolink,
sizeof(
float)); };
320 subscribe((
char *)name, time, &nolink,
sizeof(
double)); };
322 subscribe((
char *)name, time, &nolink,
sizeof(
longlong)); };
324 subscribe((
char *)name, time, &nolink,
sizeof(
short)); };
326 subscribe((
char *)name, time, nolink, (
int)strlen(nolink)+1); };
328 subscribe((
char *)name, time, nolink, nolinksize); };
334 int getInt() {
return *(
int *)getData(); } ;
340 int getSize() { getData();
return itsSize; } ;
342 { subscribe((
char *)name, time, nolink, nolinksize); };
348 void subscribe(
char *name,
int time,
void *nolink,
int nolinksize);
369 subscribe((
char *)name, 0, 0, &nolink,
sizeof(
int), 0); };
371 subscribe((
char *)name, 0, 0, &nolink,
sizeof(
float), 0); };
373 subscribe((
char *)name, 0, 0, &nolink,
sizeof(
double), 0); };
375 subscribe((
char *)name, 0, 0, &nolink,
sizeof(
longlong), 0); };
377 subscribe((
char *)name, 0, 0, &nolink,
sizeof(
short), 0); };
379 subscribe((
char *)name, 0, 0, nolink, (
int)strlen(nolink)+1, 0); };
381 subscribe((
char *)name, 0, 0, nolink, nolinksize, 0); };
384 subscribe((
char *)name, 0, 0, &nolink,
sizeof(
int), time); };
386 subscribe((
char *)name, 0, 0, &nolink,
sizeof(
float), time); };
388 subscribe((
char *)name, 0, 0, &nolink,
sizeof(
double), time); };
390 subscribe((
char *)name, 0, 0, &nolink,
sizeof(
longlong), time); };
392 subscribe((
char *)name, 0, 0, &nolink,
sizeof(
short), time); };
394 subscribe((
char *)name, 0, 0, nolink, (
int)strlen(nolink)+1, time); };
396 subscribe((
char *)name, 0, 0, nolink, nolinksize, time); };
398 virtual void rpcInfoHandler();
405 int getInt() {
return *(
int *)getData(); } ;
411 int getSize() { getData();
return itsSize; } ;
426 void subscribe(
char *name,
void *
data,
int size,
427 void *nolink,
int nolinksize,
int timeout);
441 static int sendCommand(
const char *name,
int data);
442 static int sendCommand(
const char *name,
float data);
443 static int sendCommand(
const char *name,
double data);
444 static int sendCommand(
const char *name,
longlong data);
445 static int sendCommand(
const char *name,
short data);
446 static int sendCommand(
const char *name,
const char *
data);
447 static int sendCommand(
const char *name,
void *
data,
int datasize);
448 static void sendCommandNB(
const char *name,
int data);
449 static void sendCommandNB(
const char *name,
float data);
450 static void sendCommandNB(
const char *name,
double data);
451 static void sendCommandNB(
const char *name,
longlong data);
452 static void sendCommandNB(
const char *name,
short data);
453 static void sendCommandNB(
const char *name,
char *
data);
454 static void sendCommandNB(
const char *name,
void *
data,
int datasize);
455 static int setExitHandler(
const char *
serverName);
456 static int killServer(
const char *
serverName);
457 static int setDnsNode(
const char *
node);
458 static int setDnsNode(
const char *
node,
int port);
459 static char *getDnsNode();
460 static int getDnsPort();
462 void addErrorHandler();
466 static int getServerId();
468 static int getServerPid();
470 static char *getServerName();
471 static char **getServerServices();
476 static int dicNoCopy;
477 static void setNoDataCopy();
478 static int getNoDataCopy();
479 static int inCallback();
490 int getServices(
const char *serviceName);
492 int getServerServices(
const char *
serverName);
493 int getServerClients(
const char *serverName);
494 int getServices(
const char *serviceName,
int timeout);
495 int getServers(
int timeout);
496 int getServerServices(
const char *serverName,
int timeout);
497 int getServerClients(
const char *serverName,
int timeout);
498 int getNextService(
char *&service,
char *&format);
499 int getNextServer(
char *&server,
char *&
node);
500 int getNextServer(
char *&server,
char *&node,
int &pid);
501 int getNextServerService(
char *&service,
char *&format);
502 int getNextServerClient(
char *&client,
char *&node);
DimInfo(const char *name, int time, void *nolink, int nolinksize, DimInfoHandler *handler)
DimInfo(const char *name, short nolink, DimInfoHandler *handler)
DimStampedInfo(const char *name, double nolink, DimInfoHandler *handler)
DimInfo(const char *name, char *nolink, DimInfoHandler *handler)
DimRpcInfo(const char *name, char *nolink)
DimCurrentInfo(const char *name, int time, char *nolink)
DimStampedInfo(const char *name, int time, short nolink)
DimInfo(const char *name, int time, double nolink, DimInfoHandler *handler)
DimCurrentInfo(const char *name, int time, void *nolink, int nolinksize)
DimRpcInfo(const char *name, float nolink)
DimStampedInfo(const char *name, char *nolink)
DimUpdatedInfo(const char *name, int nolink)
void subscribe(char *name, void *nolink, int nolinksize, int time)
DimUpdatedInfo(const char *name, char *nolink)
virtual void infoHandler()=0
DimUpdatedInfo(const char *name, int time, void *nolink, int nolinksize)
DimStampedInfo(const char *name, int time, char *nolink)
DimInfo(const char *name, int time, int nolink)
DimUpdatedInfo(const char *name, short nolink)
DimUpdatedInfo(const char *name, float nolink)
DimUpdatedInfo(const char *name, int time, double nolink, DimInfoHandler *handler)
virtual void timerHandler()
DimInfo(const char *name, int time, float nolink, DimInfoHandler *handler)
void subscribe(char *name, void *nolink, int nolinksize, int time, DimInfoHandler *handler)
static DimErrorHandler * itsCltError
DimUpdatedInfo(const char *name, int time, longlong nolink, DimInfoHandler *handler)
DimStampedInfo(const char *name, void *nolink, int nolinksize, DimInfoHandler *handler)
DimRpcInfo(const char *name, int time, void *nolink, int nolinksize)
DimStampedInfo(const char *name, float nolink, DimInfoHandler *handler)
void setData(float &data)
DimStampedInfo(const char *name, void *nolink, int nolinksize)
DimInfo(const char *name, void *nolink, int nolinksize)
DimInfo(const char *name, char *nolink)
DimCurrentInfo(const char *name, int time, short nolink)
DimUpdatedInfo(const char *name, int time, void *nolink, int nolinksize, DimInfoHandler *handler)
DimStampedInfo(const char *name, longlong nolink, DimInfoHandler *handler)
DimInfo(const char *name, longlong nolink, DimInfoHandler *handler)
DimInfo(const char *name, double nolink, DimInfoHandler *handler)
virtual void infoHandler()
DimInfo(const char *name, double nolink)
DimCurrentInfo(const char *name, int time, int nolink)
DimInfo(const char *name, int nolink)
DimUpdatedInfo(const char *name, short nolink, DimInfoHandler *handler)
DimUpdatedInfo(const char *name, void *nolink, int nolinksize, DimInfoHandler *handler)
DimUpdatedInfo(const char *name, void *nolink, int nolinksize)
DimRpcInfo(const char *name, int time, short nolink)
DimRpcInfo(const char *name, int time, int nolink)
DimCurrentInfo(const char *name, int time, longlong nolink)
DimUpdatedInfo(const char *name, int time, float nolink, DimInfoHandler *handler)
DimInfo(const char *name, int nolink, DimInfoHandler *handler)
DimInfo(const char *name, int time, char *nolink)
DimUpdatedInfo(const char *name, int time, char *nolink, DimInfoHandler *handler)
DimStampedInfo(const char *name, short nolink, DimInfoHandler *handler)
DimCurrentInfo(const char *name, void *nolink, int nolinksize)
DimRpcInfo(const char *name, longlong nolink)
DimUpdatedInfo(const char *name, int time, longlong nolink)
DimRpcInfo(const char *name, double nolink)
DimCurrentInfo(const char *name, int nolink)
DimUpdatedInfo(const char *name, int time, float nolink)
DimUpdatedInfo(const char *name, int time, char *nolink)
virtual ~DimInfoHandler()
DimInfo(const char *name, int time, longlong nolink)
DimUpdatedInfo(const char *name, int time, int nolink)
void subscribe(char *name, void *nolink, int nolinksize, int time, DimInfoHandler *handler)
DimInfo(const char *name, int time, short nolink)
DimStampedInfo(const char *name, short nolink)
DimUpdatedInfo(const char *name, char *nolink, DimInfoHandler *handler)
DimInfo(const char *name, int time, void *nolink, int nolinksize)
DimStampedInfo(const char *name, int time, short nolink, DimInfoHandler *handler)
DimStampedInfo(const char *name, int time, double nolink, DimInfoHandler *handler)
DimStampedInfo(const char *name, double nolink)
DimUpdatedInfo(const char *name, longlong nolink)
DimInfo(const char *name, int time, longlong nolink, DimInfoHandler *handler)
DimRpcInfo(const char *name, void *nolink, int nolinksize)
DimInfo(const char *name, void *nolink, int nolinksize, DimInfoHandler *handler)
DimInfo(const char *name, int time, short nolink, DimInfoHandler *handler)
DimUpdatedInfo(const char *name, int time, int nolink, DimInfoHandler *handler)
virtual void errorHandler(int severity, int code, char *msg)=0
void setData(longlong &data)
DimCurrentInfo(const char *name, char *nolink)
DimStampedInfo(const char *name, longlong nolink)
DimRpcInfo(const char *name, int time, float nolink)
Warning because the service this data corrsponds to might have been last updated longer ago than Local time
DimInfoHandler * itsHandler
DimCurrentInfo(const char *name, int time, float nolink)
DimRpcInfo(const char *name, int time, double nolink)
DimStampedInfo(const char *name, int nolink)
DimUpdatedInfo(const char *name, longlong nolink, DimInfoHandler *handler)
DimInfo(const char *name, float nolink, DimInfoHandler *handler)
DimCurrentInfo(const char *name, float nolink)
DimInfo(const char *name, int time, int nolink, DimInfoHandler *handler)
DimStampedInfo(const char *name, int time, longlong nolink)
DimRpcInfo(const char *name, int time, longlong nolink)
DimUpdatedInfo(const char *name, double nolink, DimInfoHandler *handler)
DimInfo(const char *name, int time, float nolink)
DimStampedInfo(const char *name, int time, int nolink)
void setData(double &data)
virtual void subscribe(char *name, int time, void *nolink, int nolinksize, DimInfoHandler *handler)
DimInfo(const char *name, int time, char *nolink, DimInfoHandler *handler)
DimUpdatedInfo(const char *name, int time, short nolink)
void setData(void *data, int size)
DimStampedInfo(const char *name, int time, float nolink)
DimStampedInfo(const char *name, int time, void *nolink, int nolinksize, DimInfoHandler *handler)
DimCurrentInfo(const char *name, double nolink)
DimInfo(const char *name, longlong nolink)
static void handler(int conn_id, char *packet, int size, int status)
DimCurrentInfo(const char *name, longlong nolink)
DimStampedInfo(const char *name, int time, char *nolink, DimInfoHandler *handler)
DimUpdatedInfo(const char *name, double nolink)
DimStampedInfo(const char *name, int time, int nolink, DimInfoHandler *handler)
DimRpcInfo(const char *name, int nolink)
DimStampedInfo(const char *name, int time, void *nolink, int nolinksize)
DimUpdatedInfo(const char *name, int time, short nolink, DimInfoHandler *handler)
DimCurrentInfo(const char *name, short nolink)
DimInfo(const char *name, short nolink)
DimStampedInfo(const char *name, float nolink)
DimUpdatedInfo(const char *name, float nolink, DimInfoHandler *handler)
DimInfo(const char *name, float nolink)
void setData(short &data)
DimUpdatedInfo(const char *name, int time, double nolink)
DimUpdatedInfo(const char *name, int nolink, DimInfoHandler *handler)
void subscribe(char *name, void *nolink, int nolinksize, int time, DimInfoHandler *handler)
DimCurrentInfo(const char *name, int time, double nolink)
DimRpcInfo(const char *name, int time, char *nolink)
DimStampedInfo(const char *name, char *nolink, DimInfoHandler *handler)
DimInfo(const char *name, int time, double nolink)
DimStampedInfo(const char *name, int nolink, DimInfoHandler *handler)
DimStampedInfo(const char *name, int time, float nolink, DimInfoHandler *handler)
DimStampedInfo(const char *name, int time, double nolink)
DimStampedInfo(const char *name, int time, longlong nolink, DimInfoHandler *handler)
DimRpcInfo(const char *name, short nolink)