Class: SNMP::Counter32
- Inherits:
-
UnsignedInteger
- Object
- Integer
- UnsignedInteger
- SNMP::Counter32
- Defined in:
- lib/snmp/varbind.rb
Instance Method Summary collapse
Methods inherited from UnsignedInteger
Methods inherited from Integer
#<=>, #coerce, decode, #initialize, #to_f, #to_i, #to_oid, #to_s
Constructor Details
This class inherits a constructor from SNMP::UnsignedInteger
Instance Method Details
#asn1_type ⇒ Object
327 328 329 |
# File 'lib/snmp/varbind.rb', line 327 def asn1_type "Counter32" end |
#encode ⇒ Object
331 332 333 |
# File 'lib/snmp/varbind.rb', line 331 def encode encode_tagged_integer(Counter32_TAG, @value) end |