Search in sources :

Example 1 with FlowUpdatedBuilder

use of org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.FlowUpdatedBuilder in project openflowplugin by opendaylight.

the class FlowNotificationSupplierImpl method updateNotification.

@Override
public FlowUpdated updateNotification(final Flow flow, final InstanceIdentifier<Flow> path) {
    Preconditions.checkArgument(flow != null);
    Preconditions.checkArgument(path != null);
    final FlowUpdatedBuilder builder = new FlowUpdatedBuilder(flow);
    builder.setFlowRef(new FlowRef(path));
    builder.setNode(createNodeRef(path));
    return builder.build();
}
Also used : FlowRef(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.FlowRef) FlowUpdatedBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.FlowUpdatedBuilder)

Aggregations

FlowUpdatedBuilder (org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.FlowUpdatedBuilder)1 FlowRef (org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.FlowRef)1