public void recv_enableTable() { TMessage msg = this.iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(this.iprot_); this.iprot_.ReadMessageEnd(); throw x; } var result = new enableTable_result(); result.Read(this.iprot_); this.iprot_.ReadMessageEnd(); if (result.__isset.io) { throw result.Io; } return; }
public void enableTable_Process(int seqid, TProtocol iprot, TProtocol oprot) { var args = new enableTable_args(); args.Read(iprot); iprot.ReadMessageEnd(); var result = new enableTable_result(); try { this.iface_.enableTable(args.TableName); } catch (IOError io) { result.Io = io; } oprot.WriteMessageBegin(new TMessage("enableTable", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }