public class IfLabelDaoImpl extends AbstractIfLabel implements IfLabel
NO_IFLABEL| Constructor and Description | 
|---|
IfLabelDaoImpl()  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getIfLabel(int nodeId,
          InetAddress ipAddr)
getIfLabel 
 | 
String | 
getIfLabelfromIfIndex(int nodeId,
                     InetAddress ipAddr,
                     int ifIndex)
getIfLabelfromIfIndex 
 | 
String | 
getIfLabelfromSnmpIfIndex(int nodeId,
                         int ifIndex)
Return the ifLabel as a string for the given node and ifIndex. 
 | 
static IfLabel | 
getInstance()  | 
Map<String,String> | 
getInterfaceInfoFromIfLabel(int nodeId,
                           String ifLabel)
Return a map of useful SNMP information for the interface specified by
 the nodeId and ifLabel. 
 | 
void | 
setSnmpInterfaceDao(SnmpInterfaceDao snmpInterfaceDao)  | 
getIfLabelclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIfLabelpublic static IfLabel getInstance()
public Map<String,String> getInterfaceInfoFromIfLabel(int nodeId, String ifLabel)
getInterfaceInfoFromIfLabel in interface IfLabelnodeId - Node idifLabel - Interface label of format: SQLException - if error occurs accessing the database.public String getIfLabel(int nodeId, InetAddress ipAddr)
getIfLabel
getIfLabel in interface IfLabelnodeId - a int.ipAddr - a String object.String object.public String getIfLabelfromIfIndex(int nodeId, InetAddress ipAddr, int ifIndex)
getIfLabelfromIfIndex
getIfLabelfromIfIndex in interface IfLabelnodeId - a int.ipAddr - a String object.ifIndex - a int.String object.public String getIfLabelfromSnmpIfIndex(int nodeId, int ifIndex)
getIfLabelfromSnmpIfIndex in interface IfLabelnodeId - a int.ifIndex - a int.public void setSnmpInterfaceDao(SnmpInterfaceDao snmpInterfaceDao)
setSnmpInterfaceDao in interface IfLabelCopyright © 2020. All rights reserved.