public void send_getCoinUseAndRefundHistory(CoinHistoryCondition request) #endif { oprot_.WriteMessageBegin(new TMessage("getCoinUseAndRefundHistory", TMessageType.Call, seqid_)); getCoinUseAndRefundHistory_args args = new getCoinUseAndRefundHistory_args(); args.Request = request; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }
public void getCoinUseAndRefundHistory_Process(int seqid, TProtocol iprot, TProtocol oprot) { getCoinUseAndRefundHistory_args args = new getCoinUseAndRefundHistory_args(); args.Read(iprot); iprot.ReadMessageEnd(); getCoinUseAndRefundHistory_result result = new getCoinUseAndRefundHistory_result(); try { result.Success = iface_.getCoinUseAndRefundHistory(args.Request); } catch (TalkException e) { result.E = e; } oprot.WriteMessageBegin(new TMessage("getCoinUseAndRefundHistory", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }