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/receive replies.
Modifier and Type | Field and Description |
---|---|
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" |
static String |
SYSTEM_OID
The SYSTEM_OID is the object identifier that represents the
root of the system information in the MIB forest.
|
GEN_ERR, NO_ERR, NO_SUCH_NAME_ERR, TOO_BIG_ERR
Constructor and Description |
---|
Dot1dStpGroup(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 |
---|---|
OnmsStpNode |
getOnmsStpNode(OnmsStpNode node)
getStpBridgeForwardDelay
|
String |
getStpDesignatedRoot()
getStpDesignatedRoot
|
int |
getStpPriority()
getStpPriority
|
int |
getStpProtocolSpecification()
getStpProtocolSpecification
|
int |
getStpRootCost()
getStpRootCost
|
int |
getStpRootPort()
getStpRootPort
|
protected void |
reportGenErr(String msg) |
protected void |
reportNoSuchNameErr(String msg) |
protected void |
storeResult(SnmpResult res) |
buildNextPdu, isFinished, setFailed, setMaxRepetitions, setTimedOut
failed, getCollectionTracker, getParent, reportTooBigErr, setFinished, setParent, timedOut
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 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.
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.protected void storeResult(SnmpResult res)
storeResult
in class CollectionTracker
protected void reportGenErr(String msg)
reportGenErr
in class CollectionTracker
protected void reportNoSuchNameErr(String msg)
reportNoSuchNameErr
in class CollectionTracker
public int getStpProtocolSpecification()
getStpProtocolSpecification
public int getStpPriority()
getStpPriority
public String getStpDesignatedRoot()
getStpDesignatedRoot
String
object.public int getStpRootCost()
getStpRootCost
public int getStpRootPort()
getStpRootPort
public OnmsStpNode getOnmsStpNode(OnmsStpNode node)
getStpBridgeForwardDelay
Copyright © 2015. All rights reserved.