public void getVer_Process(int seqid, TProtocol iprot, TProtocol oprot) { var args = new getVer_args(); args.Read(iprot); iprot.ReadMessageEnd(); var result = new getVer_result(); try { result.Success = this.iface_.getVer(args.TableName, args.Row, args.Column, args.NumVersions); } catch (IOError io) { result.Io = io; } oprot.WriteMessageBegin(new TMessage("getVer", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void getVer_Process(int seqid, TProtocol iprot, TProtocol oprot) { getVer_args args = new getVer_args(); args.Read(iprot); iprot.ReadMessageEnd(); getVer_result result = new getVer_result(); try { result.success = iface_.getVer(args.tableName, args.row, args.column, 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("getVer", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }