Writing Monitors for the Event Monitoring Service (December 1999)
Chapter 3 97
Creating a Resource Monitor
Processing a Monitor Request Event
RmLifetime
Option
Valid values continued:
RM_PREVIEW_REGISTER
This is a request to verify monitoring
request parameters. It currently verifies
the polling interval and the resource
name. The monitor request is never
registered. This preview request only
exists for verification, which is
complete once the Monitor Reply has
been sent. No unregister request is
needed. This should be used only when
RmOperationType is
RM_REGISTER.
RM_PREVIEW_UNREGISTER
This is a request to verify the password
for an Unregister Request. The Request
ID is also verified. The request does not
get unregistered when this lifetime
option is used. This should be used
only when RmOperationType is
RM_UNREGISTER.
RM_QUERY_REQUEST
The monitor request should be
automatically deleted by EMS as soon
as the resource value has been obtained
from the monitor. The client
application does not need to send an
Unregister Monitor Request. This is
not supported for resources where
RmStateType is
RM_ASYNCHRONOUS.
The default is
RM_NON_PERSISTENT_REQUEST.
Table 3-6 Monitor Reply Object Fields
Field Name Type Description