Compares values in a list of specified values with the values in the existing tuples. If value matches are found, takes the specified tuples.
Declaration
tibas_status tibasSpace_CompareAndTakeAll(
tibasSpace space,
tibasSpaceResultList* resultList,
tibasTupleList oldValueList)
Parameters
Parameter
|
Description
|
space
|
The TIBCO ActiveSpaces entity on which the function is invoked.
|
resultList
|
A list of the values in the space.
|
oldValueList
|
A list of old values. If you specify NULL in a list item, only empty tuples are taken.
|
Remarks
Use the tibasSpace_CompareAndTakeAll() function to look for tuples containing specified values, and if value matches are found, take the tuple values.
If there is no mismatch, the function returns the same value as specified in the list of old values.
Copyright © Cloud Software Group, Inc. All rights reserved.