Class: SNMP::NoSuchInstance

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

Class Method Summary collapse

Class Method Details

.asn1_typeObject


503
504
505
# File 'lib/snmp/varbind.rb', line 503

def asn1_type
  'noSuchInstance'
end

.decode(value_data) ⇒ Object


495
496
497
# File 'lib/snmp/varbind.rb', line 495

def decode(value_data)
  NoSuchInstance
end

.encodeObject


499
500
501
# File 'lib/snmp/varbind.rb', line 499

def encode
  encode_exception(NoSuchInstance_TAG)
end

.to_sObject


507
508
509
# File 'lib/snmp/varbind.rb', line 507

def to_s
  asn1_type
end