int num_msgs=Util.readIntFromStdin("Number of RPCs: ");
int print=num_msgs / 10;
System.out.println("Invoking " + num_msgs + " RPCs:");
long start=System.currentTimeMillis();
for(int i=0; i < num_msgs; i++) {
<BUG>disp.callRemoteMethods(null, call);
</BUG>
if(print > 0 && i % print == 0)
System.out.println("invoking RPC #" + i);
}

int num_msgs=Util.readIntFromStdin("Number of RPCs: ");
int print=num_msgs / 10;
System.out.println("Invoking " + num_msgs + " RPCs:");
long start=System.currentTimeMillis();
for(int i=0; i < num_msgs; i++) {
disp.callRemoteMethods(null, call, opts);
if(print > 0 && i % print == 0)
System.out.println("invoking RPC #" + i);
}
