com.adventnet.snmp.snmp2.agent
Class V3FileToVector

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

Deprecated. The persistence now uses XML format hence this class is deprecated.

public class V3FileToVector
extends FileToVector
implements UpdateListener

This class is used for the flatFile persistency of the Trap Table Entries. This class is deprecated since we use the V3XMLToVector instead

Since:
AdventNet Agent Toolkit (Java Edition) 4.2 release.
See Also:
V3XMLToVector

Field Summary
(package private)  SimpleTrapForwardingTable handler
          Deprecated.  
(package private) static int ID
          Deprecated.  
(package private) static int MANAGERHOST
          Deprecated.  
(package private) static int MANAGERPORT
          Deprecated.  
(package private) static int ROWSTATUS
          Deprecated.  
(package private)  java.util.Vector tableVector
          Deprecated.  
(package private) static int V3MANAGERUSERCONTEXTNAME
          Deprecated.  
(package private) static int V3MANAGERUSERNAME
          Deprecated.  
(package private) static int V3MANAGERUSERSECMODEL
          Deprecated.  
 
Fields inherited from class com.adventnet.snmp.snmp2.agent.FileToVector
handler, ID, lastModified, MANAGERHOST, MANAGERPORT, refreshTime, ROWSTATUS, tableVector
 
Constructor Summary
V3FileToVector(java.lang.String dirStr, java.lang.String fileName)
          Deprecated. Primary constructor with the directory Name and the file Name
 
Method Summary
 void run()
          Deprecated. Since the AdventNet Agent Toolkit (Java Edition) 4.2 release
 void setForwardingTableRequestHandler(SimpleTrapForwardingTable handler)
          Deprecated. Used to set the RequestHandler which will handle the requests and update the file values to the Handler files
 void writeIntoFile()
          Deprecated. Used to update values from the file
 
Methods inherited from class com.adventnet.snmp.snmp2.agent.FileToVector
initTableVector, refreshTrapTable
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

static final int ID
Deprecated. 

MANAGERHOST

static final int MANAGERHOST
Deprecated. 

MANAGERPORT

static final int MANAGERPORT
Deprecated. 

V3MANAGERUSERNAME

static final int V3MANAGERUSERNAME
Deprecated. 

V3MANAGERUSERSECMODEL

static final int V3MANAGERUSERSECMODEL
Deprecated. 

V3MANAGERUSERCONTEXTNAME

static final int V3MANAGERUSERCONTEXTNAME
Deprecated. 

ROWSTATUS

static final int ROWSTATUS
Deprecated. 

tableVector

java.util.Vector tableVector
Deprecated. 

handler

SimpleTrapForwardingTable handler
Deprecated. 
Constructor Detail

V3FileToVector

public V3FileToVector(java.lang.String dirStr,
                      java.lang.String fileName)
Deprecated. 
Primary constructor with the directory Name and the file Name
Method Detail

writeIntoFile

public void writeIntoFile()
Deprecated. 
Used to update values from the file
Specified by:
writeIntoFile in interface UpdateListener
Overrides:
writeIntoFile in class FileToVector

setForwardingTableRequestHandler

public void setForwardingTableRequestHandler(SimpleTrapForwardingTable handler)
Deprecated. 
Used to set the RequestHandler which will handle the requests and update the file values to the Handler files
Overrides:
setForwardingTableRequestHandler in class FileToVector

run

public void run()
Deprecated. Since the AdventNet Agent Toolkit (Java Edition) 4.2 release

This method is deprecated since the refreshing the trapTable is deprecated
Overrides:
run in class FileToVector