org.opennms.netmgt.linkd.snmp
Class Dot1dStpGroup
java.lang.Object
org.opennms.netmgt.snmp.CollectionTracker
org.opennms.netmgt.snmp.AggregateTracker
org.opennms.netmgt.linkd.snmp.Dot1dStpGroup
- All Implemented Interfaces:
- Collectable
public final class Dot1dStpGroup
- extends AggregateTracker
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 /recieve
replies.
- Author:
- Antonio Russo, Sowmya, Weave, OpenNMS
- See Also:
- RFC1213
|
Constructor Summary |
Dot1dStpGroup(InetAddress address)
The class constructor is used to initialize the collector
and send out the initial SNMP packet requesting data. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STP_PROTOCOL_SPEC
public static final String STP_PROTOCOL_SPEC
- See Also:
- Constant Field Values
STP_PRIORITY
public static final String STP_PRIORITY
- See Also:
- Constant Field Values
STP_TIME_LASTTOPCH
public static final String STP_TIME_LASTTOPCH
- See Also:
- Constant Field Values
STP_TOP_CHANGES
public static final String STP_TOP_CHANGES
- See Also:
- Constant Field Values
STP_DESIGNATED_ROOT
public static final String STP_DESIGNATED_ROOT
- See Also:
- Constant Field Values
STP_ROOT_COST
public static final String STP_ROOT_COST
- See Also:
- Constant Field Values
STP_ROOT_PORT
public static final String STP_ROOT_PORT
- See Also:
- Constant Field Values
STP_MAX_AGE
public static final String STP_MAX_AGE
- See Also:
- Constant Field Values
STP_HELLO_TIME
public static final String STP_HELLO_TIME
- See Also:
- Constant Field Values
STP_HOLD_TIME
public static final String STP_HOLD_TIME
- See Also:
- Constant Field Values
STP_FORW_DELAY
public static final String STP_FORW_DELAY
- See Also:
- Constant Field Values
STP_BRDG_MAX_AGE
public static final String STP_BRDG_MAX_AGE
- See Also:
- Constant Field Values
STP_BRDG_HELLO_TIME
public static final String STP_BRDG_HELLO_TIME
- See Also:
- Constant Field Values
STP_BRDG_FORW_DELAY
public static final String STP_BRDG_FORW_DELAY
- See Also:
- Constant Field Values
SYSTEM_OID
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 retreived by adding their specific index
to the string, and an additional Zero(0) to signify the single
instance item.
- See Also:
- Constant Field Values
Dot1dStpGroup
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.
- Parameters:
session - The SNMP session with the remote agent.signaler - The object signaled when data collection is done.
storeResult
protected void storeResult(SnmpObjId base,
SnmpInstId inst,
SnmpValue val)
- Overrides:
storeResult in class CollectionTracker
reportGenErr
protected void reportGenErr(String msg)
- Overrides:
reportGenErr in class CollectionTracker
reportNoSuchNameErr
protected void reportNoSuchNameErr(String msg)
- Overrides:
reportNoSuchNameErr in class CollectionTracker
getStpProtocolSpecification
public int getStpProtocolSpecification()
getStpPriority
public int getStpPriority()
getStpTimeSinceLastTopologyChange
public SnmpValue getStpTimeSinceLastTopologyChange()
getStpTopologyChanges
public int getStpTopologyChanges()
getStpDesignatedRoot
public String getStpDesignatedRoot()
getStpRootCost
public int getStpRootCost()
getStpRootPort
public int getStpRootPort()
getStpMaxAge
public int getStpMaxAge()
getStpHelloTime
public int getStpHelloTime()
getStpHoldTime
public int getStpHoldTime()
getStpForwardDelay
public int getStpForwardDelay()
getStpBridgeMaxAge
public int getStpBridgeMaxAge()
getStpBridgeHelloTime
public int getStpBridgeHelloTime()
getStpBridgeForwardDelay
public int getStpBridgeForwardDelay()
Copyright © 2009. All Rights Reserved.