Writing Monitors for the Event Monitoring Service (December 1999)

98 Chapter3
Creating a Resource Monitor
Processing a Monitor Request Event
RmMonitorReply rm_option
_type
Indicates whether a resource monitor
was found that could monitor the
resource. The resource monitor must
set the value of this field. Valid values
are as follows:
RM_ACCEPT
The resource monitor agrees to monitor
the resource. The EMS API will
register the monitor request by creating
an Info Block attached to the resource
monitor’s process.
RM_MONITOR_SHUTDOWN
Monitor is not accepting requests.
RM_NO_MONITOR_FOUND (Reserved)
This value is reserved for use by the
Registrar.
RM_NOT_READY
Monitor is temporarily unable to
complete the request; the client might
now decide to terminate, possibly retry
the request, or go on to the next
resource.
RM_POLLING_NOT_SUPPORTED
The resource monitor does not support
polling. The client should resend the
request with a value of zero for the
polling interval. See RM_POLLTIME
and RmPollingMinimum.
Table 3-6 Monitor Reply Object Fields
Field Name Type Description