Esempio n. 1
0
 public Dictionary<string, long> recv_getOriProductOutputNums()
 {
   TMessage msg = iprot_.ReadMessageBegin();
   if (msg.Type == TMessageType.Exception) {
     TApplicationException x = TApplicationException.Read(iprot_);
     iprot_.ReadMessageEnd();
     throw x;
   }
   getOriProductOutputNums_result result = new getOriProductOutputNums_result();
   result.Read(iprot_);
   iprot_.ReadMessageEnd();
   if (result.__isset.success) {
     return result.Success;
   }
   throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "getOriProductOutputNums failed: unknown result");
 }
Esempio n. 2
0
 public void getOriProductOutputNums_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   getOriProductOutputNums_args args = new getOriProductOutputNums_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   getOriProductOutputNums_result result = new getOriProductOutputNums_result();
   result.Success = iface_.getOriProductOutputNums(args.AccessKey, args.EntityIds, args.StartTime, args.EndTime);
   oprot.WriteMessageBegin(new TMessage("getOriProductOutputNums", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }