Interface ToasterService
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.RpcService
@Generated("mdsal-binding-generator")
public interface ToasterService
extends org.opendaylight.yangtools.yang.binding.RpcService
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<CancelToastOutput>>cancelToast(CancelToastInput input) Invokecancel-toastRPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<MakeToastOutput>>makeToast(MakeToastInput input) Invokemake-toastRPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RestockToasterOutput>>Invokerestock-toasterRPC.
-
Method Details
-
makeToast
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<MakeToastOutput>> makeToast(MakeToastInput input) Invokemake-toastRPC.Make some toast. The toastDone notification will be sent when the toast is finished. An 'in-use' error will be returned if toast is already being made. A 'resource-denied' error will be returned if the toaster service is disabled.- Parameters:
input- ofmake-toast- Returns:
- output of
make-toast
-
cancelToast
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<CancelToastOutput>> cancelToast(CancelToastInput input) Invokecancel-toastRPC.Stop making toast, if any is being made. A 'resource-denied' error will be returned if the toaster service is disabled.- Parameters:
input- ofcancel-toast- Returns:
- output of
cancel-toast
-
restockToaster
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RestockToasterOutput>> restockToaster(RestockToasterInput input) Invokerestock-toasterRPC.Restocks the toaster with the amount of bread specified.- Parameters:
input- ofrestock-toaster- Returns:
- output of
restock-toaster
-