public void createNewRecommender_Process(int seqid, TProtocol iprot, TProtocol oprot) { createNewRecommender_args args = new createNewRecommender_args(); args.Read(iprot); iprot.ReadMessageEnd(); createNewRecommender_result result = new createNewRecommender_result(); result.Success = iface_.createNewRecommender(args.Username, args.PrimaryKey, args.Database, args.Table, args.Title, args.Description, args.Image, args.Ratings_column, args.ClientKey); oprot.WriteMessageBegin(new TMessage("createNewRecommender", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_createNewRecommender(string username, string primaryKey, string database, string table, string title, string description, string image, string ratings_column, string clientKey) #endif { oprot_.WriteMessageBegin(new TMessage("createNewRecommender", TMessageType.Call, seqid_)); createNewRecommender_args args = new createNewRecommender_args(); args.Username = username; args.PrimaryKey = primaryKey; args.Database = database; args.Table = table; args.Title = title; args.Description = description; args.Image = image; args.Ratings_column = ratings_column; args.ClientKey = clientKey; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }