Interface MakeToast
- All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.Rpc<MakeToastInput,,MakeToastOutput>> org.opendaylight.yangtools.binding.Rpc<MakeToastInput,MakeToastOutput>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
@Generated("mdsal-binding-generator")
public interface MakeToast
extends org.opendaylight.yangtools.binding.Rpc<MakeToastInput,MakeToastOutput>
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.
This class represents the following YANG schema fragment defined in module toaster
rpc make-toast {
input input {
leaf toasterDoneness {
type uint32 {
range "1 .. 10";
}
default 5;
}
leaf toasterToastType {
type identityref {
base toast-type;
}
default wheat-bread;
}
}
}
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<MakeToastOutput>> invoke(MakeToastInput input)
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
invoke
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<MakeToastOutput>> invoke(MakeToastInput input) - Specified by:
invokein interfaceorg.opendaylight.yangtools.binding.Rpc<MakeToastInput,MakeToastOutput>
-
implementedInterface
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.Rpc<MakeToastInput,MakeToastOutput>>
-