public Dictionary<string, string> recv_getPlanTarget() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } getPlanTarget_result result = new getPlanTarget_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); if (result.__isset.success) { return result.Success; } throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "getPlanTarget failed: unknown result"); }
public void getPlanTarget_Process(int seqid, TProtocol iprot, TProtocol oprot) { getPlanTarget_args args = new getPlanTarget_args(); args.Read(iprot); iprot.ReadMessageEnd(); getPlanTarget_result result = new getPlanTarget_result(); result.Success = iface_.getPlanTarget(args.AccessKey, args.DataMap); oprot.WriteMessageBegin(new TMessage("getPlanTarget", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }