Ejemplo n.º 1
0
 public void getOnJobTotalTimes_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   getOnJobTotalTimes_args args = new getOnJobTotalTimes_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   getOnJobTotalTimes_result result = new getOnJobTotalTimes_result();
   result.Success = iface_.getOnJobTotalTimes(args.AccessKey, args.EntityIds, args.StartTime, args.EndTime);
   oprot.WriteMessageBegin(new TMessage("getOnJobTotalTimes", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
Ejemplo n.º 2
0
 public void send_getOnJobTotalTimes(string accessKey, THashSet<string> entityIds, long startTime, long endTime)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("getOnJobTotalTimes", TMessageType.Call, seqid_));
   getOnJobTotalTimes_args args = new getOnJobTotalTimes_args();
   args.AccessKey = accessKey;
   args.EntityIds = entityIds;
   args.StartTime = startTime;
   args.EndTime = endTime;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }