use of org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.FlowAddedBuilder in project openflowplugin by opendaylight.
the class FlowNotificationSupplierImpl method createNotification.
@Override
public FlowAdded createNotification(final Flow dataTreeItemObject, final InstanceIdentifier<Flow> path) {
Preconditions.checkArgument(dataTreeItemObject != null);
Preconditions.checkArgument(path != null);
final FlowAddedBuilder builder = new FlowAddedBuilder(dataTreeItemObject);
builder.setFlowRef(new FlowRef(path));
builder.setNode(createNodeRef(path));
return builder.build();
}
Aggregations