The Assimilation Project
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
_JsonDiscovery Struct Reference

JsonDiscovery abstract C-class - it supports discovering "things" through running commands outputting JSON More...

#include <jsondiscovery.h>

Collaboration diagram for _JsonDiscovery:

Data Fields

Discovery baseclass
 Base discovery object. More...
 
char * instancename
 Instance name. More...
 
char * logprefix
 Prefix for logging stderr messages. More...
 
char * _fullpath
 Full pathname of the discovery agent. More...
 
ChildProcesschild
 Our current child process... More...
 
guint _intervalsecs
 How often to run this discovery method? More...
 
ConfigContextjsonparams
 Parameters to the resource agent. More...
 
const char *(* fullpath )(JsonDiscovery *)
 Return full pathname of agent. More...
 

Detailed Description

JsonDiscovery abstract C-class - it supports discovering "things" through running commands outputting JSON

Definition at line 37 of file jsondiscovery.h.

Field Documentation

char* _JsonDiscovery::_fullpath

Full pathname of the discovery agent.

Definition at line 41 of file jsondiscovery.h.

Referenced by jsondiscovery_new().

guint _JsonDiscovery::_intervalsecs

How often to run this discovery method?

Definition at line 43 of file jsondiscovery.h.

Referenced by jsondiscovery_new().

Discovery _JsonDiscovery::baseclass

Base discovery object.

Definition at line 38 of file jsondiscovery.h.

Referenced by jsondiscovery_new().

ChildProcess* _JsonDiscovery::child

Our current child process...

Definition at line 42 of file jsondiscovery.h.

const char*(* _JsonDiscovery::fullpath)(JsonDiscovery *)

Return full pathname of agent.

Definition at line 45 of file jsondiscovery.h.

char* _JsonDiscovery::instancename

Instance name.

Definition at line 39 of file jsondiscovery.h.

ConfigContext* _JsonDiscovery::jsonparams

Parameters to the resource agent.

Definition at line 44 of file jsondiscovery.h.

Referenced by jsondiscovery_new().

char* _JsonDiscovery::logprefix

Prefix for logging stderr messages.

Definition at line 40 of file jsondiscovery.h.

Referenced by jsondiscovery_new().


The documentation for this struct was generated from the following file: