Пример #1
0
 public void updateTemplate_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   updateTemplate_args args = new updateTemplate_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   updateTemplate_result result = new updateTemplate_result();
   iface_.updateTemplate(args.Username, args.PrimaryKey, args.Title, args.Description, args.Image, args.Video, args.ItemTypes, args.DisplayItems, args.MaxRatingVal, args.NumRecs, args.RecommenderName, args.ClientKey, args.Homepage, args.CreatorName, args.RepoName, args.TableName, args.RatingsColumn);
   oprot.WriteMessageBegin(new TMessage("updateTemplate", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
Пример #2
0
 public void recv_updateTemplate()
 {
   TMessage msg = iprot_.ReadMessageBegin();
   if (msg.Type == TMessageType.Exception) {
     TApplicationException x = TApplicationException.Read(iprot_);
     iprot_.ReadMessageEnd();
     throw x;
   }
   updateTemplate_result result = new updateTemplate_result();
   result.Read(iprot_);
   iprot_.ReadMessageEnd();
   return;
 }