I am preparing a tuple with all the inputs as String except one which is serializable object.
TupleSpace controlTsp= new TupleSpace("controlTsp","localhost");
Tuple commandTuple = new Tuple();
commandTuple.add("msg","ATESensor");
commandTuple.add(new FieldPS(new LabResourceInfo(LabResourceNodeInfo)));
controlTsp.write(commandTuple); (This will write the tuple on the Tspace which includes serializable object).
LabResourceInfo is a serializable object
Question : when I try to take the tuple from Tspace it is not able to remove the Tuple from Tspace. controlTsp.take(commandTuple) is not able to remove the tuple which contains the serializable object. Is there any way the take method can remove the tuple from the Tuplespace.