rpcClient.start();
for (long i = 0;; i++) {
try {
String reqstr = "nice" + i;
ByteBuffer repdata = rpcClient.call(reqstr.getBytes());
if (repdata != null) {
String repstr =
new String(repdata.array(), repdata.position(), repdata.limit()
- repdata.position());
System.out.println("call result, " + repstr);