public interface ToasterService
extends org.opendaylight.yangtools.yang.binding.RpcService
rpc make-toast {
input {
leaf toasterDoneness {
type uint32 {
range "1 .. 10";
}
default 5;
}
leaf toasterToastType {
type identityref {
base toast:toast-type;
}
default wheat-bread;
}
}
output;
}
rpc cancel-toast {
input;
output;
}
rpc restock-toaster {
input {
leaf amountOfBreadToStock {
type uint32;
}
}
output;
}
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<CancelToastOutput>> |
cancelToast(CancelToastInput input)
Stop making toast, if any is being made.
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<MakeToastOutput>> |
makeToast(MakeToastInput input)
Make some toast.
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RestockToasterOutput>> |
restockToaster(RestockToasterInput input)
Restocks the toaster with the amount of bread specified.
|
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<MakeToastOutput>> makeToast(MakeToastInput input)
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<CancelToastOutput>> cancelToast(CancelToastInput input)
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RestockToasterOutput>> restockToaster(RestockToasterInput input)
Copyright © 2019 OpenDaylight. All rights reserved.