--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Start a trap handler thread. If a block is provided then the block is executed before trap handling begins. This block is typically used to define the trap handler blocks.
- !ruby/struct:SM::Flow::P 
  body: The trap handler blocks execute in the context of the trap handler thread.
- !ruby/struct:SM::Flow::P 
  body: "The most specific trap handler is executed when a trap arrives. Only one handler is executed. The handlers are checked in the following order:"
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "1."
    body: handler for a specific OID
  - !ruby/struct:SM::Flow::LI 
    label: "2."
    body: handler for a specific SNMP version
  - !ruby/struct:SM::Flow::LI 
    label: "3."
    body: default handler
  type: :NUMBER
full_name: SNMP::TrapListener::new
is_singleton: true
name: new
params: (config={}, &block)
visibility: public
