Exemplo n.º 1
0
 public void mutateRowTs_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     var args = new mutateRowTs_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     var result = new mutateRowTs_result();
     try
     {
         this.iface_.mutateRowTs(args.TableName, args.Row, args.Mutations, args.Timestamp);
     }
     catch (IOError io)
     {
         result.Io = io;
     }
     catch (IllegalArgument ia)
     {
         result.Ia = ia;
     }
     oprot.WriteMessageBegin(new TMessage("mutateRowTs", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }
Exemplo n.º 2
0
 public void recv_mutateRowTs()
 {
     TMessage msg = this.iprot_.ReadMessageBegin();
     if (msg.Type == TMessageType.Exception)
     {
         TApplicationException x = TApplicationException.Read(this.iprot_);
         this.iprot_.ReadMessageEnd();
         throw x;
     }
     var result = new mutateRowTs_result();
     result.Read(this.iprot_);
     this.iprot_.ReadMessageEnd();
     if (result.__isset.io)
     {
         throw result.Io;
     }
     if (result.__isset.ia)
     {
         throw result.Ia;
     }
     return;
 }
Exemplo n.º 3
0
 public void mutateRowTs_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     mutateRowTs_args args = new mutateRowTs_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     mutateRowTs_result result = new mutateRowTs_result();
     try {
       iface_.mutateRowTs(args.tableName, args.row, args.mutations, args.timestamp);
     } catch (IOError io) {
       result.io = io;
       result.__isset.io = true;
     } catch (IllegalArgument ia) {
       result.ia = ia;
       result.__isset.ia = true;
     }
     oprot.WriteMessageBegin(new TMessage("mutateRowTs", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }