public class RoundTripTester extends AbstractComponent {
private long testStart = 0;
private long testEnd = 0;
public RoundTripTester() {
registerRpc(new RoundTripTesterRpc() {
@Override
public void ping(int nr, String payload) {
if (System.currentTimeMillis() < testEnd) {
getRpcProxy(RoundTripTesterRpc.class).ping(nr + 1, payload);
} else {