|
||||||||||
| 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.Dot1dStpGroup
public final class Dot1dStpGroup
SystemGroup holds the system 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.
| Field Summary | |
|---|---|
static String |
STP_BRDG_FORW_DELAY
Constant STP_BRDG_FORW_DELAY="dot1dStpBridgeForwardDelay" |
static String |
STP_BRDG_HELLO_TIME
Constant STP_BRDG_HELLO_TIME="dot1dStpBridgeHelloTime" |
static String |
STP_BRDG_MAX_AGE
Constant STP_BRDG_MAX_AGE="dot1dStpBridgeMaxAge" |
static String |
STP_DESIGNATED_ROOT
Constant STP_DESIGNATED_ROOT="dot1dStpDesignatedRoot" |
static String |
STP_FORW_DELAY
Constant STP_FORW_DELAY="dot1dStpForwardDelay" |
static String |
STP_HELLO_TIME
Constant STP_HELLO_TIME="dot1dStpHelloTime" |
static String |
STP_HOLD_TIME
Constant STP_HOLD_TIME="dot1dStpHoldTime" |
static String |
STP_MAX_AGE
Constant STP_MAX_AGE="dot1dStpMaxAge" |
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" |
static String |
STP_TIME_LASTTOPCH
Constant STP_TIME_LASTTOPCH="dot1dStpTimeSinceLastTopologyChange" |
static String |
STP_TOP_CHANGES
Constant STP_TOP_CHANGES="dot1dStpTopChanges" |
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 | |
|---|---|
Dot1dStpGroup(InetAddress address)
The class constructor is used to initialize the collector and send out the initial SNMP packet requesting data. |
|
| Method Summary | |
|---|---|
int |
getStpBridgeForwardDelay()
getStpBridgeForwardDelay |
int |
getStpBridgeHelloTime()
getStpBridgeHelloTime |
int |
getStpBridgeMaxAge()
getStpBridgeMaxAge |
String |
getStpDesignatedRoot()
getStpDesignatedRoot |
int |
getStpForwardDelay()
getStpForwardDelay |
int |
getStpHelloTime()
getStpHelloTime |
int |
getStpHoldTime()
getStpHoldTime |
int |
getStpMaxAge()
getStpMaxAge |
int |
getStpPriority()
getStpPriority |
int |
getStpProtocolSpecification()
getStpProtocolSpecification |
int |
getStpRootCost()
getStpRootCost |
int |
getStpRootPort()
getStpRootPort |
SnmpValue |
getStpTimeSinceLastTopologyChange()
getStpTimeSinceLastTopologyChange |
int |
getStpTopologyChanges()
getStpTopologyChanges |
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 STP_PROTOCOL_SPEC
STP_PROTOCOL_SPEC="dot1dStpProtocolSpecification"
public static final String STP_PRIORITY
STP_PRIORITY="dot1dStpPriority"
public static final String STP_TIME_LASTTOPCH
STP_TIME_LASTTOPCH="dot1dStpTimeSinceLastTopologyChange"
public static final String STP_TOP_CHANGES
STP_TOP_CHANGES="dot1dStpTopChanges"
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 final String STP_MAX_AGE
STP_MAX_AGE="dot1dStpMaxAge"
public static final String STP_HELLO_TIME
STP_HELLO_TIME="dot1dStpHelloTime"
public static final String STP_HOLD_TIME
STP_HOLD_TIME="dot1dStpHoldTime"
public static final String STP_FORW_DELAY
STP_FORW_DELAY="dot1dStpForwardDelay"
public static final String STP_BRDG_MAX_AGE
STP_BRDG_MAX_AGE="dot1dStpBridgeMaxAge"
public static final String STP_BRDG_HELLO_TIME
STP_BRDG_HELLO_TIME="dot1dStpBridgeHelloTime"
public static final String STP_BRDG_FORW_DELAY
STP_BRDG_FORW_DELAY="dot1dStpBridgeForwardDelay"
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 Dot1dStpGroup(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 int getStpProtocolSpecification()
getStpProtocolSpecification
public int getStpPriority()
getStpPriority
public SnmpValue getStpTimeSinceLastTopologyChange()
getStpTimeSinceLastTopologyChange
SnmpValue object.public int getStpTopologyChanges()
getStpTopologyChanges
public String getStpDesignatedRoot()
getStpDesignatedRoot
String object.public int getStpRootCost()
getStpRootCost
public int getStpRootPort()
getStpRootPort
public int getStpMaxAge()
getStpMaxAge
public int getStpHelloTime()
getStpHelloTime
public int getStpHoldTime()
getStpHoldTime
public int getStpForwardDelay()
getStpForwardDelay
public int getStpBridgeMaxAge()
getStpBridgeMaxAge
public int getStpBridgeHelloTime()
getStpBridgeHelloTime
public int getStpBridgeForwardDelay()
getStpBridgeForwardDelay
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||