class SNMP::Client
- SNMP::Client
- Reference
- Object
Defined in:
snmp/client.crConstructors
- .new(host : String, session : SNMP::Session | SNMP::V3::Session, timeout : Int32 = 3, port : Int32 = 161)
- .new(host : String, community = "public", timeout : Int32 = 3, port : Int32 = 161)
Instance Method Summary
- #get(oid : String) : SNMP::Message
- #get_next(oid : String) : SNMP::Message
- #host : String
- #port : Int32
- #session : SNMP::Session | SNMP::V3::Session
- #socket : UDPSocket
- #timeout : Int32
- #walk(oid : String) : Array(SNMP::Message)
- #walk(oid : String, &)
Constructor Detail
def self.new(host : String, session : SNMP::Session | SNMP::V3::Session, timeout : Int32 = 3, port : Int32 = 161)
#