public void send_blockRecommendation(int reqSeq, string id) #endif { oprot_.WriteMessageBegin(new TMessage("blockRecommendation", TMessageType.Call, seqid_)); blockRecommendation_args args = new blockRecommendation_args(); args.ReqSeq = reqSeq; args.Id = id; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }
public void blockRecommendation_Process(int seqid, TProtocol iprot, TProtocol oprot) { blockRecommendation_args args = new blockRecommendation_args(); args.Read(iprot); iprot.ReadMessageEnd(); blockRecommendation_result result = new blockRecommendation_result(); try { iface_.blockRecommendation(args.ReqSeq, args.Id); } catch (TalkException e) { result.E = e; } oprot.WriteMessageBegin(new TMessage("blockRecommendation", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }