Class: Rdkafka::Callbacks::IncrementalAlterConfigsResult
- Inherits:
 - 
      Object
      
        
- Object
 - Rdkafka::Callbacks::IncrementalAlterConfigsResult
 
 
- Defined in:
 - lib/rdkafka/callbacks.rb
 
Instance Attribute Summary collapse
- 
  
    
      #error_string  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute error_string.
 - 
  
    
      #result_error  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute result_error.
 - 
  
    
      #results  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute results.
 - 
  
    
      #results_count  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute results_count.
 
Instance Method Summary collapse
- 
  
    
      #initialize(event_ptr)  ⇒ IncrementalAlterConfigsResult 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of IncrementalAlterConfigsResult.
 
Constructor Details
#initialize(event_ptr) ⇒ IncrementalAlterConfigsResult
Returns a new instance of IncrementalAlterConfigsResult.
      136 137 138 139 140 141 142 143 144 145 146 147 148  | 
    
      # File 'lib/rdkafka/callbacks.rb', line 136 def initialize(event_ptr) @results=[] @result_error = Rdkafka::Bindings.rd_kafka_event_error(event_ptr) @error_string = Rdkafka::Bindings.rd_kafka_event_error_string(event_ptr) if @result_error == 0 incremental_alter_result = Rdkafka::Bindings.rd_kafka_event_IncrementalAlterConfigs_result(event_ptr) # Get the number of matching acls pointer_to_size_t = FFI::MemoryPointer.new(:int32) @results = Rdkafka::Bindings.rd_kafka_IncrementalAlterConfigs_result_resources(incremental_alter_result, pointer_to_size_t) @results_count = pointer_to_size_t.read_int end end  | 
  
Instance Attribute Details
#error_string ⇒ Object (readonly)
Returns the value of attribute error_string.
      134 135 136  | 
    
      # File 'lib/rdkafka/callbacks.rb', line 134 def error_string @error_string end  | 
  
#result_error ⇒ Object (readonly)
Returns the value of attribute result_error.
      134 135 136  | 
    
      # File 'lib/rdkafka/callbacks.rb', line 134 def result_error @result_error end  | 
  
#results ⇒ Object (readonly)
Returns the value of attribute results.
      134 135 136  | 
    
      # File 'lib/rdkafka/callbacks.rb', line 134 def results @results end  | 
  
#results_count ⇒ Object (readonly)
Returns the value of attribute results_count.
      134 135 136  | 
    
      # File 'lib/rdkafka/callbacks.rb', line 134 def results_count @results_count end  |