public void start(
     I iface,
     getStruct_args args,
     org.apache.thrift.async.AsyncMethodCallback<SharedStruct> resultHandler)
     throws TException {
   iface.getStruct(args.key, resultHandler);
 }
Beispiel #2
0
 public void start(
     I iface,
     call_args args,
     org.apache.thrift.async.AsyncMethodCallback<String> resultHandler)
     throws TException {
   iface.call(args.request, resultHandler);
 }
Beispiel #3
0
 public void start(
     I iface,
     tokenize_args args,
     org.apache.thrift.async.AsyncMethodCallback<List<List<String>>> resultHandler)
     throws TException {
   iface.tokenize(args.document, args.wordGran, resultHandler);
 }
Beispiel #4
0
 public void start(
     I iface,
     execute_args args,
     org.apache.thrift.async.AsyncMethodCallback<String> resultHandler)
     throws TException {
   iface.execute(args.functionName, args.funcArgs, resultHandler);
 }
Beispiel #5
0
 public void start(
     I iface,
     sayHello_args args,
     org.apache.thrift.async.AsyncMethodCallback<String> resultHandler)
     throws TException {
   iface.sayHello(args.name, resultHandler);
 }
Beispiel #6
0
 public call_result getResult(I iface, call_args args) throws org.apache.thrift.TException {
   call_result result = new call_result();
   try {
     result.success = iface.call(args.request);
   } catch (BasicRequestException qe) {
     result.qe = qe;
   }
   return result;
 }
Beispiel #7
0
 public execute_result getResult(I iface, execute_args args)
     throws org.apache.thrift.TException {
   execute_result result = new execute_result();
   try {
     result.success = iface.execute(args.functionName, args.funcArgs);
   } catch (DRPCExecutionException e) {
     result.e = e;
   } catch (AuthorizationException aze) {
     result.aze = aze;
   }
   return result;
 }
 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;
 }
 public void start(
     I iface, show_args args, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler)
     throws TException {
   iface.show(args.user, resultHandler);
 }
 public show_result getResult(I iface, show_args args) throws org.apache.thrift.TException {
   show_result result = new show_result();
   iface.show(args.user);
   return result;
 }
Beispiel #11
0
 public tokenize_result getResult(I iface, tokenize_args args)
     throws org.apache.thrift.TException {
   tokenize_result result = new tokenize_result();
   result.success = iface.tokenize(args.document, args.wordGran);
   return result;
 }
Beispiel #12
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;
 }