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