Interface RpcDefinitions.RpcProc1<I>

Type Parameters:
I - the concrete RPC input type
All Superinterfaces:
Serializable
Enclosing class:
RpcDefinitions
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface RpcDefinitions.RpcProc1<I> extends Serializable
Represents an RPC procedure with one input and no output.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(Context context, I input)
    Executes the RPC implementation on the worker.
  • Method Details

    • execute

      void execute(Context context, I input)
      Executes the RPC implementation on the worker.
      Parameters:
      context - the invocation-scoped Flow context
      input - the decoded RPC input