|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adventnet.snmp.snmp2.agent.SimpleRequestHandler
com.adventnet.snmp.snmp2.agent.BaseSysORTableRequestHandler
com.adventnet.snmp.snmp2.agent.SysORTableRequestHandler
public class SysORTableRequestHandler
Handles all requests under sysORTable group
| Field Summary | |
|---|---|
(package private) SnmpAgent |
agentName
|
| Fields inherited from class com.adventnet.snmp.snmp2.agent.BaseSysORTableRequestHandler |
|---|
atomicTable, descr, index, Oid, SYSORDESCR, SYSORID, SYSORINDEX, SYSORUPTIME, tModelComplete |
| Fields inherited from class com.adventnet.snmp.snmp2.agent.SimpleRequestHandler |
|---|
instrumentHandler, listener, tableListener, writeEachTime |
| Constructor Summary | |
|---|---|
SysORTableRequestHandler(SnmpAgent agentRef,
boolean persistence)
Constructor to specify persistence flag |
|
SysORTableRequestHandler(SnmpAgent agentRef,
java.lang.String tableDirectory,
java.lang.String tableName)
Constructor where the directory and table file name can be customised by the user |
|
SysORTableRequestHandler(SnmpAgent agentRef,
java.lang.String tableDirectory,
java.lang.String tableName,
boolean fToVPersistence)
Constructor where the directory and table file name can be customised by the user |
|
| Method Summary | |
|---|---|
java.lang.String |
getSysORTableDirectoryName()
Getter for SysORTableDirectoryName |
java.lang.String |
getSysORTableName()
Getter for SysORTableName |
void |
initTableVector()
|
boolean |
isPersistence()
Getter for persistence of sysORTable in fileSystem |
void |
setFToVPersistence(boolean fToVPersistence)
Setter for FToV Persistence flag. |
void |
setPersistence(boolean flag)
Setter for persistence of sysORTable in fileSystem |
void |
setSysORTableDirectoryName(java.lang.String tableDirectory)
Setter for SysORTableDirectoryName |
void |
setSysORTableName(java.lang.String tableName)
Setter for SysORTableName |
void |
setTableVector(java.util.Vector tableVector)
Setter for the Table Entries for sysORTable |
| Methods inherited from class com.adventnet.snmp.snmp2.agent.BaseSysORTableRequestHandler |
|---|
createLogger, createSysOREntry, getAgentTableModel, getOidRep, getSubidList, getSysORTableOidRep, getTableVector, processGetNextRequest, processGetRequest, processGetRequest, processSetRequest |
| Methods inherited from class com.adventnet.snmp.snmp2.agent.SimpleRequestHandler |
|---|
addInstrumentHandler, addRegistrationListener, addTableListener, addUpdateListener, getInstrument, getMibVarHash, getNextRequest, getNextRequest, getObjectHash, getObjectTypeHash, getRequest, getTableListener, getUpdateListener, isWriteEachTime, processGetNextRequest, processGetRequest, processSetRequest, removeRegistrationListener, removeUpdateListener, setRequest, setWriteEachTime, writeIntoFile |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
SnmpAgent agentName
| Constructor Detail |
|---|
public SysORTableRequestHandler(SnmpAgent agentRef,
boolean persistence)
agentRef - The Agent Reference of the running Agentpersistence - The persistence flag
public SysORTableRequestHandler(SnmpAgent agentRef,
java.lang.String tableDirectory,
java.lang.String tableName)
agentRef - The Agent Reference of the running AgenttableDirectory - The directory where the fileSystem stores the table filetableName - The file Name in which the fileSystem stores the Table Entries
public SysORTableRequestHandler(SnmpAgent agentRef,
java.lang.String tableDirectory,
java.lang.String tableName,
boolean fToVPersistence)
agentRef - The Agent Reference of the running AgenttableDirectory - The directory where the fileSystem stores the table filetableName - The file Name in which the fileSystem stores the Table EntriesfToVPersistence - The flag for FToVPersistence.| Method Detail |
|---|
public void setSysORTableName(java.lang.String tableName)
tableName - specifies the name of the Table file in the fileSystem.getSysORTableName()public java.lang.String getSysORTableName()
setSysORTableName(String tableName)public void setSysORTableDirectoryName(java.lang.String tableDirectory)
tableDirectory - specifies the directory where the table file is stored in
the fileSystem.getSysORTableDirectoryName()public java.lang.String getSysORTableDirectoryName()
setSysORTableDirectoryName(String tableDirectory)public void initTableVector()
public void setTableVector(java.util.Vector tableVector)
setTableVector in class BaseSysORTableRequestHandlertableVector - The Vector of SysOREntry objects.BaseSysORTableRequestHandler.getTableVector()public void setPersistence(boolean flag)
flag - The flag specifying the persistenceisPersistence()public boolean isPersistence()
setPersistence(boolean flag)public void setFToVPersistence(boolean fToVPersistence)
fToVPersistence - The FToV Persistence flag.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||