public void recv_updatePlanTarget() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } updatePlanTarget_result result = new updatePlanTarget_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); return; }
public void updatePlanTarget_Process(int seqid, TProtocol iprot, TProtocol oprot) { updatePlanTarget_args args = new updatePlanTarget_args(); args.Read(iprot); iprot.ReadMessageEnd(); updatePlanTarget_result result = new updatePlanTarget_result(); iface_.updatePlanTarget(args.AccessKey, args.Query, args.DataMap); oprot.WriteMessageBegin(new TMessage("updatePlanTarget", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }