Exemplo n.º 1
0
 public void start(
     I iface,
     getStruct_args args,
     org.apache.thrift.async.AsyncMethodCallback<SharedStruct> resultHandler)
     throws TException {
   iface.getStruct(args.key, resultHandler);
 }
Exemplo n.º 2
0
 public getStruct_result getResult(I iface, getStruct_args args)
     throws org.apache.thrift.TException {
   getStruct_result result = new getStruct_result();
   result.success = iface.getStruct(args.key);
   return result;
 }