Exemplo n.º 1
0
 public void getVerTs_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     var args = new getVerTs_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     var result = new getVerTs_result();
     try
     {
         result.Success = this.iface_.getVerTs(args.TableName, args.Row, args.Column, args.Timestamp,
                                               args.NumVersions);
     }
     catch (IOError io)
     {
         result.Io = io;
     }
     oprot.WriteMessageBegin(new TMessage("getVerTs", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }
Exemplo n.º 2
0
 public void getVerTs_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     getVerTs_args args = new getVerTs_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     getVerTs_result result = new getVerTs_result();
     try {
       result.success = iface_.getVerTs(args.tableName, args.row, args.column, args.timestamp, args.numVersions);
       result.__isset.success = true;
     } catch (IOError io) {
       result.io = io;
       result.__isset.io = true;
     } catch (NotFound nf) {
       result.nf = nf;
       result.__isset.nf = true;
     }
     oprot.WriteMessageBegin(new TMessage("getVerTs", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }