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

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

 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
See Also:
Constant Field Values

SNMPNOTIFYFILTERSUBTREE

static final int SNMPNOTIFYFILTERSUBTREE
See Also:
Constant Field Values

SNMPNOTIFYFILTERMASK

static final int SNMPNOTIFYFILTERMASK
See Also:
Constant Field Values

SNMPNOTIFYFILTERTYPE

static final int SNMPNOTIFYFILTERTYPE
See Also:
Constant Field Values

SNMPNOTIFYFILTERSTORAGETYPE

static final int SNMPNOTIFYFILTERSTORAGETYPE
See Also:
Constant Field Values

SNMPNOTIFYFILTERROWSTATUS

static final int SNMPNOTIFYFILTERROWSTATUS
See Also:
Constant Field Values

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
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)