com.adventnet.snmp.snmp2.agent.usm
Class UsmUserTableXMLToVector
java.lang.Object
com.adventnet.snmp.snmp2.agent.usm.UsmUserTableXMLToVector
- All Implemented Interfaces:
- UpdateListener, AgentEventListener
class UsmUserTableXMLToVector
- extends java.lang.Object
- implements UpdateListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
USMUSERSECURITYNAME
static final int USMUSERSECURITYNAME
- See Also:
- Constant Field Values
USMUSERSECURITYLEVEL
static final int USMUSERSECURITYLEVEL
- See Also:
- Constant Field Values
USMUSERCLONEFROM
static final int USMUSERCLONEFROM
- See Also:
- Constant Field Values
USMUSERAUTHPROTOCOL
static final int USMUSERAUTHPROTOCOL
- See Also:
- Constant Field Values
USMUSERPRIVPROTOCOL
static final int USMUSERPRIVPROTOCOL
- See Also:
- Constant Field Values
USMUSERPUBLIC
static final int USMUSERPUBLIC
- See Also:
- Constant Field Values
USMUSERAUTHPASSWORD
static final int USMUSERAUTHPASSWORD
- See Also:
- Constant Field Values
USMUSERAUTHKEY
static final int USMUSERAUTHKEY
- See Also:
- Constant Field Values
USMUSERPRIVPASSWORD
static final int USMUSERPRIVPASSWORD
- See Also:
- Constant Field Values
USMUSERPRIVKEY
static final int USMUSERPRIVKEY
- See Also:
- Constant Field Values
USMUSERSTORAGETYPE
static final int USMUSERSTORAGETYPE
- See Also:
- Constant Field Values
USMUSERSTATUS
static final int USMUSERSTATUS
- See Also:
- Constant Field Values
columnNames
static final java.lang.String[] columnNames
UsmUserTableXMLToVector
public UsmUserTableXMLToVector(java.lang.String dirStr,
java.lang.String fileName,
UsmUserTableRequestHandler handler)
getColumnId
public static int getColumnId(java.lang.String name)
getColumnValue
public java.lang.Object getColumnValue(USMUserEntry 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(UsmUserTableRequestHandler handler)