|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adventnet.snmp.snmp2.agent.FileToVector
public class FileToVector
The class which deals with the FileToVector persistence of the TrapTable Entries
| Field Summary | |
|---|---|
(package private) SimpleTrapForwardingTable |
handler
Deprecated. |
(package private) static int |
ID
Deprecated. |
(package private) long |
lastModified
Deprecated. |
(package private) static int |
MANAGERHOST
Deprecated. |
(package private) static int |
MANAGERPORT
Deprecated. |
(package private) int |
refreshTime
Deprecated. |
(package private) static int |
ROWSTATUS
Deprecated. |
(package private) java.util.Vector |
tableVector
Deprecated. |
| Constructor Summary | |
|---|---|
FileToVector()
Deprecated. Primary Constructor |
|
FileToVector(java.lang.String dirStr,
java.lang.String fileName)
Deprecated. Secondary constructor with directory name and fileName |
|
| Method Summary | |
|---|---|
void |
initTableVector()
Deprecated. Initializing the Table Entry Vector |
void |
refreshTrapTable(int refreshTime)
Deprecated. Refreshing TrapTable in time |
void |
run()
Deprecated. Thread's run method which refreshes the TrapTable |
void |
setForwardingTableRequestHandler(SimpleTrapForwardingTable handler)
Deprecated. Setter for the Table Request Handler |
void |
writeIntoFile()
Deprecated. Used to update values from the file |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static final int ID
static final int MANAGERHOST
static final int MANAGERPORT
static final int ROWSTATUS
java.util.Vector tableVector
int refreshTime
long lastModified
SimpleTrapForwardingTable handler
| Constructor Detail |
|---|
public FileToVector()
public FileToVector(java.lang.String dirStr,
java.lang.String fileName)
| Method Detail |
|---|
public void initTableVector()
public void refreshTrapTable(int refreshTime)
public void run()
run in interface java.lang.Runnablepublic void writeIntoFile()
writeIntoFile in interface UpdateListenerpublic void setForwardingTableRequestHandler(SimpleTrapForwardingTable handler)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||