com.adventnet.snmp.snmp2.agent
Class SysORTableRequestHandler
java.lang.Object
|
+--com.adventnet.snmp.snmp2.agent.SimpleRequestHandler
|
+--com.adventnet.snmp.snmp2.agent.BaseSysORTableRequestHandler
|
+--com.adventnet.snmp.snmp2.agent.SysORTableRequestHandler
- public class SysORTableRequestHandler
- extends BaseSysORTableRequestHandler
Handles all requests under
sysORTable group
|
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 |
| 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,
getObjectHash,
getObjectTypeHash,
getRequest,
getTableListener,
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 |
agentName
SnmpAgent agentName
SysORTableRequestHandler
public SysORTableRequestHandler(SnmpAgent agentRef,
boolean persistence)
- Constructor to specify persistence flag
- Parameters:
agentRef - The Agent Reference of the running Agentpersistence - The persistence flag
SysORTableRequestHandler
public 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
- Parameters:
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
SysORTableRequestHandler
public 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
- Parameters:
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.
setSysORTableName
public void setSysORTableName(java.lang.String tableName)
- Setter for SysORTableName
- Parameters:
tableName - specifies the name of the Table file in the fileSystem.- See Also:
getSysORTableName()
getSysORTableName
public java.lang.String getSysORTableName()
- Getter for SysORTableName
- Returns:
- The name of the Table file in the fileSystem.
- See Also:
setSysORTableName(String tableName)
setSysORTableDirectoryName
public void setSysORTableDirectoryName(java.lang.String tableDirectory)
- Setter for SysORTableDirectoryName
- Parameters:
tableDirectory - specifies the directory where the table file is stored in
the fileSystem.- See Also:
getSysORTableDirectoryName()
getSysORTableDirectoryName
public java.lang.String getSysORTableDirectoryName()
- Getter for SysORTableDirectoryName
- Returns:
- The name of the directory where the table file is stored in the fileSystem.
- See Also:
setSysORTableDirectoryName(String tableDirectory)
initTableVector
public void initTableVector()
setTableVector
public void setTableVector(java.util.Vector tableVector)
- Setter for the Table Entries for sysORTable
- Overrides:
- setTableVector in class BaseSysORTableRequestHandler
- Parameters:
tableVector - The Vector of SysOREntry objects.- See Also:
BaseSysORTableRequestHandler.getTableVector()
setPersistence
public void setPersistence(boolean flag)
- Setter for persistence of sysORTable in fileSystem
- Parameters:
flag - The flag specifying the persistence- See Also:
isPersistence()
isPersistence
public boolean isPersistence()
- Getter for persistence of sysORTable in fileSystem
- Returns:
- The flag specifying the persistence
- See Also:
setPersistence(boolean flag)
setFToVPersistence
public void setFToVPersistence(boolean fToVPersistence)
- Setter for FToV Persistence flag.
- Parameters:
fToVPersistence - The FToV Persistence flag.