Class: SNMP::NoSuchInstance
- Inherits:
-
Object
- Object
- SNMP::NoSuchInstance
show all
- Extended by:
- BER::Encode
- Defined in:
- lib/snmp/varbind.rb
Class Method Summary
collapse
encode_exception, encode_integer, encode_length, encode_null, encode_object_id, encode_octet_string, encode_sequence, encode_tagged_integer, encode_tlv, integer_to_octets
Class Method Details
.asn1_type ⇒ Object
519
520
521
|
# File 'lib/snmp/varbind.rb', line 519
def asn1_type
'noSuchInstance'
end
|
.decode(value_data) ⇒ Object
511
512
513
|
# File 'lib/snmp/varbind.rb', line 511
def decode(value_data)
NoSuchInstance
end
|
.encode ⇒ Object
515
516
517
|
# File 'lib/snmp/varbind.rb', line 515
def encode
encode_exception(BER::NoSuchInstance_TAG)
end
|
.to_s ⇒ Object
523
524
525
|
# File 'lib/snmp/varbind.rb', line 523
def to_s
asn1_type
end
|