public void send_getCoinProducts(PaymentType appStoreCode, string country, string language) #endif { oprot_.WriteMessageBegin(new TMessage("getCoinProducts", TMessageType.Call, seqid_)); getCoinProducts_args args = new getCoinProducts_args(); args.AppStoreCode = appStoreCode; args.Country = country; args.Language = language; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }
public void getCoinProducts_Process(int seqid, TProtocol iprot, TProtocol oprot) { getCoinProducts_args args = new getCoinProducts_args(); args.Read(iprot); iprot.ReadMessageEnd(); getCoinProducts_result result = new getCoinProducts_result(); try { result.Success = iface_.getCoinProducts(args.AppStoreCode, args.Country, args.Language); } catch (TalkException e) { result.E = e; } oprot.WriteMessageBegin(new TMessage("getCoinProducts", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }