예제 #1
0
 public void getProductListWithCarrier_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   getProductListWithCarrier_args args = new getProductListWithCarrier_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   getProductListWithCarrier_result result = new getProductListWithCarrier_result();
   try {
     result.Success = iface_.getProductListWithCarrier(args.ProductIdList, args.Language, args.Country, args.CarrierCode);
   } catch (TalkException e) {
     result.E = e;
   }
   oprot.WriteMessageBegin(new TMessage("getProductListWithCarrier", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
예제 #2
0
 public void send_getProductListWithCarrier(List<string> productIdList, string language, string country, string carrierCode)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("getProductListWithCarrier", TMessageType.Call, seqid_));
   getProductListWithCarrier_args args = new getProductListWithCarrier_args();
   args.ProductIdList = productIdList;
   args.Language = language;
   args.Country = country;
   args.CarrierCode = carrierCode;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }