Exemplo n.º 1
0
 public bool recv_isTableEnabled()
 {
     TMessage msg = this.iprot_.ReadMessageBegin();
     if (msg.Type == TMessageType.Exception)
     {
         TApplicationException x = TApplicationException.Read(this.iprot_);
         this.iprot_.ReadMessageEnd();
         throw x;
     }
     var result = new isTableEnabled_result();
     result.Read(this.iprot_);
     this.iprot_.ReadMessageEnd();
     if (result.__isset.success)
     {
         return result.Success;
     }
     if (result.__isset.io)
     {
         throw result.Io;
     }
     throw new TApplicationException(TApplicationException.ExceptionType.MissingResult,
                                     "isTableEnabled failed: unknown result");
 }