Open topic with navigation

TIBCO Rendezvous® 8.7.0

# tibrvftMonitorCallback

Function Type

## Declaration

    typedef void (*tibrvftMonitorCallback) (
        tibrvftMonitor       monitor,
        const char*          groupName,
        tibrv_u32            numActiveMembers,
        void*                closure);

## Purpose

Process fault tolerance events for a monitor.

## Remarks

A program must define a function of this type as a prerequisite for monitoring a fault tolerance group. Programs register a monitor callback function with each call to `tibrvftMonitor_Create().`

Rendezvous fault tolerance software queues a monitor event whenever the number of active members in the group changes.

A program need not be a member of a group in order to monitor that group. Programs that do not monitor need not define a monitor callback function.

Parameter | Description
`monitor` | This parameter receives the monitor object.
`groupName` | This parameter receives a string denoting the name of the fault tolerance group.
`numActiveMembers` | This parameter receives the number of group members now active.
`closure` | This parameter receives the closure data, which the program supplied in the call that created the monitor object.

## See Also

tibrvftMonitor_Create()

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO Rendezvous®

Copyright © 1997-2023. Cloud Software Group, Inc. All Rights Reserved.