Writing Monitors for the Event Monitoring Service (December 1999)

Chapter 5 153
Writing a Target Application
Processing a Notification Message
RmResource
Value
rm_value_
type *
A pointer to the current value of the
resource. If the RmResourceType is
RM_ERROR_TYPE, this field is not
meaningful.
This field can be the address of a
character string, the address of a signed
32-bit integer, the address of an unsigned
32-bit integer, the address of a
double-precision floating point value, or
an rm_object_addr (which is the
address of an object) as indicated by the
RmResourceType field above.
RmTarget
Hostname
char * The target host to which the Notification
Message was sent.
RmTargetPort ubit16 The port to which notification messages
was sent.
RmUserData char * A pointer to a memory block. The block
can contain any data that the client needs
to pass to a target. The length of the
memory block is specified by the
RmUserDataLen field.
RmUserDataLen ubit32 The length of the RmUserData buffer.
Valid values are 0-256.
Table 5-2 Notify Object Fields
Field Name Type Description