|
||||||||||
| 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.provision.service.snmp.SnmpStore
org.opennms.netmgt.provision.service.snmp.SnmpTableEntry
org.opennms.netmgt.provision.service.snmp.IfTableEntry
public final class IfTableEntry
This object contains a list of all the elements defined in the MIB-II interface 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: ifIndex,ifDescr, ifSpeed,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 RFC1213 from the IETF.
| Field Summary | |
|---|---|
static String |
IF_ADMIN_STATUS
Constant IF_ADMIN_STATUS="ifAdminStatus" |
static String |
IF_DESCR
Constant IF_DESCR="ifDescr" |
static String |
IF_IN_DISCARDS
Constant IF_IN_DISCARDS="ifInDiscards" |
static String |
IF_IN_ERRORS
Constant IF_IN_ERRORS="ifInErrors" |
static String |
IF_IN_NUCAST
Constant IF_IN_NUCAST="ifInNUcastPkts" |
static String |
IF_IN_OCTETS
Constant IF_IN_OCTETS="ifInOctets" |
static String |
IF_IN_UCAST
Constant IF_IN_UCAST="ifInUcastPkts" |
static String |
IF_IN_UKNOWN_PROTOS
Constant IF_IN_UKNOWN_PROTOS="ifInUnknownProtos" |
static String |
IF_INDEX
Constant IF_INDEX="AbstractSnmpStore.IFINDEX" |
static String |
IF_LAST_CHANGE
Constant IF_LAST_CHANGE="ifLastChange" |
static String |
IF_MTU
Constant IF_MTU="ifMtu" |
static String |
IF_OPER_STATUS
Constant IF_OPER_STATUS="ifOperStatus" |
static String |
IF_OUT_DISCARDS
Constant IF_OUT_DISCARDS="ifOutDiscards" |
static String |
IF_OUT_ERRORS
Constant IF_OUT_ERRORS="ifOutErrors" |
static String |
IF_OUT_NUCAST
Constant IF_OUT_NUCAST="ifOutNUcastPkts" |
static String |
IF_OUT_OCTETS
Constant IF_OUT_OCTETS="ifOutOctets" |
static String |
IF_OUT_QLEN
Constant IF_OUT_QLEN="ifOutQLen" |
static String |
IF_OUT_UCAST
Constant IF_OUT_UCAST="ifOutUcastPkts" |
static String |
IF_PHYS_ADDR
Constant IF_PHYS_ADDR="ifPhysAddr" |
static String |
IF_SPECIFIC
Constant IF_SPECIFIC="ifSpecific" |
static String |
IF_SPEED
Constant IF_SPEED="ifSpeed" |
static String |
IF_TYPE
Constant IF_TYPE="ifType" |
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 table in the MIB forest. |
| Fields inherited from class org.opennms.netmgt.snmp.AbstractSnmpStore |
|---|
IFINDEX |
| Constructor Summary | |
|---|---|
IfTableEntry()
The class constructor used to initialize the object to its initial state. |
|
| Method Summary | |
|---|---|
Integer |
getIfAdminStatus()
getIfAdminStatus |
String |
getIfDescr()
getIfDescr |
Integer |
getIfOperStatus()
getIfOperStatus |
Long |
getIfSpeed()
getIfSpeed |
Integer |
getIfType()
getIfType |
String |
getPhysAddr()
getPhysAddr |
| Methods inherited from class org.opennms.netmgt.provision.service.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_INDEX
IF_INDEX="AbstractSnmpStore.IFINDEX"
public static final String IF_DESCR
IF_DESCR="ifDescr"
public static final String IF_TYPE
IF_TYPE="ifType"
public static final String IF_MTU
IF_MTU="ifMtu"
public static final String IF_SPEED
IF_SPEED="ifSpeed"
public static final String IF_PHYS_ADDR
IF_PHYS_ADDR="ifPhysAddr"
public static final String IF_ADMIN_STATUS
IF_ADMIN_STATUS="ifAdminStatus"
public static final String IF_OPER_STATUS
IF_OPER_STATUS="ifOperStatus"
public static final String IF_LAST_CHANGE
IF_LAST_CHANGE="ifLastChange"
public static final String IF_IN_OCTETS
IF_IN_OCTETS="ifInOctets"
public static final String IF_IN_UCAST
IF_IN_UCAST="ifInUcastPkts"
public static final String IF_IN_NUCAST
IF_IN_NUCAST="ifInNUcastPkts"
public static final String IF_IN_DISCARDS
IF_IN_DISCARDS="ifInDiscards"
public static final String IF_IN_ERRORS
IF_IN_ERRORS="ifInErrors"
public static final String IF_IN_UKNOWN_PROTOS
IF_IN_UKNOWN_PROTOS="ifInUnknownProtos"
public static final String IF_OUT_OCTETS
IF_OUT_OCTETS="ifOutOctets"
public static final String IF_OUT_UCAST
IF_OUT_UCAST="ifOutUcastPkts"
public static final String IF_OUT_NUCAST
IF_OUT_NUCAST="ifOutNUcastPkts"
public static final String IF_OUT_DISCARDS
IF_OUT_DISCARDS="ifOutDiscards"
public static final String IF_OUT_ERRORS
IF_OUT_ERRORS="ifOutErrors"
public static final String IF_OUT_QLEN
IF_OUT_QLEN="ifOutQLen"
public static final String IF_SPECIFIC
IF_SPECIFIC="ifSpecific"
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 table in the MIB forest.
| Constructor Detail |
|---|
public IfTableEntry()
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.
| Method Detail |
|---|
public Integer getIfType()
getIfType
Integer object.public Integer getIfAdminStatus()
getIfAdminStatus
Integer object.public String getIfDescr()
getIfDescr
String object.public String getPhysAddr()
getPhysAddr
String object.public Integer getIfOperStatus()
getIfOperStatus
Integer object.public Long getIfSpeed()
getIfSpeed
Long object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||