Exemple #1
0
 public void send_mutateRowTs(byte[] tableName, byte[] row, List<Mutation> mutations, long timestamp)
 {
     this.oprot_.WriteMessageBegin(new TMessage("mutateRowTs", TMessageType.Call, this.seqid_));
     var args = new mutateRowTs_args();
     args.TableName = tableName;
     args.Row = row;
     args.Mutations = mutations;
     args.Timestamp = timestamp;
     args.Write(this.oprot_);
     this.oprot_.WriteMessageEnd();
     this.oprot_.Transport.Flush();
 }
Exemple #2
0
 public void send_mutateRowTs(byte[] tableName, byte[] row, List<Mutation> mutations, long timestamp, Dictionary<byte[], byte[]> attributes)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("mutateRowTs", TMessageType.Call, seqid_));
   mutateRowTs_args args = new mutateRowTs_args();
   args.TableName = tableName;
   args.Row = row;
   args.Mutations = mutations;
   args.Timestamp = timestamp;
   args.Attributes = attributes;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Exemple #3
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();
 }
Exemple #4
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();
 }