Interface KnockKnock
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.Rpc<KnockKnockInput,,KnockKnockOutput>> org.opendaylight.yangtools.yang.binding.Rpc<KnockKnockInput,KnockKnockOutput>
- 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 KnockKnock
extends org.opendaylight.yangtools.yang.binding.Rpc<KnockKnockInput,KnockKnockOutput>
This class represents the following YANG schema fragment defined in module opendaylight-of-migration-test-model
rpc knock-knock {
input input {
leaf knocker-id {
ext:context-reference routed:test-context;
type instance-identifier;
}
leaf question {
type string;
}
}
output output {
leaf answer {
type string;
}
}
}
-
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 TypeMethodDescriptiondefault Class<KnockKnock>com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<KnockKnockOutput>>invoke(KnockKnockInput 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<KnockKnockOutput>> invoke(KnockKnockInput input) - Specified by:
invokein interfaceorg.opendaylight.yangtools.yang.binding.Rpc<KnockKnockInput,KnockKnockOutput>
-
implementedInterface
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.Rpc<KnockKnockInput,KnockKnockOutput>>
-