tibasSpace_CompareAndTake()

Looks for a tuple containing a specified value, and if it is found, takes the tuple value.

Declaration

tibas_status tibasSpace_CompareAndTake(
    tibasSpace   space,
    tibasTuple*  value,
    tibasTuple   oldValue)

Parameters

Parameter Description
space The TIBCO ActiveSpaces entity on which the function is invoked.
value Returns the value that is taken.
oldValue Specifies the value to compare for.

Remarks

Use the tibasSpace_CompareAndTake() function to look for a tuple containing a specified value, and if it is found, take the existing data.