com.adventnet.snmp.snmp2.agent.vacm
Class VacmViewTreeFamilyTableXMLToVector

java.lang.Object
  extended by com.adventnet.snmp.snmp2.agent.vacm.VacmViewTreeFamilyTableXMLToVector
All Implemented Interfaces:
UpdateListener, AgentEventListener

 class VacmViewTreeFamilyTableXMLToVector
extends java.lang.Object
implements UpdateListener


Field Summary
(package private) static java.lang.String[] columnNames
           
(package private) static int VACMVIEWTREEFAMILYMASK
           
(package private) static int VACMVIEWTREEFAMILYSTATUS
           
(package private) static int VACMVIEWTREEFAMILYSTORAGETYPE
           
(package private) static int VACMVIEWTREEFAMILYSUBTREE
           
(package private) static int VACMVIEWTREEFAMILYTYPE
           
(package private) static int VACMVIEWTREEFAMILYVIEWNAME
           
 
Constructor Summary
VacmViewTreeFamilyTableXMLToVector(java.lang.String dirStr, java.lang.String fileName)
           
VacmViewTreeFamilyTableXMLToVector(VacmViewTreeFamilyTableRequestHandler handler, java.lang.String dirStr, java.lang.String fileName)
           
 
Method Summary
static int getColumnId(java.lang.String name)
           
 java.lang.String getColumnValue(VacmFamilyEntry entry, java.lang.String columnName)
           
 void readFromFile()
           
 void setTableRequestHandler(VacmViewTreeFamilyTableRequestHandler handler)
          The method to set the RequestHandler to this class.
 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

VACMVIEWTREEFAMILYVIEWNAME

static final int VACMVIEWTREEFAMILYVIEWNAME
See Also:
Constant Field Values

VACMVIEWTREEFAMILYSUBTREE

static final int VACMVIEWTREEFAMILYSUBTREE
See Also:
Constant Field Values

VACMVIEWTREEFAMILYMASK

static final int VACMVIEWTREEFAMILYMASK
See Also:
Constant Field Values

VACMVIEWTREEFAMILYTYPE

static final int VACMVIEWTREEFAMILYTYPE
See Also:
Constant Field Values

VACMVIEWTREEFAMILYSTORAGETYPE

static final int VACMVIEWTREEFAMILYSTORAGETYPE
See Also:
Constant Field Values

VACMVIEWTREEFAMILYSTATUS

static final int VACMVIEWTREEFAMILYSTATUS
See Also:
Constant Field Values

columnNames

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

VacmViewTreeFamilyTableXMLToVector

public VacmViewTreeFamilyTableXMLToVector(java.lang.String dirStr,
                                          java.lang.String fileName)

VacmViewTreeFamilyTableXMLToVector

public VacmViewTreeFamilyTableXMLToVector(VacmViewTreeFamilyTableRequestHandler handler,
                                          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(VacmFamilyEntry 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(VacmViewTreeFamilyTableRequestHandler handler)
The method to set the RequestHandler to this class.