public void send_drop_table(string dbname, string name, bool deleteData) { oprot_.WriteMessageBegin(new TMessage("drop_table", TMessageType.Call, seqid_)); drop_table_args args = new drop_table_args(); args.Dbname = dbname; args.Name = name; args.DeleteData = deleteData; args.Write(oprot_); oprot_.WriteMessageEnd(); oprot_.Transport.Flush(); }
public void drop_table_Process(int seqid, TProtocol iprot, TProtocol oprot) { drop_table_args args = new drop_table_args(); args.Read(iprot); iprot.ReadMessageEnd(); drop_table_result result = new drop_table_result(); try { iface_.drop_table(args.Dbname, args.Name, args.DeleteData); } catch (NoSuchObjectException o1) { result.O1 = o1; } catch (MetaException o3) { result.O3 = o3; } oprot.WriteMessageBegin(new TMessage("drop_table", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }