Package org.opennms.netmgt.enlinkd.snmp
Class CiscoVtpTracker
- java.lang.Object
-
- org.opennms.netmgt.snmp.CollectionTracker
-
- org.opennms.netmgt.snmp.AggregateTracker
-
- org.opennms.netmgt.enlinkd.snmp.CiscoVtpTracker
-
- All Implemented Interfaces:
Collectable
,ProxiableTracker
public final class CiscoVtpTracker extends AggregateTracker
-
-
Field Summary
Fields Modifier and Type Field Description static NamedSnmpVar[]
ms_elemList
static java.lang.String
VTP_VERSION
the bridge type
-
Constructor Summary
Constructors Constructor Description CiscoVtpTracker()
The class constructor is used to initialize the collector and send out the initial SNMP packet requesting data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integer
getVtpVersion()
getBridgeAddressprotected void
reportFatalErr(ErrorStatusException ex)
protected void
reportGenErr(java.lang.String msg)
protected void
reportNoSuchNameErr(java.lang.String msg)
protected void
storeResult(SnmpResult res)
-
Methods inherited from class org.opennms.netmgt.snmp.AggregateTracker
buildNextPdu, getWalkRequests, handleWalkResponses, isFinished, setFailed, setMaxRepetitions, setMaxRetries, setTimedOut
-
Methods inherited from class org.opennms.netmgt.snmp.CollectionTracker
failed, getCollectionTracker, getParent, reportNonFatalErr, reportTooBigErr, setFinished, setParent, timedOut
-
-
-
-
Field Detail
-
VTP_VERSION
public static final java.lang.String VTP_VERSION
the bridge type- See Also:
- Constant Field Values
-
ms_elemList
public static final NamedSnmpVar[] ms_elemList
-
-
Constructor Detail
-
CiscoVtpTracker
public CiscoVtpTracker()
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 notified using the notifyAll() method.
- Parameters:
address
- aInetAddress
object.
-
-
Method Detail
-
storeResult
protected void storeResult(SnmpResult res)
- Overrides:
storeResult
in classCollectionTracker
-
reportGenErr
protected void reportGenErr(java.lang.String msg)
- Overrides:
reportGenErr
in classCollectionTracker
-
reportNoSuchNameErr
protected void reportNoSuchNameErr(java.lang.String msg)
- Overrides:
reportNoSuchNameErr
in classCollectionTracker
-
reportFatalErr
protected void reportFatalErr(ErrorStatusException ex)
- Overrides:
reportFatalErr
in classCollectionTracker
-
getVtpVersion
public java.lang.Integer getVtpVersion()
getBridgeAddress
- Returns:
- a
Integer
object.
-
-