|
OpenNMS API 1.1.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opennms.netmgt.config.CapsdConfigFactory.LightWeightIfEntry
LightWeightIfEntry is designed to hold specific information about an IP interface in the database such as its IP address, its parent node id, and its managed status and represents a lighter weight version of the DbIpInterfaceEntry class.
Field Summary | |
private java.lang.String |
m_address
|
private int |
m_ifIndex
|
private char |
m_managementState
|
private int |
m_nodeId
|
private boolean |
m_primaryStateChanged
|
private char |
m_snmpPrimaryState
|
(package private) static int |
NULL_IFINDEX
Represents NULL value for 'ifIndex' field in the ipInterface table |
Constructor Summary | |
CapsdConfigFactory.LightWeightIfEntry(int nodeId,
int ifIndex,
java.lang.String address,
char managementState,
char snmpPrimaryState)
Constructs a new LightWeightIfEntry object. |
Method Summary | |
java.lang.String |
getAddress()
Returns the IP address of the interface. |
int |
getIfIndex()
Returns the ifIndex of the interface. |
char |
getManagementState()
|
int |
getNodeId()
Returns the parent node id of the interface. |
char |
getSnmpPrimaryState()
|
boolean |
hasSnmpPrimaryStateChanged()
|
void |
setSnmpPrimaryState(char state)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
static final int NULL_IFINDEX
private int m_nodeId
private int m_ifIndex
private java.lang.String m_address
private char m_managementState
private char m_snmpPrimaryState
private boolean m_primaryStateChanged
Constructor Detail |
public CapsdConfigFactory.LightWeightIfEntry(int nodeId, int ifIndex, java.lang.String address, char managementState, char snmpPrimaryState)
Constructs a new LightWeightIfEntry object.
nodeId
- Interface's parent node idifIndex
- Interface's indexaddress
- Interface's ip addressmanagementState
- Interface's management statesnmpPrimaryState
- Interface's primary snmp interface stateMethod Detail |
public java.lang.String getAddress()
Returns the IP address of the interface.
public int getNodeId()
Returns the parent node id of the interface.
public int getIfIndex()
Returns the ifIndex of the interface.
public char getManagementState()
public char getSnmpPrimaryState()
public void setSnmpPrimaryState(char state)
public boolean hasSnmpPrimaryStateChanged()
|
OpenNMS API 1.1.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |