Sha256: b6c75319bb02d59d5c0363a8675800a8919e8dee4296f6f7961f9b1206d357a6

Contents?: true

Size: 392 Bytes

Versions: 4

Compression:

Stored size: 392 Bytes

Contents

require 'snmpjr/configuration'
require 'snmpjr/pdu_v2c'
require 'snmpjr/target_v2c'
require 'snmpjr/session_v2c'

class Snmpjr
  class ConfigurationV2C < Configuration
    attr_accessor :community

    def create_pdu
      Snmpjr::PduV2C.new
    end

    def create_target
      Snmpjr::TargetV2C.new.create self
    end

    def create_session
      Snmpjr::SessionV2C.new
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
snmpjr-0.3.3-java lib/snmpjr/configuration_v2c.rb
snmpjr-0.3.2-java lib/snmpjr/configuration_v2c.rb
snmpjr-0.3.1-java lib/snmpjr/configuration_v2c.rb
snmpjr-0.3.0-java lib/snmpjr/configuration_v2c.rb