Example #1
0
 public void send_getRowTs(byte[] tableName, byte[] row, long timestamp)
 {
     this.oprot_.WriteMessageBegin(new TMessage("getRowTs", TMessageType.Call, this.seqid_));
     var args = new getRowTs_args();
     args.TableName = tableName;
     args.Row = row;
     args.Timestamp = timestamp;
     args.Write(this.oprot_);
     this.oprot_.WriteMessageEnd();
     this.oprot_.Transport.Flush();
 }
Example #2
0
 public void getRowTs_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     var args = new getRowTs_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     var result = new getRowTs_result();
     try
     {
         result.Success = this.iface_.getRowTs(args.TableName, args.Row, args.Timestamp);
     }
     catch (IOError io)
     {
         result.Io = io;
     }
     oprot.WriteMessageBegin(new TMessage("getRowTs", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }
Example #3
0
 public void send_getRowTs(byte[] tableName, byte[] row, long timestamp)
 {
     oprot_.WriteMessageBegin(new TMessage("getRowTs", TMessageType.Call, seqid_));
     getRowTs_args args = new getRowTs_args();
     args.tableName = tableName;
     args.row = row;
     args.timestamp = timestamp;
     args.Write(oprot_);
     oprot_.WriteMessageEnd();
     oprot_.Transport.Flush();
 }
Example #4
0
 public void send_getRowTs(byte[] tableName, byte[] row, long timestamp, Dictionary<byte[], byte[]> attributes)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("getRowTs", TMessageType.Call, seqid_));
   getRowTs_args args = new getRowTs_args();
   args.TableName = tableName;
   args.Row = row;
   args.Timestamp = timestamp;
   args.Attributes = attributes;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Example #5
0
 public void getRowTs_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     getRowTs_args args = new getRowTs_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     getRowTs_result result = new getRowTs_result();
     try {
       result.success = iface_.getRowTs(args.tableName, args.row, args.timestamp);
       result.__isset.success = true;
     } catch (IOError io) {
       result.io = io;
       result.__isset.io = true;
     }
     oprot.WriteMessageBegin(new TMessage("getRowTs", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }