Interface RpcbenchPayloadService

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.RpcService

    @Generated("mdsal-binding-generator")
    public interface RpcbenchPayloadService
    extends org.opendaylight.yangtools.yang.binding.RpcService
    Interface for implementing the following YANG RPCs defined in module rpcbench-payload
     rpc global-rpc-bench {
       input input {
         uses payload;
       }
       output output {
         uses payload;
       }
     }
     rpc routed-rpc-bench {
       input input {
         leaf node {
           ext:context-reference node-context;
           type instance-identifier;
         }
         uses payload;
       }
       output output {
         uses payload;
       }
     }
     
    • Method Detail

      • globalRpcBench

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GlobalRpcBenchOutput>> globalRpcBench​(GlobalRpcBenchInput input)
        Invoke global-rpc-bench RPC.
             
                 Interface to the RPC Benchmark's Global RPC Server. In each RPC call, the input
                 is copied on the output
             
         
        Parameters:
        input - of global-rpc-bench
        Returns:
        output of global-rpc-bench
      • routedRpcBench

        @CheckReturnValue
        com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RoutedRpcBenchOutput>> routedRpcBench​(RoutedRpcBenchInput input)
        Invoke routed-rpc-bench RPC.
             
                 Interface to RPC Benchmark's Routed RPC Servers. In each RPC call, the input is
                 copied on the output
             
         
        Parameters:
        input - of routed-rpc-bench
        Returns:
        output of routed-rpc-bench