Search in sources :

Example 1 with RoutedRpcBenchOutputBuilder

use of org.opendaylight.yang.gen.v1.rpcbench.payload.rev150702.RoutedRpcBenchOutputBuilder in project controller by opendaylight.

the class GlobalBindingRTCServer method routedRpcBench.

@Override
public Future<RpcResult<RoutedRpcBenchOutput>> routedRpcBench(final RoutedRpcBenchInput input) {
    RoutedRpcBenchOutput output = new RoutedRpcBenchOutputBuilder(input).build();
    RpcResult<RoutedRpcBenchOutput> result = RpcResultBuilder.success(output).build();
    numRpcs++;
    return Futures.immediateFuture(result);
}
Also used : RoutedRpcBenchOutputBuilder(org.opendaylight.yang.gen.v1.rpcbench.payload.rev150702.RoutedRpcBenchOutputBuilder) RoutedRpcBenchOutput(org.opendaylight.yang.gen.v1.rpcbench.payload.rev150702.RoutedRpcBenchOutput)

Aggregations

RoutedRpcBenchOutput (org.opendaylight.yang.gen.v1.rpcbench.payload.rev150702.RoutedRpcBenchOutput)1 RoutedRpcBenchOutputBuilder (org.opendaylight.yang.gen.v1.rpcbench.payload.rev150702.RoutedRpcBenchOutputBuilder)1