class

SNMP::VarBind

Inherits Reference / Object

Constructors

from_value(oid, value) : VarBind

Build a VarBind assigning value to oid. Accepts a typed SNMP value (TypedValue), a Crystal primitive, a raw ASN1::BER, or a pre-built VarBind (whose OID is then set to oid).

Source
new(ber : ASN1::BER)
Source
new(oid : String, tag_number = UniversalTags::Null)
Source

Instance methods

end_of_mib_view?

endOfMibView[2] — a GetNext/GetBulk walked past the end of the MIB view.

Source
exception?

True for any of the three SNMPv2 exception values.

Source
get_unsigned32
Source
get_unsigned64
Source
no_such_instance?

noSuchInstance[1] — the object exists but this instance does not.

Source
no_such_object?

noSuchObject[0] — the requested object does not exist.

Source
oid=(oid : String)
Source
set_unsigned32(data)
Source
set_unsigned64(data)
Source
to_ber
Source
value
Source
value=(value : ASN1::BER)
Source

Macros

method_missing(call)

Proxy missing methods (with their arguments and block) to the BER value.

Source