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 java.lang.String
CDP_GLOBAL_DEVICEID
static java.lang.String
CDP_GLOBAL_DEVICEID_FORMAT
static java.lang.String
CDP_GLOBAL_RUN
the 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 java.lang.String
getCdpDeviceId()
getCdpDeviceIdCdpElement
getCdpElement()
java.lang.Integer
getCdpGlobalDeviceFormat()
java.lang.Integer
getCdpGlobalRun()
protected void
reportFatalErr(ErrorStatusException ex)
protected void
reportGenErr(java.lang.String msg)
protected void
reportNonFatalErr(ErrorStatus status)
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, reportTooBigErr, setFinished, setParent, timedOut
-
-
-
-
Field Detail
-
CDP_GLOBAL_RUN
public static final java.lang.String CDP_GLOBAL_RUN
the bridge type- See Also:
- Constant Field Values
-
CDP_GLOBAL_DEVICEID
public static final java.lang.String CDP_GLOBAL_DEVICEID
- See Also:
- Constant Field Values
-
CDP_GLOBAL_DEVICEID_FORMAT
public static final java.lang.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
- 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
-
reportNonFatalErr
protected void reportNonFatalErr(ErrorStatus status)
- Overrides:
reportNonFatalErr
in classCollectionTracker
-
getCdpDeviceId
public java.lang.String getCdpDeviceId()
getCdpDeviceId
- Returns:
- a
String
object.
-
getCdpGlobalRun
public java.lang.Integer getCdpGlobalRun()
-
getCdpGlobalDeviceFormat
public java.lang.Integer getCdpGlobalDeviceFormat()
-
getCdpElement
public CdpElement getCdpElement()
-
-