Class IfXTableEntry
- java.lang.Object
-
- org.opennms.netmgt.snmp.AbstractSnmpStore
-
- org.opennms.netmgt.snmp.SnmpStore
-
- org.opennms.netmgt.provision.service.snmp.SnmpTableEntry
-
- org.opennms.netmgt.provision.service.snmp.IfXTableEntry
-
public final class IfXTableEntry extends SnmpTableEntry
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 retrieved using the instance names. The names include: ifName,ifInMulticastPts ,ifInBroadcastPkts,etc al. The information can also be accessed by using the complete object identifier 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
Fields Modifier and Type Field Description static java.lang.String
IF_ALIAS
ConstantIF_ALIAS="ifAlias"
static java.lang.String
IF_CONNECTOR_PRESENT
ConstantIF_CONNECTOR_PRESENT="ifConnectorPresent"
static java.lang.String
IF_COUNTER_DISCONTINUITY_TIME
ConstantIF_COUNTER_DISCONTINUITY_TIME="ifCounterDiscontinuityTime"
static java.lang.String
IF_HIGH_SPEED
ConstantIF_HIGH_SPEED="ifHighSpeed"
static java.lang.String
IF_IN_BCAST_PKTS
ConstantIF_IN_BCAST_PKTS="ifInBroadcastPkts"
static java.lang.String
IF_IN_MCAST_PKTS
ConstantIF_IN_MCAST_PKTS="ifInMulticastPkts"
static java.lang.String
IF_INDEX
ConstantIF_INDEX="AbstractSnmpStore.IFINDEX"
static java.lang.String
IF_LINK_UP_DOWN_TRAP_ENABLE
ConstantIF_LINK_UP_DOWN_TRAP_ENABLE="ifLinkUpDownTrapEnable"
static java.lang.String
IF_NAME
Lookup strings for specific table entriesstatic java.lang.String
IF_OUT_BCAST_PKTS
ConstantIF_OUT_BCAST_PKTS="ifOutBroadcastPkts"
static java.lang.String
IF_OUT_MCAST_PKTS
ConstantIF_OUT_MCAST_PKTS="ifOutMulticastPkts"
static java.lang.String
IF_PROMISCUOUS_MODE
ConstantIF_PROMISCUOUS_MODE="ifPromiscuousMode"
static NamedSnmpVar[]
ms_elemList
Constantms_elemList
static java.lang.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
Constructors Constructor Description IfXTableEntry(int ifIndex)
The class constructor used to initialize the object to its initial state.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getIfAlias()
getIfAliasjava.lang.String
getIfName()
getIfName-
Methods inherited from class org.opennms.netmgt.snmp.SnmpStore
getElementListSize, getElements, storeResult
-
Methods inherited from class org.opennms.netmgt.snmp.AbstractSnmpStore
getDisplayString, getHexString, getIfIndex, getInt32, getIPAddress, getObjectID, getUInt32, getValue, isEmpty, putIfIndex, putValue, size
-
-
-
-
Field Detail
-
IF_NAME
public static final java.lang.String IF_NAME
Lookup strings for specific table entries- See Also:
- Constant Field Values
-
IF_IN_MCAST_PKTS
public static final java.lang.String IF_IN_MCAST_PKTS
ConstantIF_IN_MCAST_PKTS="ifInMulticastPkts"
- See Also:
- Constant Field Values
-
IF_IN_BCAST_PKTS
public static final java.lang.String IF_IN_BCAST_PKTS
ConstantIF_IN_BCAST_PKTS="ifInBroadcastPkts"
- See Also:
- Constant Field Values
-
IF_OUT_MCAST_PKTS
public static final java.lang.String IF_OUT_MCAST_PKTS
ConstantIF_OUT_MCAST_PKTS="ifOutMulticastPkts"
- See Also:
- Constant Field Values
-
IF_OUT_BCAST_PKTS
public static final java.lang.String IF_OUT_BCAST_PKTS
ConstantIF_OUT_BCAST_PKTS="ifOutBroadcastPkts"
- See Also:
- Constant Field Values
-
IF_LINK_UP_DOWN_TRAP_ENABLE
public static final java.lang.String IF_LINK_UP_DOWN_TRAP_ENABLE
ConstantIF_LINK_UP_DOWN_TRAP_ENABLE="ifLinkUpDownTrapEnable"
- See Also:
- Constant Field Values
-
IF_HIGH_SPEED
public static final java.lang.String IF_HIGH_SPEED
ConstantIF_HIGH_SPEED="ifHighSpeed"
- See Also:
- Constant Field Values
-
IF_PROMISCUOUS_MODE
public static final java.lang.String IF_PROMISCUOUS_MODE
ConstantIF_PROMISCUOUS_MODE="ifPromiscuousMode"
- See Also:
- Constant Field Values
-
IF_CONNECTOR_PRESENT
public static final java.lang.String IF_CONNECTOR_PRESENT
ConstantIF_CONNECTOR_PRESENT="ifConnectorPresent"
- See Also:
- Constant Field Values
-
IF_ALIAS
public static final java.lang.String IF_ALIAS
ConstantIF_ALIAS="ifAlias"
- See Also:
- Constant Field Values
-
IF_COUNTER_DISCONTINUITY_TIME
public static final java.lang.String IF_COUNTER_DISCONTINUITY_TIME
ConstantIF_COUNTER_DISCONTINUITY_TIME="ifCounterDiscontinuityTime"
- See Also:
- Constant Field Values
-
IF_INDEX
public static final java.lang.String IF_INDEX
ConstantIF_INDEX="AbstractSnmpStore.IFINDEX"
- See Also:
- Constant Field Values
-
ms_elemList
public static NamedSnmpVar[] ms_elemList
Constantms_elemList
-
TABLE_OID
public static final java.lang.String TABLE_OID
The TABLE_OID is the object identifier that represents the root of the interface extensions table in the MIB forest.
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
IfXTableEntry
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.
- Parameters:
ifIndex
- a int.
-
-