public void recv_blockRecommendation() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } blockRecommendation_result result = new blockRecommendation_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); if (result.__isset.e) { throw result.E; } return; }
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(); }