class SNMP::V1Trap
- SNMP::V1Trap
- SNMP::Trap
- SNMP::PDU
- Reference
- Object
Defined in:
snmp/v1_trap.crConstructors
- .new(agent_address : String, generic_trap : SNMP::GenericTrap, specific_trap : Int32, **args)
- .new(ber : ASN1::BER)
Instance Method Summary
- #agent_address : String
- #agent_address=(agent_address : String)
- #generic_trap : GenericTrap
- #generic_trap=(generic_trap : GenericTrap)
- #specific_trap : Int32
- #specific_trap=(specific_trap : Int32)
Instance methods inherited from class SNMP::Trap
oid : String
oid,
oid=(oid : String)
oid=,
time_ticks : UInt32
time_ticks,
time_ticks=(time_ticks : UInt32)
time_ticks=
Constructor methods inherited from class SNMP::Trap
new(ber : ASN1::BER)new(oid : String, time_ticks : UInt32 = 0, **args) new
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
def self.new(agent_address : String, generic_trap : SNMP::GenericTrap, specific_trap : Int32, **args)
#