Exemple #1
0
 public void configurePrefilledUserRatings_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   configurePrefilledUserRatings_args args = new configurePrefilledUserRatings_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   configurePrefilledUserRatings_result result = new configurePrefilledUserRatings_result();
   iface_.configurePrefilledUserRatings(args.Username, args.RepoName, args.PrimaryKey, args.ItemTable, args.TableName, args.UserIdCol, args.ItemIdCol, args.UserRatingCol);
   oprot.WriteMessageBegin(new TMessage("configurePrefilledUserRatings", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }
Exemple #2
0
 public void send_configurePrefilledUserRatings(string username, string repoName, string primaryKey, string itemTable, string tableName, string userIdCol, string itemIdCol, string userRatingCol)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("configurePrefilledUserRatings", TMessageType.Call, seqid_));
   configurePrefilledUserRatings_args args = new configurePrefilledUserRatings_args();
   args.Username = username;
   args.RepoName = repoName;
   args.PrimaryKey = primaryKey;
   args.ItemTable = itemTable;
   args.TableName = tableName;
   args.UserIdCol = userIdCol;
   args.ItemIdCol = itemIdCol;
   args.UserRatingCol = userRatingCol;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }