Class: SNMP::VarBind

Class | SNMP::VarBind
In: | lib/snmp/varbind.rb
Parent: | Object

### Methods

asn1_type decode decode_value each encode new to_s to_varbind

### Constants

ValueDecoderMap | = | { INTEGER_TAG => Integer, OCTET_STRING_TAG => OctetString, NULL_TAG => Null, OBJECT_IDENTIFIER_TAG => ObjectId, IpAddress_TAG => IpAddress, Counter32_TAG => Counter32, Gauge32_TAG => Gauge32, # note Gauge32 tag same as Unsigned32 TimeTicks_TAG => TimeTicks, Opaque_TAG => Opaque, Counter64_TAG => Counter64, NoSuchObject_TAG => NoSuchObject, NoSuchInstance_TAG => NoSuchInstance, EndOfMibView_TAG => EndOfMibView

### External Aliases

name | -> | oid

### Attributes

name | [RW] |
value | [RW] |

### Public Class methods

decode(data)
decode_value(data)
new(name, value=Null)

### Public Instance methods

asn1_type()
each() {|self| ...}
encode()
to_s()
to_varbind()

[Validate]