counter++;
this.setTopic(newTopic); // set the topic of a publication
// register new data typeName
- b = domainApp.regNewDataType(this.getType(),getMaxDataLength());
+ b = domainApp.regNewDataType(this.getType(),getMaxDataLength(),this.buffer);
if (b == false)
{
System.out.println(":j!: cannot register data type!");