- java.lang.Object
-
- org.snmp4j.agent.mo.snmp4j.Snmp4jConfigMib
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classSnmp4jConfigMib.Snmp4jCfgResetstatic classSnmp4jConfigMib.Snmp4jCfgResetEnumclassSnmp4jConfigMib.Snmp4jCfgSecSrcAddrValidationstatic classSnmp4jConfigMib.Snmp4jCfgSecSrcAddrValidationEnumclassSnmp4jConfigMib.Snmp4jCfgStorageEntryRowstatic classSnmp4jConfigMib.Snmp4jCfgStorageFormatEnumstatic classSnmp4jConfigMib.Snmp4jCfgStorageOperationEnumstatic classSnmp4jConfigMib.Snmp4jCfgStorageRestoreModeEnum
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Snmp4jConfigMib(SysUpTime sysUpTime)Snmp4jConfigMib(SysUpTime sysUpTime, AgentConfigManager agentConfigManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddPersistenceProvider(MOPersistenceProvider provider)SnmpCommunityMIBgetCoexistenceInfoProvider()MOPersistenceProvidergetPersistenceProvider(String id)MOPersistenceProvidergetPrimaryPersistence()MOTable<Snmp4jConfigMib.Snmp4jCfgStorageEntryRow,MOColumn,MOMutableTableModel<Snmp4jConfigMib.Snmp4jCfgStorageEntryRow>>getSnmp4jCfgStorageEntry()voidregisterMOs(MOServer server, org.snmp4j.smi.OctetString context)Registers the managed objects of this group with the server for the supplied context.voidsetPrimaryProvider(MOPersistenceProvider persistenceProvider)voidsetSnmpCommunityMIB(SnmpCommunityMIB snmpCommunityMIB)voidunregisterMOs(MOServer server, org.snmp4j.smi.OctetString context)Unregisters the managed objects of this group from the supplied server and from the supplied context.
-
-
-
Field Detail
-
oidSnmp4jCfgSecSrcAddrValidation
public static final org.snmp4j.smi.OID oidSnmp4jCfgSecSrcAddrValidation
-
oidSnmp4jCfgReset
public static final org.snmp4j.smi.OID oidSnmp4jCfgReset
-
oidSnmp4jCfgStorageEntry
public static final org.snmp4j.smi.OID oidSnmp4jCfgStorageEntry
-
colSnmp4jCfgStoragePath
public static final int colSnmp4jCfgStoragePath
- See Also:
- Constant Field Values
-
colSnmp4jCfgStorageID
public static final int colSnmp4jCfgStorageID
- See Also:
- Constant Field Values
-
colSnmp4jCfgStorageLastStore
public static final int colSnmp4jCfgStorageLastStore
- See Also:
- Constant Field Values
-
colSnmp4jCfgStorageLastRestore
public static final int colSnmp4jCfgStorageLastRestore
- See Also:
- Constant Field Values
-
colSnmp4jCfgStorageRestoreMode
public static final int colSnmp4jCfgStorageRestoreMode
- See Also:
- Constant Field Values
-
colSnmp4jCfgStorageOperation
public static final int colSnmp4jCfgStorageOperation
- See Also:
- Constant Field Values
-
colSnmp4jCfgStorageStorageType
public static final int colSnmp4jCfgStorageStorageType
- See Also:
- Constant Field Values
-
colSnmp4jCfgStorageStatus
public static final int colSnmp4jCfgStorageStatus
- See Also:
- Constant Field Values
-
idxSnmp4jCfgStoragePath
public static final int idxSnmp4jCfgStoragePath
- See Also:
- Constant Field Values
-
idxSnmp4jCfgStorageID
public static final int idxSnmp4jCfgStorageID
- See Also:
- Constant Field Values
-
idxSnmp4jCfgStorageLastStore
public static final int idxSnmp4jCfgStorageLastStore
- See Also:
- Constant Field Values
-
idxSnmp4jCfgStorageLastRestore
public static final int idxSnmp4jCfgStorageLastRestore
- See Also:
- Constant Field Values
-
idxSnmp4jCfgStorageRestoreMode
public static final int idxSnmp4jCfgStorageRestoreMode
- See Also:
- Constant Field Values
-
idxSnmp4jCfgStorageOperation
public static final int idxSnmp4jCfgStorageOperation
- See Also:
- Constant Field Values
-
idxSnmp4jCfgStorageStorageType
public static final int idxSnmp4jCfgStorageStorageType
- See Also:
- Constant Field Values
-
idxSnmp4jCfgStorageStatus
public static final int idxSnmp4jCfgStorageStatus
- See Also:
- Constant Field Values
-
PRIMARY_INDEX
public static final org.snmp4j.smi.OID PRIMARY_INDEX
-
snmpCommunityMIB
protected SnmpCommunityMIB snmpCommunityMIB
-
persistenceProvider
protected Map<CharSequence,MOPersistenceProvider> persistenceProvider
-
primaryPersistence
protected MOPersistenceProvider primaryPersistence
-
sysUpTime
protected SysUpTime sysUpTime
-
-
Constructor Detail
-
Snmp4jConfigMib
public Snmp4jConfigMib(SysUpTime sysUpTime)
-
Snmp4jConfigMib
public Snmp4jConfigMib(SysUpTime sysUpTime, AgentConfigManager agentConfigManager)
-
-
Method Detail
-
getSnmp4jCfgStorageEntry
public MOTable<Snmp4jConfigMib.Snmp4jCfgStorageEntryRow,MOColumn,MOMutableTableModel<Snmp4jConfigMib.Snmp4jCfgStorageEntryRow>> getSnmp4jCfgStorageEntry()
-
getPrimaryPersistence
public MOPersistenceProvider getPrimaryPersistence()
-
registerMOs
public void registerMOs(MOServer server, org.snmp4j.smi.OctetString context) throws DuplicateRegistrationException
Description copied from interface:MOGroupRegisters the managed objects of this group with the server for the supplied context.- Specified by:
registerMOsin interfaceMOGroup- Parameters:
server- theMOServerwhere to register the managed objects.context- the context to use (may benullif no specific context is selected).- Throws:
DuplicateRegistrationException- if a managed object's scope (i.e. lower bound) is already registered at the server.
-
unregisterMOs
public void unregisterMOs(MOServer server, org.snmp4j.smi.OctetString context)
Description copied from interface:MOGroupUnregisters the managed objects of this group from the supplied server and from the supplied context.- Specified by:
unregisterMOsin interfaceMOGroup- Parameters:
server- theMOServerwhere to unregister the managed objects.context- the context to use (may benullif no specific context is selected).
-
setSnmpCommunityMIB
public void setSnmpCommunityMIB(SnmpCommunityMIB snmpCommunityMIB)
-
setPrimaryProvider
public void setPrimaryProvider(MOPersistenceProvider persistenceProvider)
-
addPersistenceProvider
public void addPersistenceProvider(MOPersistenceProvider provider)
-
getPersistenceProvider
public MOPersistenceProvider getPersistenceProvider(String id)
-
getCoexistenceInfoProvider
public SnmpCommunityMIB getCoexistenceInfoProvider()
-
-