com.adventnet.snmp.snmp2.agent
Class SnmpTargetParamsTableXMLToVector

java.lang.Object
  |
  +--com.adventnet.snmp.snmp2.agent.SnmpTargetParamsTableXMLToVector

class SnmpTargetParamsTableXMLToVector
extends java.lang.Object
implements UpdateListener


Field Summary
(package private) static java.lang.String[] columnNames
           
(package private) static int SNMPTARGETPARAMSMPMODEL
           
(package private) static int SNMPTARGETPARAMSNAME
           
(package private) static int SNMPTARGETPARAMSROWSTATUS
           
(package private) static int SNMPTARGETPARAMSSECURITYLEVEL
           
(package private) static int SNMPTARGETPARAMSSECURITYMODEL
           
(package private) static int SNMPTARGETPARAMSSECURITYNAME
           
(package private) static int SNMPTARGETPARAMSSTORAGETYPE
           
 
Constructor Summary
SnmpTargetParamsTableXMLToVector(java.lang.String dirStr, java.lang.String fileName)
           
 
Method Summary
static int getColumnId(java.lang.String name)
           
 java.lang.String getColumnValue(SnmpTargetParamsEntry entry, java.lang.String columnName)
           
 void readFromFile()
           
 void setTableRequestHandler(SnmpTargetParamsTableRequestHandler handler)
           
 void writeIntoFile()
          This will be especially useful in writing the entry values of the table in a file.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SNMPTARGETPARAMSNAME

static final int SNMPTARGETPARAMSNAME

SNMPTARGETPARAMSMPMODEL

static final int SNMPTARGETPARAMSMPMODEL

SNMPTARGETPARAMSSECURITYMODEL

static final int SNMPTARGETPARAMSSECURITYMODEL

SNMPTARGETPARAMSSECURITYNAME

static final int SNMPTARGETPARAMSSECURITYNAME

SNMPTARGETPARAMSSECURITYLEVEL

static final int SNMPTARGETPARAMSSECURITYLEVEL

SNMPTARGETPARAMSSTORAGETYPE

static final int SNMPTARGETPARAMSSTORAGETYPE

SNMPTARGETPARAMSROWSTATUS

static final int SNMPTARGETPARAMSROWSTATUS

columnNames

static final java.lang.String[] columnNames
Constructor Detail

SnmpTargetParamsTableXMLToVector

public SnmpTargetParamsTableXMLToVector(java.lang.String dirStr,
                                        java.lang.String fileName)
Method Detail

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

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)