|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.snmp.AbstractSnmpStore
org.opennms.netmgt.capsd.snmp.SnmpStore
org.opennms.netmgt.capsd.snmp.SnmpTableEntry
org.opennms.netmgt.capsd.snmp.IfXTableEntry
public final class IfXTableEntry
This object contains a list of all the elements defined in the MIB-II interface extensions table. An instance object is initialized by calling the constructor and passing in a variable list from an SNMP PDU. The actual data can be recovered via the base class map interface.
Once an instance is created and its data set either via the constructor or from the update method, the actual elements can be retreived using the instance names. The names include: ifName,ifInMulticastPts ,ifInBroadcastPkts,etc al. The information can also be accessed by using the complete object identifer for the entry.
For more information on the individual fields, and to find out their respective object identifiers see RFC1573 from the IETF.
| Field Summary | |
|---|---|
static String |
IF_ALIAS
Constant IF_ALIAS="ifAlias" |
static String |
IF_CONNECTOR_PRESENT
Constant IF_CONNECTOR_PRESENT="ifConnectorPresent" |
static String |
IF_COUNTER_DISCONTINUITY_TIME
Constant IF_COUNTER_DISCONTINUITY_TIME="ifCounterDiscontinuityTime" |
static String |
IF_HIGH_SPEED
Constant IF_HIGH_SPEED="ifHighSpeed" |
static String |
IF_IN_BCAST_PKTS
Constant IF_IN_BCAST_PKTS="ifInBroadcastPkts" |
static String |
IF_IN_MCAST_PKTS
Constant IF_IN_MCAST_PKTS="ifInMulticastPkts" |
static String |
IF_INDEX
Constant IF_INDEX="AbstractSnmpStore.IFINDEX" |
static String |
IF_LINK_UP_DOWN_TRAP_ENABLE
Constant IF_LINK_UP_DOWN_TRAP_ENABLE="ifLinkUpDownTrapEnable" |
static String |
IF_NAME
Lookup strings for specific table entries |
static String |
IF_OUT_BCAST_PKTS
Constant IF_OUT_BCAST_PKTS="ifOutBroadcastPkts" |
static String |
IF_OUT_MCAST_PKTS
Constant IF_OUT_MCAST_PKTS="ifOutMulticastPkts" |
static String |
IF_PROMISCUOUS_MODE
Constant IF_PROMISCUOUS_MODE="ifPromiscuousMode" |
static NamedSnmpVar[] |
ms_elemList
Constant ms_elemList |
static String |
TABLE_OID
The TABLE_OID is the object identifier that represents the root of the interface extensions table in the MIB forest. |
| Fields inherited from class org.opennms.netmgt.snmp.AbstractSnmpStore |
|---|
IFINDEX |
| Constructor Summary | |
|---|---|
IfXTableEntry(int ifIndex)
The class constructor used to initialize the object to its initial state. |
|
| Method Summary | |
|---|---|
String |
getIfAlias()
getIfAlias |
Long |
getIfHighSpeed()
getIfHighSpeed |
String |
getIfName()
getIfName |
| 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 |
|---|
public static final String IF_NAME
public static final String IF_IN_MCAST_PKTS
IF_IN_MCAST_PKTS="ifInMulticastPkts"
public static final String IF_IN_BCAST_PKTS
IF_IN_BCAST_PKTS="ifInBroadcastPkts"
public static final String IF_OUT_MCAST_PKTS
IF_OUT_MCAST_PKTS="ifOutMulticastPkts"
public static final String IF_OUT_BCAST_PKTS
IF_OUT_BCAST_PKTS="ifOutBroadcastPkts"
public static final String IF_LINK_UP_DOWN_TRAP_ENABLE
IF_LINK_UP_DOWN_TRAP_ENABLE="ifLinkUpDownTrapEnable"
public static final String IF_HIGH_SPEED
IF_HIGH_SPEED="ifHighSpeed"
public static final String IF_PROMISCUOUS_MODE
IF_PROMISCUOUS_MODE="ifPromiscuousMode"
public static final String IF_CONNECTOR_PRESENT
IF_CONNECTOR_PRESENT="ifConnectorPresent"
public static final String IF_ALIAS
IF_ALIAS="ifAlias"
public static final String IF_COUNTER_DISCONTINUITY_TIME
IF_COUNTER_DISCONTINUITY_TIME="ifCounterDiscontinuityTime"
public static final String IF_INDEX
IF_INDEX="AbstractSnmpStore.IFINDEX"
public static NamedSnmpVar[] ms_elemList
ms_elemList
public static final String TABLE_OID
The TABLE_OID is the object identifier that represents the root of the interface extensions table in the MIB forest.
| Constructor Detail |
|---|
public IfXTableEntry(int ifIndex)
The class constructor used to initialize the object to its initial state. Although the object's attributes and data can be changed after its created, this constructor will initialize all the variables as per their named varbind in the passed array. This array should have been collected from an SnmpPduRequest that was received from a remote host.
ifIndex - a int.| Method Detail |
|---|
public String getIfName()
getIfName
String object.public String getIfAlias()
getIfAlias
String object.public Long getIfHighSpeed()
getIfHighSpeed
Long object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||