use of org.opendaylight.yang.gen.v1.urn.opendaylight.meter.service.rev130918.MeterUpdatedBuilder in project openflowplugin by opendaylight.
the class MeterNotificationSupplierImpl method updateNotification.
@Override
public MeterUpdated updateNotification(final Meter meter, final InstanceIdentifier<Meter> path) {
Preconditions.checkArgument(meter != null);
Preconditions.checkArgument(path != null);
final MeterUpdatedBuilder builder = new MeterUpdatedBuilder(meter);
builder.setMeterRef(new MeterRef(path));
builder.setNode(createNodeRef(path));
return builder.build();
}
Aggregations