Example #1
0
 public void deleteAllRow_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     var args = new deleteAllRow_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     var result = new deleteAllRow_result();
     try
     {
         this.iface_.deleteAllRow(args.TableName, args.Row);
     }
     catch (IOError io)
     {
         result.Io = io;
     }
     oprot.WriteMessageBegin(new TMessage("deleteAllRow", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }
Example #2
0
 public void recv_deleteAllRow()
 {
     TMessage msg = this.iprot_.ReadMessageBegin();
     if (msg.Type == TMessageType.Exception)
     {
         TApplicationException x = TApplicationException.Read(this.iprot_);
         this.iprot_.ReadMessageEnd();
         throw x;
     }
     var result = new deleteAllRow_result();
     result.Read(this.iprot_);
     this.iprot_.ReadMessageEnd();
     if (result.__isset.io)
     {
         throw result.Io;
     }
     return;
 }
Example #3
0
 public void deleteAllRow_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     deleteAllRow_args args = new deleteAllRow_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     deleteAllRow_result result = new deleteAllRow_result();
     try {
       iface_.deleteAllRow(args.tableName, args.row);
     } catch (IOError io) {
       result.io = io;
       result.__isset.io = true;
     }
     oprot.WriteMessageBegin(new TMessage("deleteAllRow", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }