Open topic with navigation

TIBCO Rendezvous® 8.7.0

# TibrvIOEvent::create()

Method

## Declaration

    TibrvStatus create (
        TibrvQueue* queue,
        TibrvCallback* callback,
        tibrv_i32 socketId,
        tibrvIOType ioType,
        const void* closure = NULL);

## Purpose

Wait for specified I/O situations to occur.

Parameter | Description
`queue` | At each time interval, place the event on this event queue.
`callback` | On dispatch, process the event with this callback object. This object can be an instance of class TibrvIOCallback, or its superclass TibrvCallback.
`socketID` | Wait for I/O occurrences on this socket.
`ioType` | Wait for I/O occurrences of this type. See tibrvIOType in TIBCO Rendezvous C Reference.
`closure` | Store this closure data in the event object.

## Remarks

This method creates a C I/O event and stores its handle in the C++ object.

All timers are repeating timers. To simulate a once-only timer, code the callback method to destroy the timer.

## See Also

TibrvEvent::destroy()

TibrvTimerCallback

TibrvTimerCallback::onTimer()

I/O Event Semantics in TIBCO Rendezvous Concepts

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.