Writing Monitors for the Event Monitoring Service (December 1999)
160 Chapter5
Writing a Target Application
Processing a Restart Notification Object
RmMonitor
VersionString
char * A pointer to a null-terminated string of
up to 20 characters that is the version
number of the monitor.
The version string is set by the resource
monitor in the Monitor Info object. See
the section, “Startup and Initialization
Considerations.”
RmNext
ResourceEntry
rm_object
_addr
The next object in the Resource List. If
the end of the list has been reached,
rm_get() returns NULL. If
rm_get() is called with
RmNextResourceEntry before
RmFirstResourceEntry is used,
the results are undefined.
RmNum
Resources
ubit32 The number of resources that were
affected by the outage of this monitor.
This is the number of items in the
Resource List.
RmObjectType rm_object
_type
The object type. For a Restart
Notification, the value is
RM_RESTART_NOTIFICATION_OBJ
ECT. This value is set by
rm_uncompress_object() and
should not be modified.
Table 5-3 Restart Notification Object Fields
Field Name Type Description