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=7e7f342962cba09a7204aa046b9126b77d46d33a;hpb=56978581354ce79ffadaa4544302e71c5169f37c;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 7e7f342962..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 @@ -1,11 +1,17 @@ +/* + * Copyright (c) 2014, 2015 Brocade Communications Systems, Inc. and others. All rights reserved. + * + * This program and the accompanying materials are made available under the + * 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); }