for (j=0;j<nSrvcsPerClass;j++) {
int n = k%(attrEntries.length);
tmpl[k] = new ServiceTemplate(null,null,tmplAttrs[n]);
setStateAttrInfo(k,n,tmplAttrs,state);
proxy.notify(tmpl[k],transitionMask,listener,
new MarshalledObject
(new QATestUtils.SrvcAttrTuple
(srvcItems[k].service,
tmplAttrs[n][0])),
Long.MAX_VALUE);
k++;