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



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

def asn1_type
  'endOfMibView'
end

.decode(value_data) ⇒ Object



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

def decode(value_data)
  EndOfMibView
end

.encodeObject



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

def encode
  encode_exception(BER::EndOfMibView_TAG)
end

.to_sObject



550
551
552
# File 'lib/snmp/varbind.rb', line 550

def to_s
  asn1_type
end