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 List<TCell> recv_getVer() { TMessage msg = this.iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(this.iprot_); this.iprot_.ReadMessageEnd(); throw x; } var result = new getVer_result(); result.Read(this.iprot_); this.iprot_.ReadMessageEnd(); if (result.__isset.success) { return result.Success; } if (result.__isset.io) { throw result.Io; } throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "getVer failed: unknown result"); }
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(); }