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.
Modifier and Type | Field and Description |
---|---|
static String |
CDP_GLOBAL_DEVICEID |
static String |
CDP_GLOBAL_DEVICEID_FORMAT |
static String |
CDP_GLOBAL_RUN
the bridge type
|
static NamedSnmpVar[] |
ms_elemList |
Constructor and Description |
---|
CdpGlobalGroupTracker()
The class constructor is used to initialize the collector
and send out the initial SNMP packet requesting data.
|
Modifier and Type | Method and Description |
---|---|
String |
getCdpDeviceId()
getCdpDeviceId
|
CdpElement |
getCdpElement() |
Integer |
getCdpGlobalDeviceFormat() |
Integer |
getCdpGlobalRun() |
protected void |
reportFatalErr(ErrorStatusException ex) |
protected void |
reportGenErr(String msg) |
protected void |
reportNonFatalErr(ErrorStatus status) |
protected void |
reportNoSuchNameErr(String msg) |
protected void |
storeResult(SnmpResult res) |
buildNextPdu, getWalkRequests, handleWalkResponses, isFinished, setFailed, setMaxRepetitions, setMaxRetries, setTimedOut
failed, getCollectionTracker, getParent, reportTooBigErr, setFinished, setParent, timedOut
public static final String CDP_GLOBAL_RUN
public static final String CDP_GLOBAL_DEVICEID
public static final String CDP_GLOBAL_DEVICEID_FORMAT
public static final NamedSnmpVar[] ms_elemList
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.
address
- a InetAddress
object.protected void storeResult(SnmpResult res)
storeResult
in class CollectionTracker
protected void reportGenErr(String msg)
reportGenErr
in class CollectionTracker
protected void reportNoSuchNameErr(String msg)
reportNoSuchNameErr
in class CollectionTracker
protected void reportFatalErr(ErrorStatusException ex)
reportFatalErr
in class CollectionTracker
protected void reportNonFatalErr(ErrorStatus status)
reportNonFatalErr
in class CollectionTracker
public Integer getCdpGlobalRun()
public Integer getCdpGlobalDeviceFormat()
public CdpElement getCdpElement()
Copyright © 2021. All rights reserved.