Esempio n. 1
0
 public void send_getPlanTarget(string accessKey, Dictionary<string, string> dataMap)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("getPlanTarget", TMessageType.Call, seqid_));
   getPlanTarget_args args = new getPlanTarget_args();
   args.AccessKey = accessKey;
   args.DataMap = dataMap;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Esempio n. 2
0
 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();
 }