Sha256: 7d074354eb4af7383ef3e289393d36928f4fcb2bf6ef523b09a8ee68ecd30c6c
Contents?: true
Size: 393 Bytes
Versions: 3
Compression:
Stored size: 393 Bytes
Contents
require 'snmpjr/pdu_v2c' require 'snmpjr/wrappers/snmp4j' require 'snmpjr/wrappers/smi' class Snmpjr class PduV3 < Snmpjr::PduV2C def initialize context = '' @context_name = Snmpjr::Wrappers::SMI::OctetString.new(context) end private def create_new_pdu pdu = Snmpjr::Wrappers::ScopedPDU.new pdu.context_name = @context_name pdu end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
snmpjr-0.3.3-java | lib/snmpjr/pdu_v3.rb |
snmpjr-0.3.2-java | lib/snmpjr/pdu_v3.rb |
snmpjr-0.3.1-java | lib/snmpjr/pdu_v3.rb |