Open topic with navigation

TIBCO Rendezvous® 8.7.0

# tibrvEventCallback

Function Type

## Declaration

    typedef void (*tibrvEventCallback) (
        tibrvEvent   event,
        tibrvMsg     message,
        void*        closure);

## Purpose

Programs define functions of this type to process events.

## Remarks

A single callback function type spans listener, timer and I/O events.

Parameter | Description
`event` | This parameter receives the event object. This object is identical to the object that the program created to express event interest.
`message` | When the event object is a listener, the callback receives the inbound message in this parameter. If the inbound message is empty, this parameter receives a message that has no fields. When the event object is a timer or I/O event, this parameter receives `NULL`.
`closure` | This parameter receives the closure data, which the program supplied in the call that created the event object.

## See Also

tibrvEvent_CreateIO()

tibrvEvent_CreateListener()

tibrvEvent_CreateTimer()

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.