public Dictionary<string, long> recv_getFTRProductNums() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } getFTRProductNums_result result = new getFTRProductNums_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); if (result.__isset.success) { return result.Success; } throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "getFTRProductNums failed: unknown result"); }
public void getFTRProductNums_Process(int seqid, TProtocol iprot, TProtocol oprot) { getFTRProductNums_args args = new getFTRProductNums_args(); args.Read(iprot); iprot.ReadMessageEnd(); getFTRProductNums_result result = new getFTRProductNums_result(); result.Success = iface_.getFTRProductNums(args.AccessKey, args.EntityIds, args.StartTime, args.EndTime); oprot.WriteMessageBegin(new TMessage("getFTRProductNums", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }