com.adventnet.snmp.snmp2.agent.notification
Class SnmpNotifyFilterTableXMLToVector

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

class SnmpNotifyFilterTableXMLToVector
extends java.lang.Object
implements UpdateListener


Field Summary
(package private) static java.lang.String[] columnNames
           
(package private) static int SNMPNOTIFYFILTERMASK
           
(package private) static int SNMPNOTIFYFILTERPROFILENAME
           
(package private) static int SNMPNOTIFYFILTERROWSTATUS
           
(package private) static int SNMPNOTIFYFILTERSTORAGETYPE
           
(package private) static int SNMPNOTIFYFILTERSUBTREE
           
(package private) static int SNMPNOTIFYFILTERTYPE
           
 
Constructor Summary
SnmpNotifyFilterTableXMLToVector(java.lang.String dirStr, java.lang.String fileName)
           
 
Method Summary
static int getColumnId(java.lang.String name)
           
 java.lang.String getColumnValue(SnmpNotifyFilterEntry entry, java.lang.String columnName)
           
 void readFromFile()
           
 void setTableRequestHandler(SnmpNotifyFilterTableRequestHandler 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

SNMPNOTIFYFILTERPROFILENAME

static final int SNMPNOTIFYFILTERPROFILENAME

SNMPNOTIFYFILTERSUBTREE

static final int SNMPNOTIFYFILTERSUBTREE

SNMPNOTIFYFILTERMASK

static final int SNMPNOTIFYFILTERMASK

SNMPNOTIFYFILTERTYPE

static final int SNMPNOTIFYFILTERTYPE

SNMPNOTIFYFILTERSTORAGETYPE

static final int SNMPNOTIFYFILTERSTORAGETYPE

SNMPNOTIFYFILTERROWSTATUS

static final int SNMPNOTIFYFILTERROWSTATUS

columnNames

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

SnmpNotifyFilterTableXMLToVector

public SnmpNotifyFilterTableXMLToVector(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(SnmpNotifyFilterEntry 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(SnmpNotifyFilterTableRequestHandler handler)