Example #1
0
 public void start(
     I iface,
     sayHello_args args,
     org.apache.thrift.async.AsyncMethodCallback<String> resultHandler)
     throws TException {
   iface.sayHello(args.name, resultHandler);
 }
Example #2
0
 public sayHello_result getResult(I iface, sayHello_args args)
     throws org.apache.thrift.TException {
   sayHello_result result = new sayHello_result();
   result.success = iface.sayHello(args.name);
   return result;
 }