Class: SNMP::GetBulkRequest

Inherits:
PDU
  • Object
show all
Defined in:
lib/snmp/pdu.rb

Constant Summary

Constants inherited from PDU

PDU::ERROR_STATUS_CODE, PDU::ERROR_STATUS_NAME

Instance Attribute Summary

Attributes inherited from PDU

#error_index, #request_id, #varbind_list

Instance Method Summary collapse

Methods inherited from PDU

decode, #each_varbind, #encode_pdu, #error_status, #error_status=, #initialize

Constructor Details

This class inherits a constructor from SNMP::PDU

Instance Method Details

#encodeObject


225
226
227
# File 'lib/snmp/pdu.rb', line 225

def encode
  encode_pdu(GetBulkRequest_PDU_TAG)
end

#non_repeatersObject


233
234
235
# File 'lib/snmp/pdu.rb', line 233

def non_repeaters
  @error_status
end

#non_repeaters=(number) ⇒ Object


229
230
231
# File 'lib/snmp/pdu.rb', line 229

def non_repeaters=(number)
  @error_status = number
end