@ -40,6 +40,16 @@ FluidDataSet : FluidDataObject
this.prSendMsg(this.deletePointMsg(label));
}
setPointMsg{|label,buffer|
buffer = this.prEncodeBuffer(buffer);
^this.prMakeMsg(\setPoint,id,label.asSymbol,buffer);
setPoint{|label, buffer, action|
actions[\setPoint] = [nil,action];
this.prSendMsg(this.setPointMsg(label,buffer));
clearMsg { ^this.prMakeMsg(\clear,id); }
clear { |action|
@ -41,6 +41,9 @@ Retrieve a point from the data set into a link::Classes/Buffer::. Will report an
METHOD:: deletePoint
Remove a point from the data set. Will report an error if the label doesn't exist.
METHOD:: setPoint
Set the point: if the label exists, this method behaves like updatePoint; if the label doesn't exist, behaves like addPoint.
METHOD:: clear
Empty the data set.