* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-
package ntfbenchmark.impl;
import java.util.ArrayList;
import java.util.List;
-import org.opendaylight.controller.md.sal.binding.api.NotificationPublishService;
+import org.opendaylight.mdsal.binding.api.NotificationPublishService;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ntfbench.payload.rev150709.Ntfbench;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ntfbench.payload.rev150709.NtfbenchBuilder;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ntfbench.payload.rev150709.payload.Payload;
protected final int iterations;
protected final Ntfbench ntf;
+ protected int ntfOk = 0;
+ protected int ntfError = 0;
+
/**
+ * Return number of successful notifications.
+ *
* @return the ntfOk
*/
public int getNtfOk() {
}
/**
+ * Return number of unsuccessful notifications.
+ *
* @return the ntfError
*/
public int getNtfError() {
return ntfError;
}
- protected int ntfOk = 0;
- protected int ntfError = 0;
-
public AbstractNtfbenchProducer(final NotificationPublishService publishService, final int iterations,
final int payloadSize) {
this.publishService = publishService;