org.opennms.netmgt.linkd.snmp
Class Dot1dStpPortTableEntry

java.lang.Object
  extended by org.opennms.netmgt.snmp.AbstractSnmpStore
      extended by org.opennms.netmgt.capsd.snmp.SnmpStore
          extended by org.opennms.netmgt.capsd.snmp.SnmpTableEntry
              extended by org.opennms.netmgt.linkd.snmp.Dot1dStpPortTableEntry

public final class Dot1dStpPortTableEntry
extends SnmpTableEntry

The Dot1dStpPortTableEntry class is designed to hold all the MIB-II information for one entry in the MIB II dot1dBridge.dot1dStp.dot1dStpPortTable. The table effectively contains a list of these entries, each entry having information about Stp Protocol on sdecific Port.

This object is used by the Dot1dStpPortTable to hold infomation single entries in the table. See the Dot1dStpPortTable documentation form more information.

Author:
Antonio, Sowmya, Weave, Jon Whetzel, OpenNMS
See Also:
Dot1dStpPortTable, RFC1213

Field Summary
static String STP_PORT
           
static String STP_PORT_DESIGNATED_BRIDGE
           
static String STP_PORT_DESIGNATED_COST
           
static String STP_PORT_DESIGNATED_PORT
           
static String STP_PORT_DESIGNATED_ROOT
           
static String STP_PORT_ENABLE
           
static String STP_PORT_FORW_TRANS
           
static String STP_PORT_PATH_COST
           
static String STP_PORT_PRIORITY
           
static String STP_PORT_STATE
           
static NamedSnmpVar[] stpport_elemList
          The keys that will be supported by default from the TreeMap base class.
static String TABLE_OID
          The TABLE_OID is the object identifier that represents the root of the Stp Port table in the MIB forest.
 
Fields inherited from class org.opennms.netmgt.capsd.snmp.SnmpStore
ms_elemList
 
Fields inherited from class org.opennms.netmgt.snmp.AbstractSnmpStore
IFINDEX
 
Constructor Summary
Dot1dStpPortTableEntry()
          The class constructor used to initialize the object to its initial state.
 
Method Summary
 int getDot1dStpPort()
           
 String getDot1dStpPortDesignatedBridge()
           
 int getDot1dStpPortDesignatedCost()
           
 String getDot1dStpPortDesignatedPort()
           
 String getDot1dStpPortDesignatedRoot()
           
 int getDot1dStpPortEnable()
           
 int getDot1dStpPortForwardTransitions()
           
 int getDot1dStpPortPathCost()
           
 int getDot1dStpPortPriority()
           
 int getDot1dStpPortState()
           
 
Methods inherited from class org.opennms.netmgt.capsd.snmp.SnmpStore
getElementListSize, getElements, log, storeResult
 
Methods inherited from class org.opennms.netmgt.snmp.AbstractSnmpStore
getDisplayString, getHexString, getIfIndex, getInt32, getIPAddress, getObjectID, getUInt32, getValue, isEmpty, putIfIndex, putValue, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STP_PORT

public static final String STP_PORT
See Also:
Constant Field Values

STP_PORT_PRIORITY

public static final String STP_PORT_PRIORITY
See Also:
Constant Field Values

STP_PORT_STATE

public static final String STP_PORT_STATE
See Also:
Constant Field Values

STP_PORT_ENABLE

public static final String STP_PORT_ENABLE
See Also:
Constant Field Values

STP_PORT_PATH_COST

public static final String STP_PORT_PATH_COST
See Also:
Constant Field Values

STP_PORT_DESIGNATED_ROOT

public static final String STP_PORT_DESIGNATED_ROOT
See Also:
Constant Field Values

STP_PORT_DESIGNATED_COST

public static final String STP_PORT_DESIGNATED_COST
See Also:
Constant Field Values

STP_PORT_DESIGNATED_BRIDGE

public static final String STP_PORT_DESIGNATED_BRIDGE
See Also:
Constant Field Values

STP_PORT_DESIGNATED_PORT

public static final String STP_PORT_DESIGNATED_PORT
See Also:
Constant Field Values

STP_PORT_FORW_TRANS

public static final String STP_PORT_FORW_TRANS
See Also:
Constant Field Values

stpport_elemList

public static NamedSnmpVar[] stpport_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 StpPortTable. Objects in this list should be used by multiple instances of this class.


TABLE_OID

public static final String TABLE_OID

The TABLE_OID is the object identifier that represents the root of the Stp Port table in the MIB forest.

See Also:
Constant Field Values
Constructor Detail

Dot1dStpPortTableEntry

public Dot1dStpPortTableEntry()

The class constructor used to initialize the object to its initial state. Although the object's member variables can change after an instance is created, this constructor will initialize all the variables as per their named variable from the passed array of SNMP varbinds.

If the information in the object should not be modified then a final modifier can be applied to the created object.

Parameters:
vars - The array of variable bindings.
Method Detail

getDot1dStpPort

public int getDot1dStpPort()

getDot1dStpPortPriority

public int getDot1dStpPortPriority()

getDot1dStpPortState

public int getDot1dStpPortState()

getDot1dStpPortEnable

public int getDot1dStpPortEnable()

getDot1dStpPortPathCost

public int getDot1dStpPortPathCost()

getDot1dStpPortDesignatedRoot

public String getDot1dStpPortDesignatedRoot()

getDot1dStpPortDesignatedCost

public int getDot1dStpPortDesignatedCost()

getDot1dStpPortDesignatedBridge

public String getDot1dStpPortDesignatedBridge()

getDot1dStpPortDesignatedPort

public String getDot1dStpPortDesignatedPort()

getDot1dStpPortForwardTransitions

public int getDot1dStpPortForwardTransitions()


Copyright © 2009. All Rights Reserved.