public void deleteTable_Process(int seqid, TProtocol iprot, TProtocol oprot) { var args = new deleteTable_args(); args.Read(iprot); iprot.ReadMessageEnd(); var result = new deleteTable_result(); try { this.iface_.deleteTable(args.TableName); } catch (IOError io) { result.Io = io; } oprot.WriteMessageBegin(new TMessage("deleteTable", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void deleteTable_Process(int seqid, TProtocol iprot, TProtocol oprot) { deleteTable_args args = new deleteTable_args(); args.Read(iprot); iprot.ReadMessageEnd(); deleteTable_result result = new deleteTable_result(); try { iface_.deleteTable(args.tableName); } catch (IOError io) { result.io = io; result.__isset.io = true; } catch (NotFound nf) { result.nf = nf; result.__isset.nf = true; } oprot.WriteMessageBegin(new TMessage("deleteTable", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }