Search in sources :

Example 1 with MeterUpdatedBuilder

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();
}
Also used : MeterRef(org.opendaylight.yang.gen.v1.urn.opendaylight.meter.types.rev130918.MeterRef) MeterUpdatedBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.meter.service.rev130918.MeterUpdatedBuilder)

Aggregations

MeterUpdatedBuilder (org.opendaylight.yang.gen.v1.urn.opendaylight.meter.service.rev130918.MeterUpdatedBuilder)1 MeterRef (org.opendaylight.yang.gen.v1.urn.opendaylight.meter.types.rev130918.MeterRef)1