SNMP::V1Trap
An RFC 1157 Trap-PDU. It is its own variant of the protocol's PDU CHOICE — not an SNMPv2 trap — so it derives from PDU directly and carries the v1 fields (enterprise, agent address, generic/specific trap, timestamp) itself. The v2-style request-id / error fields inherited from PDU have no meaning in a v1 trap and stay at their defaults.
Constructors
Instance methods
agent_address
Sourceenterprise
Sourcegeneric_trap
Sourcegeneric_trap=(generic_trap : GenericTrap)
Sourcespecific_trap
Sourcetime_ticks
Sourceto_ber(tag_number)
RFC 1157 Trap-PDU wire structure — distinct from the standard PDU layout, so
this overrides PDU#to_ber.