com.adventnet.snmp.snmp2.agent
Class SnmpTargetParamsTableXMLToVector
java.lang.Object
com.adventnet.snmp.snmp2.agent.SnmpTargetParamsTableXMLToVector
- All Implemented Interfaces:
- UpdateListener, AgentEventListener
class SnmpTargetParamsTableXMLToVector
- extends java.lang.Object
- implements UpdateListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SNMPTARGETPARAMSNAME
static final int SNMPTARGETPARAMSNAME
- See Also:
- Constant Field Values
SNMPTARGETPARAMSMPMODEL
static final int SNMPTARGETPARAMSMPMODEL
- See Also:
- Constant Field Values
SNMPTARGETPARAMSSECURITYMODEL
static final int SNMPTARGETPARAMSSECURITYMODEL
- See Also:
- Constant Field Values
SNMPTARGETPARAMSSECURITYNAME
static final int SNMPTARGETPARAMSSECURITYNAME
- See Also:
- Constant Field Values
SNMPTARGETPARAMSSECURITYLEVEL
static final int SNMPTARGETPARAMSSECURITYLEVEL
- See Also:
- Constant Field Values
SNMPTARGETPARAMSSTORAGETYPE
static final int SNMPTARGETPARAMSSTORAGETYPE
- See Also:
- Constant Field Values
SNMPTARGETPARAMSROWSTATUS
static final int SNMPTARGETPARAMSROWSTATUS
- See Also:
- Constant Field Values
columnNames
static final java.lang.String[] columnNames
SnmpTargetParamsTableXMLToVector
public SnmpTargetParamsTableXMLToVector(java.lang.String dirStr,
java.lang.String fileName)
getColumnId
public static int getColumnId(java.lang.String name)
getColumnValue
public java.lang.String getColumnValue(SnmpTargetParamsEntry 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(SnmpTargetParamsTableRequestHandler handler)