Class: SNMP::TrapListener::Config

Inherits:
Options
  • Object
show all
Defined in:
lib/snmp/manager.rb

Instance Attribute Summary

Attributes inherited from Options

#applied_config

Instance Method Summary collapse

Methods inherited from Options

choose_transport, default_modules, #initialize, ipv6_address?, option, #socket_address_family, #validate_keys

Constructor Details

This class inherits a constructor from SNMP::Options

Instance Method Details

#create_transportObject



584
585
586
587
# File 'lib/snmp/manager.rb', line 584

def create_transport
  server_transport.respond_to?(:new) ?
      server_transport.new(host, port, socket_address_family) : server_transport
end