How do I define a tuple in TSpaces?
In TSpaces, there are 2 ways to define a tuple. – Directly as a Tuple objects, where you directly create the individual Field instances that make up the Tuple. – Indirectly by defining your own object that subclasses SubclassableTuple. This is covered in the programmer’s guide in Example2. • Is there any way I can guarantee the order of the Tuples taken is the same as the order of the Tuples written? The tuplespace semantics do not include ordering of the results of an operation. However for many applications it is useful to be able to ask for the next Tuple and get them in FIFO order. So we added the ability to specify at the time that you create a space, that the Tuples be maintained in a FIFO queue. There are examples in the programmer’s guide. • Is there anything inherent in the tuplespace philosophy that prevents subsequent “reads” from reading the same record over and over? Basically not. The semantics of Linda, which was the first tuplespace implementation, specifies that an arb