Exemple #1
0
            private List <vipapis.product.ChannelProduct> recv_getProductList()
            {
                getProductList_result result = new getProductList_result();

                ReceiveBase(result, getProductList_resultHelper.getInstance());

                return(result.GetSuccess());
            }
Exemple #2
0
            private vipapis.product.GetProductListResponse recv_getProductList()
            {
                getProductList_result result = new getProductList_result();

                ReceiveBase(result, getProductList_resultHelper.getInstance());

                return(result.GetSuccess());
            }
Exemple #3
0
 public void getProductList_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   getProductList_args args = new getProductList_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   getProductList_result result = new getProductList_result();
   try {
     result.Success = iface_.getProductList(args.ProductIdList, args.Language, args.Country);
   } catch (TalkException e) {
     result.E = e;
   }
   oprot.WriteMessageBegin(new TMessage("getProductList", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
Exemple #4
0
 public ProductList recv_getProductList()
 {
   TMessage msg = iprot_.ReadMessageBegin();
   if (msg.Type == TMessageType.Exception) {
     TApplicationException x = TApplicationException.Read(iprot_);
     iprot_.ReadMessageEnd();
     throw x;
   }
   getProductList_result result = new getProductList_result();
   result.Read(iprot_);
   iprot_.ReadMessageEnd();
   if (result.__isset.success) {
     return result.Success;
   }
   if (result.__isset.e) {
     throw result.E;
   }
   throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "getProductList failed: unknown result");
 }