Example #1
0
 public void checkAndDelete_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     checkAndDelete_args args = new checkAndDelete_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     checkAndDelete_result result = new checkAndDelete_result();
     try {
       result.Success = iface_.checkAndDelete(args.Table, args.Row, args.Family, args.Qualifier, args.Value, args.DeleteSingle);
     } catch (TIOError io) {
       result.Io = io;
     }
     oprot.WriteMessageBegin(new TMessage("checkAndDelete", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }
Example #2
0
 public void send_checkAndDelete(byte[] table, byte[] row, byte[] family, byte[] qualifier, byte[] value, TDelete deleteSingle)
 {
     oprot_.WriteMessageBegin(new TMessage("checkAndDelete", TMessageType.Call, seqid_));
     checkAndDelete_args args = new checkAndDelete_args();
     args.Table = table;
     args.Row = row;
     args.Family = family;
     args.Qualifier = qualifier;
     args.Value = value;
     args.DeleteSingle = deleteSingle;
     args.Write(oprot_);
     oprot_.WriteMessageEnd();
     oprot_.Transport.Flush();
 }