--- !ruby/object:RI::ClassDescription 
attributes: []

class_methods: 
- !ruby/object:RI::MethodSummary 
  name: new
comment: 
- !ruby/struct:SM::Flow::H 
  level: 2
  text: SNMP Trap Listener
- !ruby/struct:SM::Flow::P 
  body: Listens to a socket and processes received traps and informs in a separate thread.
- !ruby/struct:SM::Flow::H 
  level: 3
  text: Example
- !ruby/struct:SM::Flow::VERB 
  body: "  require 'snmp'\n\n  m = SNMP::TrapListener.new(:Port =&gt; 1062, :Community =&gt; 'public') do |manager|\n    manager.on_trap_default { |trap| p trap }\n  end\n  m.join\n"
constants: 
- !ruby/object:RI::Constant 
  comment: 
  name: DefaultConfig
  value: "{         :Host => 'localhost',         :Port => 162,         :Community => 'public',         :ServerTransport => UDPServerTransport,         :MaxReceiveBytes => 8000}"
- !ruby/object:RI::Constant 
  comment: 
  name: NULL_HANDLER
  value: Proc.new {}
full_name: SNMP::TrapListener
includes: []

instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: exit
- !ruby/object:RI::MethodSummary 
  name: join
- !ruby/object:RI::MethodSummary 
  name: kill
- !ruby/object:RI::MethodSummary 
  name: on_trap
- !ruby/object:RI::MethodSummary 
  name: on_trap_default
- !ruby/object:RI::MethodSummary 
  name: on_trap_v1
- !ruby/object:RI::MethodSummary 
  name: on_trap_v2c
- !ruby/object:RI::MethodSummary 
  name: terminate
name: TrapListener
superclass: Object
