Class: Net::SNMP::TimeTicks32
- Inherits:
-
Object
- Object
- Net::SNMP::TimeTicks32
- Defined in:
- lib/net/snmp.rb
Overview
SNMP 32-bit timer-ticks. Defined in RFC1155 (Structure of Mangement Information), section 6. A 32-bit counter is an ASN.1 application [3] implicit unsigned integer.
Instance Method Summary collapse
-
#initialize(value) ⇒ TimeTicks32
constructor
A new instance of TimeTicks32.
- #to_ber ⇒ Object
Constructor Details
#initialize(value) ⇒ TimeTicks32
Returns a new instance of TimeTicks32.
87 88 89 |
# File 'lib/net/snmp.rb', line 87 def initialize value @value = value end |
Instance Method Details
#to_ber ⇒ Object
90 91 92 |
# File 'lib/net/snmp.rb', line 90 def to_ber @value.to_ber_application(3) end |