com.adventnet.snmp.snmp2.agent
Class SnmpTargetAddrTableXMLToVector
java.lang.Object
com.adventnet.snmp.snmp2.agent.SnmpTargetAddrTableXMLToVector
- All Implemented Interfaces:
- UpdateListener, AgentEventListener
class SnmpTargetAddrTableXMLToVector
- extends java.lang.Object
- implements UpdateListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SNMPTARGETADDRNAME
static final int SNMPTARGETADDRNAME
- See Also:
- Constant Field Values
SNMPTARGETADDRTDOMAIN
static final int SNMPTARGETADDRTDOMAIN
- See Also:
- Constant Field Values
SNMPTARGETADDRTADDRESS
static final int SNMPTARGETADDRTADDRESS
- See Also:
- Constant Field Values
SNMPTARGETADDRTIMEOUT
static final int SNMPTARGETADDRTIMEOUT
- See Also:
- Constant Field Values
SNMPTARGETADDRRETRYCOUNT
static final int SNMPTARGETADDRRETRYCOUNT
- See Also:
- Constant Field Values
SNMPTARGETADDRTAGLIST
static final int SNMPTARGETADDRTAGLIST
- See Also:
- Constant Field Values
SNMPTARGETADDRPARAMS
static final int SNMPTARGETADDRPARAMS
- See Also:
- Constant Field Values
SNMPTARGETADDRSTORAGETYPE
static final int SNMPTARGETADDRSTORAGETYPE
- See Also:
- Constant Field Values
SNMPTARGETADDRROWSTATUS
static final int SNMPTARGETADDRROWSTATUS
- See Also:
- Constant Field Values
columnNames
static final java.lang.String[] columnNames
SnmpTargetAddrTableXMLToVector
public SnmpTargetAddrTableXMLToVector(java.lang.String dirStr,
java.lang.String fileName)
SnmpTargetAddrTableXMLToVector
public SnmpTargetAddrTableXMLToVector(java.lang.String dirStr,
java.lang.String fileName,
SnmpTargetAddrTableRequestHandler reqHandler)
getColumnId
public static int getColumnId(java.lang.String name)
getColumnValue
public java.lang.String getColumnValue(SnmpTargetAddrEntry entry,
java.lang.String columnName)
readFromFile
public void readFromFile()
throws java.lang.Exception
- Throws:
java.lang.Exception
writeIntoFile
public void writeIntoFile()
- Description copied from interface:
UpdateListener
- This will be especially useful in writing the entry values of the
table in a file.
- Specified by:
writeIntoFile in interface UpdateListener
setTableRequestHandler
public void setTableRequestHandler(SnmpTargetAddrTableRequestHandler handler)