Search in sources :

Example 1 with TestStatusOutput

use of org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rpcbenchmark.rev150702.TestStatusOutput in project controller by opendaylight.

the class RpcbenchmarkProvider method testStatus.

@Override
public Future<RpcResult<TestStatusOutput>> testStatus() {
    LOG.info("testStatus");
    TestStatusOutput output = new TestStatusOutputBuilder().setGlobalServerCnt((long) globalServer.getNumRpcs()).setExecStatus(execStatus.get()).build();
    return RpcResultBuilder.success(output).buildFuture();
}
Also used : TestStatusOutputBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rpcbenchmark.rev150702.TestStatusOutputBuilder) TestStatusOutput(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rpcbenchmark.rev150702.TestStatusOutput)

Aggregations

TestStatusOutput (org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rpcbenchmark.rev150702.TestStatusOutput)1 TestStatusOutputBuilder (org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rpcbenchmark.rev150702.TestStatusOutputBuilder)1