class SNMP::V1Trap

Defined in:

snmp/v1_trap.cr

Constructors

Instance Method Summary

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) #

[View source]
def self.new(ber : ASN1::BER) #

[View source]

Instance Method Detail

def agent_address : String #

[View source]
def agent_address=(agent_address : String) #

[View source]
def generic_trap : GenericTrap #

[View source]
def generic_trap=(generic_trap : GenericTrap) #

[View source]
def specific_trap : Int32 #

[View source]
def specific_trap=(specific_trap : Int32) #

[View source]