Class: Net::SNMP

Inherits:
Object
  • Object
show all
Defined in:
lib/net/snmp.rb

Defined Under Namespace

Classes: Counter32, Gauge32, TimeTicks32

Constant Summary collapse

VERSION =
'0.2.2'
AsnSyntax =
Net::BER.compile_syntax({
    :application => {
	:primitive => {
	    1 => :integer,	# Counter32, (RFC2578 sec 2)
	    2 => :integer,	# Gauge32 or Unsigned32, (RFC2578 sec 2)
	    3 => :integer	# TimeTicks32, (RFC2578 sec 2)
	},
	:constructed => {
	}
    },
    :context_specific => {
	:primitive => {
	},
	:constructed => {
	    0 => :array,	# GetRequest PDU (RFC1157 pgh 4.1.2)
	    1 => :array,	# GetNextRequest PDU (RFC1157 pgh 4.1.3)
	    2 => :array		# GetResponse PDU (RFC1157 pgh 4.1.4)
	}
    }
})