Class: SNMP::EndOfMibView

Inherits:
Object
  • Object
show all
Extended by:
BER::Encode
Defined in:
lib/snmp/varbind.rb

Class Method Summary collapse

Methods included from BER::Encode

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_typeObject



541
542
543
# File 'lib/snmp/varbind.rb', line 541

def asn1_type
  'endOfMibView'
end

.decode(value_data) ⇒ Object



533
534
535
# File 'lib/snmp/varbind.rb', line 533

def decode(value_data)
  EndOfMibView
end

.encodeObject



537
538
539
# File 'lib/snmp/varbind.rb', line 537

def encode
  encode_exception(BER::EndOfMibView_TAG)
end

.to_sObject



545
546
547
# File 'lib/snmp/varbind.rb', line 545

def to_s
  asn1_type
end