com.adventnet.snmp.snmp2.agent.notification
Class SnmpNotifyTableXMLToVector
java.lang.Object
com.adventnet.snmp.snmp2.agent.notification.SnmpNotifyTableXMLToVector
- All Implemented Interfaces:
- UpdateListener, AgentEventListener
class SnmpNotifyTableXMLToVector
- extends java.lang.Object
- implements UpdateListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SNMPNOTIFYNAME
static final int SNMPNOTIFYNAME
- See Also:
- Constant Field Values
SNMPNOTIFYTAG
static final int SNMPNOTIFYTAG
- See Also:
- Constant Field Values
SNMPNOTIFYTYPE
static final int SNMPNOTIFYTYPE
- See Also:
- Constant Field Values
SNMPNOTIFYSTORAGETYPE
static final int SNMPNOTIFYSTORAGETYPE
- See Also:
- Constant Field Values
SNMPNOTIFYROWSTATUS
static final int SNMPNOTIFYROWSTATUS
- See Also:
- Constant Field Values
columnNames
static final java.lang.String[] columnNames
SnmpNotifyTableXMLToVector
public SnmpNotifyTableXMLToVector(java.lang.String dirStr,
java.lang.String fileName)
getColumnId
public static int getColumnId(java.lang.String name)
getColumnValue
public java.lang.String getColumnValue(SnmpNotifyEntry 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(SnmpNotifyTableRequestHandler handler)