|
OpenNMS API 1.2.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 | |
(package private) static int |
LOOPBACK_IFTYPE
|
private java.lang.String |
m_address
|
private int |
m_ifIndex
|
private int |
m_ifType
|
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 |
(package private) static int |
NULL_IFTYPE
|
Constructor Summary | |
CapsdConfigFactory.LightWeightIfEntry(int nodeId,
int ifIndex,
java.lang.String address,
char managementState,
char snmpPrimaryState,
int ifType)
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. |
int |
getIfType()
Returns the ifType 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
static final int NULL_IFTYPE
static final int LOOPBACK_IFTYPE
private int m_nodeId
private int m_ifIndex
private int m_ifType
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, int ifType)
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 stateifType
- Interface's type as determined via SNMPMethod 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 int getIfType()
Returns the ifType of the interface.
public char getManagementState()
public char getSnmpPrimaryState()
public void setSnmpPrimaryState(char state)
public boolean hasSnmpPrimaryStateChanged()
|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |