Example #1
0
 public void mutateRows_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     var args = new mutateRows_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     var result = new mutateRows_result();
     try
     {
         this.iface_.mutateRows(args.TableName, args.RowBatches);
     }
     catch (IOError io)
     {
         result.Io = io;
     }
     catch (IllegalArgument ia)
     {
         result.Ia = ia;
     }
     oprot.WriteMessageBegin(new TMessage("mutateRows", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }
Example #2
0
 public void mutateRows_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     mutateRows_args args = new mutateRows_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     mutateRows_result result = new mutateRows_result();
     try {
       iface_.mutateRows(args.tableName, args.rowBatches);
     } catch (IOError io) {
       result.io = io;
       result.__isset.io = true;
     } catch (IllegalArgument ia) {
       result.ia = ia;
       result.__isset.ia = true;
     }
     oprot.WriteMessageBegin(new TMessage("mutateRows", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }