class SNMP::Trap
- SNMP::Trap
- SNMP::PDU
- Reference
- Object
Overview
https://tools.ietf.org/search/rfc3416#section-4.2.6
Direct Known Subclasses
Defined in:
snmp/trap.crConstructors
Instance Method Summary
-
#oid : String
shortcut for
.varbinds[0].oid
- #oid=(oid : String)
- #time_ticks : UInt32
- #time_ticks=(time_ticks : UInt32)
Instance methods inherited from class SNMP::PDU
error_index : ErrorIndex
error_index,
error_index=(error_index : ErrorIndex)
error_index=,
error_status : ErrorStatus
error_status,
error_status=(error_status : ErrorStatus)
error_status=,
new_request_id
new_request_id,
oid
oid,
request_id : Int32
request_id,
request_id=(request_id : Int32)
request_id=,
to_ber(tag_number)
to_ber,
value
value,
varbinds : Array(VarBind)
varbinds,
varbinds=(varbinds : Array(VarBind))
varbinds=
Constructor methods inherited from class SNMP::PDU
new(ber : ASN1::BER)new(request_id : Int32 = rand(2147483647), varbinds : Array(VarBind) = [] of VarBind, error_status : SNMP::ErrorStatus = ErrorStatus::NoError, error_index : SNMP::ErrorIndex = ErrorIndex::NoError)
new(request_id : Int32 = rand(2147483647), varbind : VarBind | Nil = nil, error_status : SNMP::ErrorStatus = ErrorStatus::NoError, error_index : SNMP::ErrorIndex = ErrorIndex::NoError) new
Constructor Detail
Instance Method Detail
def oid : String
#