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

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

class SnmpNotifyTableXMLToVector
extends java.lang.Object
implements UpdateListener


Field Summary
(package private) static java.lang.String[] columnNames
           
(package private) static int SNMPNOTIFYNAME
           
(package private) static int SNMPNOTIFYROWSTATUS
           
(package private) static int SNMPNOTIFYSTORAGETYPE
           
(package private) static int SNMPNOTIFYTAG
           
(package private) static int SNMPNOTIFYTYPE
           
 
Constructor Summary
SnmpNotifyTableXMLToVector(java.lang.String dirStr, java.lang.String fileName)
           
 
Method Summary
static int getColumnId(java.lang.String name)
           
 java.lang.String getColumnValue(SnmpNotifyEntry entry, java.lang.String columnName)
           
 void readFromFile()
           
 void setTableRequestHandler(SnmpNotifyTableRequestHandler 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

SNMPNOTIFYNAME

static final int SNMPNOTIFYNAME

SNMPNOTIFYTAG

static final int SNMPNOTIFYTAG

SNMPNOTIFYTYPE

static final int SNMPNOTIFYTYPE

SNMPNOTIFYSTORAGETYPE

static final int SNMPNOTIFYSTORAGETYPE

SNMPNOTIFYROWSTATUS

static final int SNMPNOTIFYROWSTATUS

columnNames

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

SnmpNotifyTableXMLToVector

public SnmpNotifyTableXMLToVector(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(SnmpNotifyEntry 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(SnmpNotifyTableRequestHandler handler)