public void send_getActivePurchases(long start, int size, string language, string country) #endif { oprot_.WriteMessageBegin(new TMessage("getActivePurchases", TMessageType.Call, seqid_)); getActivePurchases_args args = new getActivePurchases_args(); args.Start = start; args.Size = size; args.Language = language; args.Country = country; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }
public void getActivePurchases_Process(int seqid, TProtocol iprot, TProtocol oprot) { getActivePurchases_args args = new getActivePurchases_args(); args.Read(iprot); iprot.ReadMessageEnd(); getActivePurchases_result result = new getActivePurchases_result(); try { result.Success = iface_.getActivePurchases(args.Start, args.Size, args.Language, args.Country); } catch (TalkException e) { result.E = e; } oprot.WriteMessageBegin(new TMessage("getActivePurchases", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }