Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

Monitor Struct Reference

#include <rmMonitor.h>

List of all members.

Public Attributes

long controlId
 the GenericControl, -1 if not set. More...

long configId
 the GenericConfig, -1 if not set. More...

long infoId
 @deprecated. More...

uuid_t uuid
 monitor uuid. More...

int command
 defined in MonitorCommand. More...

posix_log_notify_t nfHandle
 the event notification handle. More...


Detailed Description

Monitor is the structure that contains all the information about a monitor.

A monitor is created using a rmMonitorControl and a rmMonitorConfiguration. To create a monitor, caller specifies the controlId, which represents an entry in GenericControl table first; then specifies the configId, which corresponding to an entry in GenericConfig table; then set the command to "CREATE_MONITOR".

Remarks:
id of a monitor does not start with 0. It is initialized using the client, the snmp subagent, start-up time. This way, if the subagent dies and restarts, all the OID value of the monitors in the last session will most likely be invalid. And we don't get any bad synchronization problems between a snmp manager and the subagent.

Definition at line 29 of file rmMonitor.h.


Member Data Documentation

int Monitor::command
 

defined in MonitorCommand.

Definition at line 36 of file rmMonitor.h.

Referenced by rmMonitor::getInteger32, rmMonitor::init, and rmMonitor::setInteger32.

long Monitor::configId
 

the GenericConfig, -1 if not set.

Definition at line 32 of file rmMonitor.h.

Referenced by rmMonitor::elementIsReady, rmMonitor::getUnsigned, rmMonitor::getUUID, rmMonitor::getUUIDString, rmMonitor::init, rmMonitor::setInteger32, and rmMonitor::setUnsigned.

long Monitor::controlId
 

the GenericControl, -1 if not set.

Definition at line 31 of file rmMonitor.h.

Referenced by rmMonitor::elementIsReady, rmMonitor::getInteger32, rmMonitor::getUnsigned, rmMonitor::init, rmMonitor::setInteger32, and rmMonitor::setUnsigned.

long Monitor::infoId
 

@deprecated.

Definition at line 33 of file rmMonitor.h.

posix_log_notify_t Monitor::nfHandle
 

the event notification handle.

Definition at line 37 of file rmMonitor.h.

Referenced by rmMonitor::getInteger32, rmMonitor::init, and rmMonitor::setInteger32.

uuid_t Monitor::uuid
 

monitor uuid.

Definition at line 34 of file rmMonitor.h.

Referenced by rmMonitor::getInteger32, rmMonitor::getUnsigned, rmMonitor::getUnsigned64, rmMonitor::getUUID, rmMonitor::getUUIDString, rmMonitor::init, rmMonitor::setInteger32, and rmMonitor::setUnsigned.


The documentation for this struct was generated from the following file:
Generated on Tue Sep 10 16:46:34 2002 for ResourceMonitorSNMPSubagent by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002