示例#1
0
 public void recv_addProductInspect()
 {
   TMessage msg = iprot_.ReadMessageBegin();
   if (msg.Type == TMessageType.Exception) {
     TApplicationException x = TApplicationException.Read(iprot_);
     iprot_.ReadMessageEnd();
     throw x;
   }
   addProductInspect_result result = new addProductInspect_result();
   result.Read(iprot_);
   iprot_.ReadMessageEnd();
   return;
 }
示例#2
0
 public void addProductInspect_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   addProductInspect_args args = new addProductInspect_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   addProductInspect_result result = new addProductInspect_result();
   iface_.addProductInspect(args.AccessKey, args.DataMap);
   oprot.WriteMessageBegin(new TMessage("addProductInspect", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }