Interface Action<P extends DataObjectIdentifier<?>,I extends RpcInput,O extends RpcOutput>

All Superinterfaces:
BindingContract<Action<P,I,O>>
All Known Subinterfaces:
KeyedListAction<K,T,I,O>

public non-sealed interface Action<P extends DataObjectIdentifier<?>,I extends RpcInput,O extends RpcOutput> extends BindingContract<Action<P,I,O>>
Interface extended by all interfaces generated for a YANG action.
  • Method Details

    • invoke

      @CheckReturnValue @NonNull ListenableFuture<@NonNull RpcResult<@NonNull O>> invoke(@NonNull P path, @NonNull I input)
      Invoke the action.
      Parameters:
      path - Invocation path
      input - Input argument
      Returns:
      Future result of invocation
      Throws:
      NullPointerException - if any of the arguments are null