|
The Assimilation Monitoring Project
|
Discovery class abstract C-class - it supports discovering "things" through subclasses for different kinds of things. More...
#include <discovery.h>

Data Fields | |
| AssimObj | baseclass |
| Base object class. More... | |
| char *(* | instancename )(const Discovery *self) |
| Which object is this? More... | |
| void(* | flushcache )(Discovery *self) |
| Flush any cache held. More... | |
| gboolean(* | discover )(Discovery *self) |
| Perform the discovery. More... | |
| guint(* | discoverintervalsecs )(const Discovery *self) |
| How often to re-discover? (in seconds) More... | |
| guint64 | reportcount |
| How many times have we reported. More... | |
| guint64 | discovercount |
How many times have we discovered something. More... | |
| char * | _instancename |
| Timer id for repeating discovery. More... | |
| guint | _timerid |
| Timer id for repeating discovery. More... | |
| NetGSource * | _iosource |
| How to send packets. More... | |
| ConfigContext * | _config |
Configuration Parameters - has address of CMA. More... | |
| gboolean | _sentyet |
| TRUE if we've sent this yet. More... | |
Discovery class abstract C-class - it supports discovering "things" through subclasses for different kinds of things.
Definition at line 47 of file discovery.h.
| ConfigContext* _Discovery::_config |
Configuration Parameters -
has address of CMA.
Definition at line 61 of file discovery.h.
Referenced by _switchdiscovery_dispatch(), and discovery_new().
| char* _Discovery::_instancename |
Timer id for repeating discovery.
Definition at line 58 of file discovery.h.
Referenced by discovery_new().
| NetGSource* _Discovery::_iosource |
How to send packets.
Definition at line 60 of file discovery.h.
Referenced by _switchdiscovery_dispatch(), and discovery_new().
| gboolean _Discovery::_sentyet |
TRUE if we've sent this yet.
Definition at line 63 of file discovery.h.
| guint _Discovery::_timerid |
Timer id for repeating discovery.
Definition at line 59 of file discovery.h.
Referenced by discovery_new().
| AssimObj _Discovery::baseclass |
Base object class.
Definition at line 48 of file discovery.h.
Referenced by discovery_new(), jsondiscovery_new(), and switchdiscovery_new().
| gboolean(* _Discovery::discover)(Discovery *self) |
Perform the discovery.
Definition at line 51 of file discovery.h.
Referenced by discovery_new(), jsondiscovery_new(), and switchdiscovery_new().
| guint64 _Discovery::discovercount |
How many times have we discovered
something.
Definition at line 56 of file discovery.h.
Referenced by nano_shutdown().
| guint(* _Discovery::discoverintervalsecs)(const Discovery *self) |
How often to re-discover? (in seconds)
Definition at line 52 of file discovery.h.
Referenced by discovery_new(), and jsondiscovery_new().
| void(* _Discovery::flushcache)(Discovery *self) |
Flush any cache held.
Definition at line 50 of file discovery.h.
| char*(* _Discovery::instancename)(const Discovery *self) |
| guint64 _Discovery::reportcount |
How many times have we reported.
anything new upstream.
Definition at line 54 of file discovery.h.
Referenced by nano_shutdown().