469a0068a299a21d31be0df483b04b7294de6b56
[controller.git] / opendaylight / md-sal / samples / toaster-consumer / src / main / java / org / opendaylight / controller / sample / kitchen / api / KitchenService.java
1 /*
2  * Copyright (c) 2014, 2015 Brocade Communications Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.opendaylight.controller.sample.kitchen.api;
10
11 import java.util.concurrent.Future;
12
13 import org.opendaylight.yang.gen.v1.http.netconfcentral.org.ns.toaster.rev091120.ToastType;
14 import org.opendaylight.yangtools.yang.common.RpcResult;
15
16 public interface KitchenService {
17     Future<RpcResult<Void>> makeBreakfast( EggsType eggs, Class<? extends ToastType> toast,
18                                            int toastDoneness );
19 }