java.lang.Object
org.snmp4j.agent.mo.snmp4j.Snmp4jConfigMib
- All Implemented Interfaces:
MOPriorityProvider
,MOGroup
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
static final class
class
static final class
class
static final class
static final class
static final class
class
class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
static final org.snmp4j.smi.OID
protected Map
<CharSequence, MOPersistenceProvider> static final org.snmp4j.smi.OID
protected MOPersistenceProvider
protected SnmpCommunityMIB
protected SysUpTime
-
Constructor Summary
ConstructorDescriptionSnmp4jConfigMib
(SysUpTime sysUpTime) Snmp4jConfigMib
(SysUpTime sysUpTime, AgentConfigManager agentConfigManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addPersistenceProvider
(MOPersistenceProvider provider) void
getBootManagedObject
(org.snmp4j.smi.OctetString context) This default implementation ofMOPriorityProvider
does not support context depend configurations.getPriorityMap
(org.snmp4j.smi.OctetString context) Returns a sorted map that maps object identifiers to a integer based priority where lesser numbers represent higher priority, i.e.MOTable
<Snmp4jConfigMib.Snmp4jCfgStorageEntryRow, MOColumn, MOMutableTableModel<Snmp4jConfigMib.Snmp4jCfgStorageEntryRow>> MOTable
<Snmp4jConfigMib.Snmp4jCfgStorageSeqEntryRow, MOColumn, MOMutableTableModel<Snmp4jConfigMib.Snmp4jCfgStorageSeqEntryRow>> void
registerMOs
(MOServer server, org.snmp4j.smi.OctetString context) Registers the managed objects of this group with the server for the supplied context.void
setPrimaryProvider
(MOPersistenceProvider persistenceProvider) void
setSnmpCommunityMIB
(SnmpCommunityMIB snmpCommunityMIB) void
unregisterMOs
(MOServer server, org.snmp4j.smi.OctetString context) Unregisters the managed objects of this group from the supplied server and from the supplied context.
-
Field Details
-
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:
-
colSnmp4jCfgStorageID
public static final int colSnmp4jCfgStorageID- See Also:
-
colSnmp4jCfgStorageLastStore
public static final int colSnmp4jCfgStorageLastStore- See Also:
-
colSnmp4jCfgStorageLastRestore
public static final int colSnmp4jCfgStorageLastRestore- See Also:
-
colSnmp4jCfgStorageRestoreMode
public static final int colSnmp4jCfgStorageRestoreMode- See Also:
-
colSnmp4jCfgStorageOperation
public static final int colSnmp4jCfgStorageOperation- See Also:
-
colSnmp4jCfgStorageStorageType
public static final int colSnmp4jCfgStorageStorageType- See Also:
-
colSnmp4jCfgStorageStatus
public static final int colSnmp4jCfgStorageStatus- See Also:
-
idxSnmp4jCfgStoragePath
public static final int idxSnmp4jCfgStoragePath- See Also:
-
idxSnmp4jCfgStorageID
public static final int idxSnmp4jCfgStorageID- See Also:
-
idxSnmp4jCfgStorageLastStore
public static final int idxSnmp4jCfgStorageLastStore- See Also:
-
idxSnmp4jCfgStorageLastRestore
public static final int idxSnmp4jCfgStorageLastRestore- See Also:
-
idxSnmp4jCfgStorageRestoreMode
public static final int idxSnmp4jCfgStorageRestoreMode- See Also:
-
idxSnmp4jCfgStorageOperation
public static final int idxSnmp4jCfgStorageOperation- See Also:
-
idxSnmp4jCfgStorageStorageType
public static final int idxSnmp4jCfgStorageStorageType- See Also:
-
idxSnmp4jCfgStorageStatus
public static final int idxSnmp4jCfgStorageStatus- See Also:
-
oidSnmp4jCfgStorageSeqEntry
public static final org.snmp4j.smi.OID oidSnmp4jCfgStorageSeqEntry -
oidSnmp4jCfgStorageSeqIndex
public static final org.snmp4j.smi.OID oidSnmp4jCfgStorageSeqIndex -
colSnmp4jCfgStorageSeqSubtree
public static final int colSnmp4jCfgStorageSeqSubtree- See Also:
-
colSnmp4jCfgStorageSeqStorageType
public static final int colSnmp4jCfgStorageSeqStorageType- See Also:
-
colSnmp4jCfgStorageSeqRowStatus
public static final int colSnmp4jCfgStorageSeqRowStatus- See Also:
-
idxSnmp4jCfgStorageSeqSubtree
public static final int idxSnmp4jCfgStorageSeqSubtree- See Also:
-
idxSnmp4jCfgStorageSeqStorageType
public static final int idxSnmp4jCfgStorageSeqStorageType- See Also:
-
idxSnmp4jCfgStorageSeqRowStatus
public static final int idxSnmp4jCfgStorageSeqRowStatus- See Also:
-
PRIMARY_INDEX
public static final org.snmp4j.smi.OID PRIMARY_INDEX -
snmpCommunityMIB
-
persistenceProvider
-
-
sysUpTime
-
-
Constructor Details
-
Snmp4jConfigMib
-
Snmp4jConfigMib
-
-
Method Details
-
getSnmp4jCfgStorageEntry
public MOTable<Snmp4jConfigMib.Snmp4jCfgStorageEntryRow,MOColumn, getSnmp4jCfgStorageEntry()MOMutableTableModel<Snmp4jConfigMib.Snmp4jCfgStorageEntryRow>> -
getPrimaryPersistence
-
getSnmp4jCfgStorageSeqEntry
public MOTable<Snmp4jConfigMib.Snmp4jCfgStorageSeqEntryRow,MOColumn, getSnmp4jCfgStorageSeqEntry()MOMutableTableModel<Snmp4jConfigMib.Snmp4jCfgStorageSeqEntryRow>> -
registerMOs
public void registerMOs(MOServer server, org.snmp4j.smi.OctetString context) throws DuplicateRegistrationException Description copied from interface:MOGroup
Registers the managed objects of this group with the server for the supplied context.- Specified by:
registerMOs
in interfaceMOGroup
- Parameters:
server
- theMOServer
where to register the managed objects.context
- the context to use (may benull
if no specific context is selected).- Throws:
DuplicateRegistrationException
- if a managed object's scope (i.e. lower bound) is already registered at the server.
-
unregisterMOs
Description copied from interface:MOGroup
Unregisters the managed objects of this group from the supplied server and from the supplied context.- Specified by:
unregisterMOs
in interfaceMOGroup
- Parameters:
server
- theMOServer
where to unregister the managed objects.context
- the context to use (may benull
if no specific context is selected).
-
getPriorityMap
Description copied from interface:MOPriorityProvider
Returns a sorted map that maps object identifiers to a integer based priority where lesser numbers represent higher priority, i.e. earlier processing in store and restore operations. TheOID
s represent the lower bound of theMOScope
ofManagedObject
s or any of their parent sub-trees.- Specified by:
getPriorityMap
in interfaceMOPriorityProvider
- Parameters:
context
- the SNMPv3 context for which the boot managed object that stores the priority information is to e returned.null
and the empty (size 0) string represent the default context.- Returns:
- a sorted map of OID to zero based priorities.
-
getBootManagedObject
This default implementation ofMOPriorityProvider
does not support context depend configurations. Thus it will return for all contextsgetSnmp4jCfgStorageEntry()
.- Specified by:
getBootManagedObject
in interfaceMOPriorityProvider
- Parameters:
context
- the SNMPv3 context for which the boot managed object that stores the priority information is to e returned.null
and the empty (size 0) string represent the default context.- Returns:
getSnmp4jCfgStorageEntry()
-
freeRow
-
setSnmpCommunityMIB
-
setPrimaryProvider
-
addPersistenceProvider
-
getPersistenceProvider
-
getCoexistenceInfoProvider
-