com.adventnet.snmp.snmp2.agent.community
Class SnmpCommunityTableXMLToVector
java.lang.Object
com.adventnet.snmp.snmp2.agent.community.SnmpCommunityTableXMLToVector
- All Implemented Interfaces:
- UpdateListener, AgentEventListener
class SnmpCommunityTableXMLToVector
- extends java.lang.Object
- implements UpdateListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SNMPCOMMUNITYINDEX
static final int SNMPCOMMUNITYINDEX
- See Also:
- Constant Field Values
SNMPCOMMUNITYNAME
static final int SNMPCOMMUNITYNAME
- See Also:
- Constant Field Values
SNMPCOMMUNITYSECURITYNAME
static final int SNMPCOMMUNITYSECURITYNAME
- See Also:
- Constant Field Values
SNMPCOMMUNITYCONTEXTENGINEID
static final int SNMPCOMMUNITYCONTEXTENGINEID
- See Also:
- Constant Field Values
SNMPCOMMUNITYCONTEXTNAME
static final int SNMPCOMMUNITYCONTEXTNAME
- See Also:
- Constant Field Values
SNMPCOMMUNITYTRANSPORTTAG
static final int SNMPCOMMUNITYTRANSPORTTAG
- See Also:
- Constant Field Values
SNMPCOMMUNITYSTORAGETYPE
static final int SNMPCOMMUNITYSTORAGETYPE
- See Also:
- Constant Field Values
SNMPCOMMUNITYSTATUS
static final int SNMPCOMMUNITYSTATUS
- See Also:
- Constant Field Values
columnNames
static final java.lang.String[] columnNames
SnmpCommunityTableXMLToVector
public SnmpCommunityTableXMLToVector(java.lang.String dirStr,
java.lang.String fileName)
getColumnId
public static int getColumnId(java.lang.String name)
getColumnValue
public java.lang.String getColumnValue(SnmpCommunityEntry 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(SnmpCommunityTableRequestHandler handler)