Class: SNMP::InformRequest

Inherits:
SNMPv2_Trap show all
Defined in:
lib/snmp/pdu.rb

Overview

The PDU class for SNMPv2 Inform notifications. This class is identical to SNMPv2_Trap.

Constant Summary

Constants inherited from PDU

PDU::ERROR_STATUS_CODE, PDU::ERROR_STATUS_NAME

Instance Attribute Summary

Attributes inherited from SNMPv2_Trap

#source_ip

Attributes inherited from PDU

#error_index, #request_id, #varbind_list

Instance Method Summary collapse

Methods inherited from SNMPv2_Trap

#sys_up_time, #trap_oid

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


303
304
305
# File 'lib/snmp/pdu.rb', line 303

def encode
  encode_pdu(InformRequest_PDU_TAG)
end