public void send_getCurrentOnJobWorkerNums(string accessKey, THashSet<string> entityIds) #endif { oprot_.WriteMessageBegin(new TMessage("getCurrentOnJobWorkerNums", TMessageType.Call, seqid_)); getCurrentOnJobWorkerNums_args args = new getCurrentOnJobWorkerNums_args(); args.AccessKey = accessKey; args.EntityIds = entityIds; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }
public void getCurrentOnJobWorkerNums_Process(int seqid, TProtocol iprot, TProtocol oprot) { getCurrentOnJobWorkerNums_args args = new getCurrentOnJobWorkerNums_args(); args.Read(iprot); iprot.ReadMessageEnd(); getCurrentOnJobWorkerNums_result result = new getCurrentOnJobWorkerNums_result(); result.Success = iface_.getCurrentOnJobWorkerNums(args.AccessKey, args.EntityIds); oprot.WriteMessageBegin(new TMessage("getCurrentOnJobWorkerNums", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }