tibasSpace_WaitForReady()

Queries the state of the space. Returns a value indicating that the space is ready; or if it is not ready, returns a value indicating that the space is not ready.

Declaration

tibas_status tibasSpace_WaitForReady
     (tibasSpace    space,
     tibas_boolean* isReady,
     tibas_long     timeout)

Parameters

Parameter Description
space The TIBCO ActiveSpaces entity on which the function is invoked.
isReady Is equal to TIBAS_TRUE if the space is ready, or TIBAS_FALSE if the space is not ready.
timeout Specify a value indicating the number of milliseconds to wait for the space to reach the ready state if the space is not ready.

Remarks

Use the tibasSpace_WaitForReady() function to query whether a specified space is ready to process data. If the space is ready, the function returns TIBAS_TRUE. If the space is not ready, it returns TIBAS_FALSE

You can use the timeout parameter to specify a value indicating the number of milliseconds to wait before the space is ready.