X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsamples%2Ftoaster-consumer%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsample%2Fkitchen%2Fapi%2FKitchenService.java;h=e3034dd4828b29adb31ab47bf0a1f8de9044f253;hb=refs%2Fchanges%2F27%2F100827%2F7;hp=b4c621797987a5e14da6b24cc238185f708d355f;hpb=310e1cf3dca0c2e94994a09c0faf7483d738e576;p=controller.git diff --git a/opendaylight/md-sal/samples/toaster-consumer/src/main/java/org/opendaylight/controller/sample/kitchen/api/KitchenService.java b/opendaylight/md-sal/samples/toaster-consumer/src/main/java/org/opendaylight/controller/sample/kitchen/api/KitchenService.java index b4c6217979..e3034dd482 100644 --- a/opendaylight/md-sal/samples/toaster-consumer/src/main/java/org/opendaylight/controller/sample/kitchen/api/KitchenService.java +++ b/opendaylight/md-sal/samples/toaster-consumer/src/main/java/org/opendaylight/controller/sample/kitchen/api/KitchenService.java @@ -5,13 +5,13 @@ * 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 org.opendaylight.controller.sample.kitchen.api; -import java.util.concurrent.Future; +import com.google.common.util.concurrent.ListenableFuture; import org.opendaylight.yang.gen.v1.http.netconfcentral.org.ns.toaster.rev091120.ToastType; import org.opendaylight.yangtools.yang.common.RpcResult; public interface KitchenService { - Future> makeBreakfast(EggsType eggs, Class toast, int toastDoneness); + + ListenableFuture> makeBreakfast(EggsType eggs, ToastType toast, int toastDoneness); }