public final class Dot1dBaseTracker extends AggregateTracker
Dot1dBase 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 |
BASE_BRIDGE_ADDRESS
Constant
BASE_BRIDGE_ADDRESS="dot1dBaseBridgeAddress" |
static String |
BASE_NUM_PORTS
Constant
BASE_NUM_PORTS="dot1dBaseNumPorts" |
static String |
BASE_NUM_TYPE
Constant
BASE_NUM_TYPE="dot1dBaseType" |
static NamedSnmpVar[] |
ms_elemList
The keys that will be supported by default from the
TreeMap base class.
|
static String |
STP_DESIGNATED_ROOT
Constant
STP_DESIGNATED_ROOT="dot1dStpDesignatedRoot" |
static String |
STP_PRIORITY
Constant
STP_PRIORITY="dot1dStpPriority" |
static String |
STP_PROTOCOL_SPEC
Constant
STP_PROTOCOL_SPEC="dot1dStpProtocolSpecification" |
static String |
STP_ROOT_COST
Constant
STP_ROOT_COST="dot1dStpRootCost" |
static String |
STP_ROOT_PORT
Constant
STP_ROOT_PORT="dot1dStpRootPort" |
| Constructor and Description |
|---|
Dot1dBaseTracker()
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 |
getBridgeAddress()
getBridgeAddress
|
BridgeElement |
getBridgeElement() |
Integer |
getBridgeType()
getBridgeType
|
Integer |
getNumberOfPorts()
getNumberOfPorts
|
String |
getStpDesignatedRoot()
getStpDesignatedRoot
|
Integer |
getStpPriority() |
Integer |
getStpProtocolSpecification() |
Integer |
getStpRootCost()
getStpRootCost
|
Integer |
getStpRootPort()
getStpRootPort
|
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, setTimedOutfailed, getCollectionTracker, getParent, reportTooBigErr, setFinished, setParent, timedOutpublic static final String BASE_BRIDGE_ADDRESS
BASE_BRIDGE_ADDRESS="dot1dBaseBridgeAddress"public static final String BASE_NUM_PORTS
BASE_NUM_PORTS="dot1dBaseNumPorts"public static final String BASE_NUM_TYPE
BASE_NUM_TYPE="dot1dBaseType"public static final String STP_PROTOCOL_SPEC
STP_PROTOCOL_SPEC="dot1dStpProtocolSpecification"public static final String STP_PRIORITY
STP_PRIORITY="dot1dStpPriority"public static final String STP_DESIGNATED_ROOT
STP_DESIGNATED_ROOT="dot1dStpDesignatedRoot"public static final String STP_ROOT_COST
STP_ROOT_COST="dot1dStpRootCost"public static final String STP_ROOT_PORT
STP_ROOT_PORT="dot1dStpRootPort"public static NamedSnmpVar[] ms_elemList
The keys that will be supported by default from the TreeMap base class. Each of the elements in the list are an instance of the STP Node table. Objects in this list should be used by multiple instances of this class.
public Dot1dBaseTracker()
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 CollectionTrackerprotected void reportFatalErr(ErrorStatusException ex)
reportFatalErr in class CollectionTrackerprotected void reportNonFatalErr(ErrorStatus status)
reportNonFatalErr in class CollectionTrackerpublic Integer getNumberOfPorts()
getNumberOfPorts
public Integer getBridgeType()
getBridgeType
public Integer getStpProtocolSpecification()
public Integer getStpPriority()
public String getStpDesignatedRoot()
getStpDesignatedRoot
String object.public Integer getStpRootCost()
getStpRootCost
public Integer getStpRootPort()
getStpRootPort
public BridgeElement getBridgeElement()
Copyright © 2022. All rights reserved.