Class: Rdkafka::Admin::DeleteTopicReport
- Inherits:
 - 
      Object
      
        
- Object
 - Rdkafka::Admin::DeleteTopicReport
 
 
- Defined in:
 - lib/rdkafka/admin/delete_topic_report.rb
 
Instance Attribute Summary collapse
- 
  
    
      #error_string  ⇒ String 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Any error message generated from the DeleteTopic.
 - 
  
    
      #result_name  ⇒ String 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
The name of the topic deleted.
 
Instance Method Summary collapse
- 
  
    
      #initialize(error_string, result_name)  ⇒ DeleteTopicReport 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of DeleteTopicReport.
 
Constructor Details
#initialize(error_string, result_name) ⇒ DeleteTopicReport
Returns a new instance of DeleteTopicReport.
      14 15 16 17 18 19 20 21  | 
    
      # File 'lib/rdkafka/admin/delete_topic_report.rb', line 14 def initialize(error_string, result_name) if error_string != FFI::Pointer::NULL @error_string = error_string.read_string end if result_name != FFI::Pointer::NULL @result_name = result_name.read_string end end  | 
  
Instance Attribute Details
#error_string ⇒ String (readonly)
Any error message generated from the DeleteTopic
      8 9 10  | 
    
      # File 'lib/rdkafka/admin/delete_topic_report.rb', line 8 def error_string @error_string end  | 
  
#result_name ⇒ String (readonly)
The name of the topic deleted
      12 13 14  | 
    
      # File 'lib/rdkafka/admin/delete_topic_report.rb', line 12 def result_name @result_name end  |