Esempio n. 1
0
 public void mutateRow_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     var args = new mutateRow_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     var result = new mutateRow_result();
     try
     {
         this.iface_.mutateRow(args.TableName, args.Row, args.Mutations);
     }
     catch (IOError io)
     {
         result.Io = io;
     }
     catch (IllegalArgument ia)
     {
         result.Ia = ia;
     }
     oprot.WriteMessageBegin(new TMessage("mutateRow", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }
Esempio n. 2
0
 public void mutateRow_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     mutateRow_args args = new mutateRow_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     mutateRow_result result = new mutateRow_result();
     try {
       iface_.mutateRow(args.tableName, args.row, args.mutations);
     } catch (IOError io) {
       result.io = io;
       result.__isset.io = true;
     } catch (IllegalArgument ia) {
       result.ia = ia;
       result.__isset.ia = true;
     }
     oprot.WriteMessageBegin(new TMessage("mutateRow", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }