Package org.opennms.netmgt.enlinkd.snmp
Class CdpGlobalGroupTracker
- java.lang.Object
-
- org.opennms.netmgt.snmp.CollectionTracker
-
- org.opennms.netmgt.snmp.AggregateTracker
-
- org.opennms.netmgt.enlinkd.snmp.CdpGlobalGroupTracker
-
- All Implemented Interfaces:
Collectable,ProxiableTracker
public final class CdpGlobalGroupTracker extends AggregateTracker
Dot1dBaseGroup holds the dot1dBridge.dot1dBase group properties It implements the SnmpHandler to receive notifications when a reply is received/error occurs in the SnmpSession used to send requests/receive replies.
- Version:
- $Id: $
- Author:
- Antonio Russo
- See Also:
- RFC1213
-
-
Field Summary
Fields Modifier and Type Field Description static StringCDP_GLOBAL_DEVICEIDstatic StringCDP_GLOBAL_DEVICEID_FORMATstatic StringCDP_GLOBAL_RUNthe bridge typestatic NamedSnmpVar[]ms_elemList
-
Constructor Summary
Constructors Constructor Description CdpGlobalGroupTracker()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 StringgetCdpDeviceId()getCdpDeviceIdCdpElementgetCdpElement()IntegergetCdpGlobalDeviceFormat()IntegergetCdpGlobalRun()protected voidreportFatalErr(ErrorStatusException ex)protected voidreportGenErr(String msg)protected voidreportNonFatalErr(ErrorStatus status)protected voidreportNoSuchNameErr(String msg)protected voidstoreResult(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, reportTooBigErr, setFinished, setParent, timedOut
-
-
-
-
Field Detail
-
CDP_GLOBAL_RUN
public static final String CDP_GLOBAL_RUN
the bridge type- See Also:
- Constant Field Values
-
CDP_GLOBAL_DEVICEID
public static final String CDP_GLOBAL_DEVICEID
- See Also:
- Constant Field Values
-
CDP_GLOBAL_DEVICEID_FORMAT
public static final String CDP_GLOBAL_DEVICEID_FORMAT
- See Also:
- Constant Field Values
-
ms_elemList
public static final NamedSnmpVar[] ms_elemList
-
-
Constructor Detail
-
CdpGlobalGroupTracker
public CdpGlobalGroupTracker()
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- aInetAddressobject.
-
-
Method Detail
-
storeResult
protected void storeResult(SnmpResult res)
- Overrides:
storeResultin classCollectionTracker
-
reportGenErr
protected void reportGenErr(String msg)
- Overrides:
reportGenErrin classCollectionTracker
-
reportNoSuchNameErr
protected void reportNoSuchNameErr(String msg)
- Overrides:
reportNoSuchNameErrin classCollectionTracker
-
reportFatalErr
protected void reportFatalErr(ErrorStatusException ex)
- Overrides:
reportFatalErrin classCollectionTracker
-
reportNonFatalErr
protected void reportNonFatalErr(ErrorStatus status)
- Overrides:
reportNonFatalErrin classCollectionTracker
-
getCdpGlobalRun
public Integer getCdpGlobalRun()
-
getCdpGlobalDeviceFormat
public Integer getCdpGlobalDeviceFormat()
-
getCdpElement
public CdpElement getCdpElement()
-
-