public OspfGeneralGroupTracker() { super(NamedSnmpVar.getTrackersFor(ms_elemList)); m_store = new SnmpStore(ms_elemList); }
public IsisSysObjectGroupTracker() { super(NamedSnmpVar.getTrackersFor(ms_elemList)); m_store = new SnmpStore(ms_elemList); }
/** * <P>The class constructor is used to initialize the collector * and send out the initial SNMP packet requesting data. The * data is then received and store by the object. When all the * data has been collected the passed signaler object is <EM>notified</em> * using the notifyAll() method.</P> * * @param address a {@link java.net.InetAddress} object. */ public CiscoVtpTracker() { super(NamedSnmpVar.getTrackersFor(ms_elemList)); m_store = new SnmpStore(ms_elemList); }
public LldpLocalGroupTracker() { super(NamedSnmpVar.getTrackersFor(ms_elemList)); m_store = new SnmpStore(ms_elemList); }
/** * <P>The class constructor is used to initialize the collector * and send out the initial SNMP packet requesting data. The * data is then received and store by the object. When all the * data has been collected the passed signaler object is <EM>notified</em> * using the notifyAll() method.</P> * * @param address a {@link java.net.InetAddress} object. */ public CdpGlobalGroupTracker() { super(NamedSnmpVar.getTrackersFor(ms_elemList)); m_store = new SnmpStore(ms_elemList); }
/** * <P>The class constructor is used to initialize the collector * and send out the initial SNMP packet requesting data. The * data is then received and store by the object. When all the * data has been collected the passed signaler object is <EM>notified</em> * using the notifyAll() method.</P> * * @param address a {@link java.net.InetAddress} object. */ public Dot1dBaseTracker() { super(NamedSnmpVar.getTrackersFor(ms_elemList)); m_store = new SnmpStore(ms_elemList); }
/** * <P> * The class constructor is used to initialize the collector and send out * the initial SNMP packet requesting data. The data is then received and * store by the object. When all the data has been collected the passed * signaler object is <EM>notified</em> using the notifyAll() method. * </P> * * @param address TODO */ public SystemGroup(InetAddress address) { super(NamedSnmpVar.getTrackersFor(ms_elemList)); m_address = address; m_store = new SnmpStore(ms_elemList); }
/** * <P> * The class constructor is used to initialize the collector and send out * the initial SNMP packet requesting data. The data is then received and * store by the object. When all the data has been collected the passed * signaler object is <EM>notified</em> using the notifyAll() method. * </P> * * @param address TODO */ public SystemGroup(InetAddress address) { super(NamedSnmpVar.getTrackersFor(ms_elemList)); m_address = address; m_store = new SnmpStore(ms_elemList); }
public void testStoreResultWithValueThenEndOfMibView() { String baseOid = ".1.3.6.1.2.1.31.1.1.1.18"; String ifAliasName = "ifAlias"; String ifAliasValue = "Foo!"; SnmpStore store = new SnmpStore(new NamedSnmpVar[] { new NamedSnmpVar(NamedSnmpVar.SNMPOCTETSTRING, ifAliasName, baseOid, 18) }); SnmpObjId base = SnmpObjId.get(baseOid); SnmpInstId inst = new SnmpInstId("1"); store.storeResult(new SnmpResult(base, inst, SnmpUtils.getValueFactory().getOctetString(ifAliasValue.getBytes()))); store.storeResult(new SnmpResult(base, inst, SnmpUtils.getValueFactory().getValue(SnmpValue.SNMP_END_OF_MIB, null))); assertEquals("ifAlias value", ifAliasValue, store.getDisplayString(ifAliasName)); } }