|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.snmp.CollectionTracker
org.opennms.netmgt.snmp.AggregateTracker
org.opennms.netmgt.linkd.snmp.Dot1dBaseGroup
public final class Dot1dBaseGroup
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 /recieve replies.
| Field Summary | |
|---|---|
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 |
SYSTEM_OID
The SYSTEM_OID is the object identifier that represents the root of the system information in the MIB forest. |
| Fields inherited from class org.opennms.netmgt.snmp.CollectionTracker |
|---|
GEN_ERR, NO_ERR, NO_SUCH_NAME_ERR, TOO_BIG_ERR |
| Constructor Summary | |
|---|---|
Dot1dBaseGroup(InetAddress address)
The class constructor is used to initialize the collector and send out the initial SNMP packet requesting data. |
|
| Method Summary | |
|---|---|
String |
getBridgeAddress()
getBridgeAddress |
int |
getBridgeType()
getBridgeType |
int |
getNumberOfPorts()
getNumberOfPorts |
protected void |
reportGenErr(String msg)
|
protected void |
reportNoSuchNameErr(String msg)
|
protected void |
storeResult(SnmpResult res)
|
| Methods inherited from class org.opennms.netmgt.snmp.AggregateTracker |
|---|
buildNextPdu, isFinished, setFailed, setMaxRepetitions, setTimedOut |
| Methods inherited from class org.opennms.netmgt.snmp.CollectionTracker |
|---|
failed, getCollectionTracker, getParent, reportTooBigErr, setFinished, setParent, timedOut |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public 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 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 static final String SYSTEM_OID
The SYSTEM_OID is the object identifier that represents the root of the system information in the MIB forest. Each of the system elements can be retrieved by adding their specific index to the string, and an additional Zero(0) to signify the single instance item.
| Constructor Detail |
|---|
public Dot1dBaseGroup(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.| Method Detail |
|---|
protected void storeResult(SnmpResult res)
storeResult in class CollectionTrackerprotected void reportGenErr(String msg)
reportGenErr in class CollectionTrackerprotected void reportNoSuchNameErr(String msg)
reportNoSuchNameErr in class CollectionTrackerpublic String getBridgeAddress()
getBridgeAddress
String object.public int getNumberOfPorts()
getNumberOfPorts
public int getBridgeType()
getBridgeType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||