public void checkCorrectDatahubLogin_Process(int seqid, TProtocol iprot, TProtocol oprot) { checkCorrectDatahubLogin_args args = new checkCorrectDatahubLogin_args(); args.Read(iprot); iprot.ReadMessageEnd(); checkCorrectDatahubLogin_result result = new checkCorrectDatahubLogin_result(); result.Success = iface_.checkCorrectDatahubLogin(args.Username, args.Repository, args.Table, args.Primary_key, args.Title, args.Description, args.Image); oprot.WriteMessageBegin(new TMessage("checkCorrectDatahubLogin", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_checkCorrectDatahubLogin(string username, string repository, string table, string primary_key, string title, string description, string image) #endif { oprot_.WriteMessageBegin(new TMessage("checkCorrectDatahubLogin", TMessageType.Call, seqid_)); checkCorrectDatahubLogin_args args = new checkCorrectDatahubLogin_args(); args.Username = username; args.Repository = repository; args.Table = table; args.Primary_key = primary_key; args.Title = title; args.Description = description; args.Image = image; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }