public final class CdpGlobalGroup 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
the bridge type
|
static NamedSnmpVar[] |
ms_elemList |
GEN_ERR, NO_ERR, NO_SUCH_NAME_ERR, TOO_BIG_ERR| Constructor and Description |
|---|
CdpGlobalGroup(InetAddress address)
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()
getBridgeAddress
|
protected void |
reportGenErr(String msg) |
protected void |
reportNoSuchNameErr(String msg) |
protected void |
storeResult(SnmpResult res) |
buildNextPdu, isFinished, setFailed, setMaxRepetitions, setTimedOutfailed, getCollectionTracker, getParent, reportTooBigErr, setFinished, setParent, timedOutpublic static final String CDP_GLOBAL_DEVICEID
public static final NamedSnmpVar[] ms_elemList
public CdpGlobalGroup(InetAddress address)
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 CollectionTrackerprotected void reportGenErr(String msg)
reportGenErr in class CollectionTrackerprotected void reportNoSuchNameErr(String msg)
reportNoSuchNameErr in class CollectionTrackerCopyright © 2015. All rights reserved.