Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- addListenAddresses(MessageDispatcher, List<Object>) - Method in class org.snmp4j.agent.db.sample.SampleAgent
- afterMOChange(MOChangeEvent) - Method in class org.snmp4j.agent.db.MOXodusPersistence
-
A change has been committed.
- afterPrepareMOChange(MOChangeEvent) - Method in class org.snmp4j.agent.db.MOXodusPersistence
-
A change has been prepared.
- agent - Variable in class org.snmp4j.agent.db.sample.SampleAgent
- agentStateChanged(AgentConfigManager, AgentState) - Method in class org.snmp4j.agent.db.sample.SampleAgent
-
The agent state has changed to the new state as provided.
B
- beforeMOChange(MOChangeEvent) - Method in class org.snmp4j.agent.db.MOXodusPersistence
-
A ManagedObject change is being committed.
- beforePrepareMOChange(MOChangeEvent) - Method in class org.snmp4j.agent.db.MOXodusPersistence
-
A ManagedObject change is being prepared.
C
- checkForModificationsOnSave - Enum constant in enum class org.snmp4j.agent.db.MOXodusPersistence.SavingStrategy
-
Save only when the
MOXodusPersistence.save()
method is being called and the persistent data do no longer match the data in the agent. - checkMinVersionOfDependencies() - Static method in class org.snmp4j.agent.db.version.VersionInfo
-
Checks whether all dependencies have the minimum required version.
- close() - Method in class org.snmp4j.agent.db.MOXodusPersistenceProvider
-
Close the Xodus environment (DB) used by the default persistence located at
MOXodusPersistenceProvider.getDefaultURI()
. - COMMAND_LINE_OPTIONS - Static variable in class org.snmp4j.agent.db.sample.SampleAgent
- COMMAND_LINE_PARAMS - Static variable in class org.snmp4j.agent.db.sample.SampleAgent
- createMOInputFactory(String, ImportMode) - Method in class org.snmp4j.agent.db.sample.SampleAgent
- createStore(Transaction, OctetString) - Method in class org.snmp4j.agent.db.MOXodusPersistence
-
Ceates a
Store
for a context.
D
- decodeIndexOID(BERInputStream, BER.MutableByte) - Static method in class org.snmp4j.agent.db.MOXodusPersistence
-
Decode a index
OID
from a BER input stream. - decodeInstanceData(ByteIterable) - Method in class org.snmp4j.agent.db.MOXodusPersistence
-
Decode BER instance data from raw byte stream.
- decodeVariableBinding(BERInputStream) - Method in class org.snmp4j.agent.db.MOXodusPersistence
-
Decode a
VariableBinding
from anBERInputStream
. - DEPENDENCY_SNMP4J_AGENT_MAJOR - Static variable in class org.snmp4j.agent.db.version.VersionInfo
- DEPENDENCY_SNMP4J_AGENT_MINOR - Static variable in class org.snmp4j.agent.db.version.VersionInfo
- DEPENDENCY_SNMP4J_AGENT_PATCH - Static variable in class org.snmp4j.agent.db.version.VersionInfo
- DEPENDENCY_SNMP4J_AGENT_UPDATE - Static variable in class org.snmp4j.agent.db.version.VersionInfo
- DEPENDENCY_SNMP4J_MAJOR - Static variable in class org.snmp4j.agent.db.version.VersionInfo
- DEPENDENCY_SNMP4J_MINOR - Static variable in class org.snmp4j.agent.db.version.VersionInfo
- DEPENDENCY_SNMP4J_PATCH - Static variable in class org.snmp4j.agent.db.version.VersionInfo
- DEPENDENCY_SNMP4J_UPDATE - Static variable in class org.snmp4j.agent.db.version.VersionInfo
E
- encodeIndexOID(OutputStream, byte, int[]) - Static method in class org.snmp4j.agent.db.MOXodusPersistence
-
Encodes an index OID.
- encodeInstanceData(List<VariableBinding>) - Method in class org.snmp4j.agent.db.MOXodusPersistence
-
Encode instance data from a list of
VariableBinding
s. - encodeVariableBinding(VariableBinding, BEROutputStream) - Method in class org.snmp4j.agent.db.MOXodusPersistence
-
Encode a
VariableBinding
to aBEROutputStream
.
F
- fullDumpOnSave - Enum constant in enum class org.snmp4j.agent.db.MOXodusPersistence.SavingStrategy
-
Always save everything when
MOXodusPersistence.save()
is being called without checking for modifications.
G
- getContexts(ManagedObject<?>) - Method in class org.snmp4j.agent.db.MOXodusPersistence
-
Get the contexts registered with all
MOServer
for the givenManagedObject
. - getDefaultURI() - Method in class org.snmp4j.agent.db.MOXodusPersistenceProvider
-
Gets the URI of the default persistent storage for this provider.
- getEngineBoots() - Method in class org.snmp4j.agent.db.MOXodusPersistenceProvider
-
Returns current engine boot counter value.
- getEngineId(OctetString) - Method in class org.snmp4j.agent.db.MOXodusPersistenceProvider
- getEnvironment() - Method in class org.snmp4j.agent.db.MOXodusPersistence
-
Gets the Xodus
Environment
used by this persistent probvider. - getFactory() - Method in class org.snmp4j.agent.db.sample.SampleAgent
-
Get the
MOFactory
that creates the various MOs (MIB Objects). - getIndexOIDLength(int[]) - Static method in class org.snmp4j.agent.db.MOXodusPersistence
-
Get the index OID length from a index OID raw value.
- getKey(OID, OID) - Method in class org.snmp4j.agent.db.MOXodusPersistence
-
Gets the key for an OID and instance ID.
- getKeyOid(ByteIterable) - Method in class org.snmp4j.agent.db.MOXodusPersistence
-
Gets the OID of a key.
- getMoScopeComparator() - Method in class org.snmp4j.agent.db.MOXodusPersistence
-
Gets the
MOScopeComparator
that defines the default order in whichManagedObject
s are stored and restored from persistent storage (unless the parameterMOPriorityProvider
is used). - getMOServer() - Method in class org.snmp4j.agent.db.MOXodusPersistence
-
Get the associated
MOServer
s. - getPersistenceExceptionList() - Method in class org.snmp4j.agent.db.MOXodusPersistence
-
Gets the current exception list for keeping
RandomAccessManagedObject
s persistent regardless theirRandomAccessManagedObject.isVolatile()
value or not. - getPersistenceProviderID() - Method in class org.snmp4j.agent.db.MOXodusPersistenceProvider
-
Returns a unique ID of the persistence provider which should identify the format and type of the persistence provider.
- getSavingStrategy() - Method in class org.snmp4j.agent.db.MOXodusPersistence
-
Gets the saving strategy as defined by
MOXodusPersistence.SavingStrategy
. - getTableSizeLimitsProperties(Map<String, List<Object>>) - Static method in class org.snmp4j.agent.db.sample.SampleAgent
-
Read the content of the
SampleAgentTableSizeLimits.properties
file. - getVersion() - Static method in class org.snmp4j.agent.db.version.VersionInfo
-
Gets the version string for this release.
I
- isContextLoadable(OctetString) - Method in class org.snmp4j.agent.db.MOXodusPersistence
-
Checks if there is already MIB data stored for the specified context.
- isContinuousChangeListening() - Method in class org.snmp4j.agent.db.MOXodusPersistence
-
Return
true
if theMOXodusPersistence.registerChangeListenersWithServer(MOServer)
for any server, butMOXodusPersistence.unregisterChangeListenersWithServer(MOServer)
has not been called yet. - isIgnoreChangeListenerEvents() - Method in class org.snmp4j.agent.db.MOXodusPersistence
-
Check whether change listener events are actually suppressed (i.e.
- isValidPersistenceURI(String) - Method in class org.snmp4j.agent.db.MOXodusPersistenceProvider
-
Checks whether the supplied URI string is valid for this persistence provider.
L
- load(ImportMode) - Method in class org.snmp4j.agent.db.MOXodusPersistence
- load(ImportMode, MOPriorityProvider) - Method in class org.snmp4j.agent.db.MOXodusPersistence
-
Load the contents of all
RandomAccessManagedObject
s usingRandomAccessManagedObject.importInstance(OID, List, ImportMode)
calls. - load(ImportMode, MOPriorityProvider, boolean) - Method in class org.snmp4j.agent.db.MOXodusPersistence
-
Load the contents of all
RandomAccessManagedObject
s usingRandomAccessManagedObject.importInstance(OID, List, ImportMode)
calls.
M
- main(String[]) - Static method in class org.snmp4j.agent.db.sample.SampleAgent
-
Runs a sample agent with a default configuration defined by
SampleAgentConfig.properties
. - MAJOR - Static variable in class org.snmp4j.agent.db.version.VersionInfo
- MINOR - Static variable in class org.snmp4j.agent.db.version.VersionInfo
- MOXodusPersistence - Class in org.snmp4j.agent.db
-
The
MOXodusPersistence
class provides persistent storage for SNMP4J-Agent using theMOXodusPersistenceProvider
wrapper that actually implements theMOPersistenceProvider
interface of SNMP4J-Agent. - MOXodusPersistence(MOServer[], Environment) - Constructor for class org.snmp4j.agent.db.MOXodusPersistence
- MOXodusPersistence(MOServer[], Environment, MOXodusPersistence.SavingStrategy) - Constructor for class org.snmp4j.agent.db.MOXodusPersistence
- MOXodusPersistence(MOServer[], Environment, MOXodusPersistence.SavingStrategy, MOScopeComparator) - Constructor for class org.snmp4j.agent.db.MOXodusPersistence
- MOXodusPersistence.SavingStrategy - Enum Class in org.snmp4j.agent.db
-
The
MOXodusPersistence.SavingStrategy
defines how and when persistent data is saved. - MOXodusPersistenceProvider - Class in org.snmp4j.agent.db
-
The
MOXodusPersistenceProvider
implements aMOPersistenceProvider
that uses a JetBrains Xodus database for persistent storage ofRandomAccessManagedObject
s. - MOXodusPersistenceProvider(MOXodusPersistence) - Constructor for class org.snmp4j.agent.db.MOXodusPersistenceProvider
-
Creates a
MOXodusPersistenceProvider
based with a provided defaultMOXodusPersistence
handler that provides the default storage access operations and listens forRandomAccessManagedObject
update events (seeMOXodusPersistence.registerChangeListenersWithServer(MOServer)
for details).
O
- onChangeEventsOnly - Enum constant in enum class org.snmp4j.agent.db.MOXodusPersistence.SavingStrategy
-
The default strategy saves changed data only if a corresponding
MOChangeEvent
has been received. - org.snmp4j.agent.db - package org.snmp4j.agent.db
- org.snmp4j.agent.db.sample - package org.snmp4j.agent.db.sample
- org.snmp4j.agent.db.version - package org.snmp4j.agent.db.version
P
- PATCH - Static variable in class org.snmp4j.agent.db.version.VersionInfo
R
- registerChangeListenersWithServer(MOServer) - Method in class org.snmp4j.agent.db.MOXodusPersistence
-
Register this object as
MOChangeListener
on allRandomAccessManagedObject
instances in the providedMOServer
. - registerMIBs() - Method in class org.snmp4j.agent.db.sample.SampleAgent
-
Register your own MIB modules in the specified context of the agent.
- resetEngineId(OctetString) - Method in class org.snmp4j.agent.db.MOXodusPersistenceProvider
- restore(String, int) - Method in class org.snmp4j.agent.db.MOXodusPersistenceProvider
-
Restore (load) agent state from the specified URI (can be as simple as a file path).
- restore(String, int, MOPriorityProvider) - Method in class org.snmp4j.agent.db.MOXodusPersistenceProvider
-
Restore (load) agent state from the specified URI (can be as simple as a file path).
- run() - Method in class org.snmp4j.agent.db.sample.SampleAgent
- runSynchronization(Map<OctetString, Store>, Transaction, ImportMode, Iterator<Map.Entry<MOScope, ManagedObject<?>>>, boolean) - Method in class org.snmp4j.agent.db.MOXodusPersistence
-
Run synchronisation between in memory data and on disk data.
- runSyncOnBootMO(Transaction, MOServer, Map<OctetString, Store>, ImportMode, MOPriorityProvider, OctetString) - Method in class org.snmp4j.agent.db.MOXodusPersistence
-
Run synchronisation on the boot
ManagedObject
(i.e.
S
- SampleAgent - Class in org.snmp4j.agent.db.sample
-
The SampleAgent uses an
AgentConfigManager
instance to create a minimal SNMP agent using the configuration defined bySampleAgentConfig.properties
in this package. - SampleAgent(Map<String, List<Object>>) - Constructor for class org.snmp4j.agent.db.sample.SampleAgent
- SampleAgent(Map<String, List<Object>>, MOServer[], MOXodusPersistence, Properties, ImportMode) - Constructor for class org.snmp4j.agent.db.sample.SampleAgent
- save() - Method in class org.snmp4j.agent.db.MOXodusPersistence
-
Saves the data of the
MOServer
s associated with this instance to persistent storage depending on the currently configuredMOXodusPersistence.SavingStrategy
. - save(MOPriorityProvider) - Method in class org.snmp4j.agent.db.MOXodusPersistence
-
Saves the data of the
MOServer
s associated with this instance to persistent storage depending on the currently configuredMOXodusPersistence.SavingStrategy
. - saveFullDump(MOPriorityProvider, boolean) - Method in class org.snmp4j.agent.db.MOXodusPersistence
-
Saves the data of the
MOServer
s associated with this instance to persistent storage independent of the currently setMOXodusPersistence.SavingStrategy
. - server - Variable in class org.snmp4j.agent.db.sample.SampleAgent
- setIgnoreChangeListenerEvents(boolean) - Method in class org.snmp4j.agent.db.MOXodusPersistence
-
Defines whether
MOChangeEvent
s should be ignored or not. - setMoScopeComparator(MOScopeComparator) - Method in class org.snmp4j.agent.db.MOXodusPersistence
-
Sets the
MOScopeComparator
and by this defines the default order in whichManagedObject
s are stored and restored from persistent storage as long as parameterMOPriorityProvider
ofMOXodusPersistence.save(MOPriorityProvider)
andMOXodusPersistence.load(ImportMode, MOPriorityProvider)
are not used. - setPersistenceExceptionList(Map<OID, Boolean>) - Method in class org.snmp4j.agent.db.MOXodusPersistence
-
Sets the current exception list for keeping
RandomAccessManagedObject
s persistent regardless theirRandomAccessManagedObject.isVolatile()
value or not. - setSavingStrategy(MOXodusPersistence.SavingStrategy) - Method in class org.snmp4j.agent.db.MOXodusPersistence
-
Sets the saving strategy for this persistence provider as defined by
MOXodusPersistence.SavingStrategy
. - setupAgent(Map<String, List<Object>>, MOServer[], MOInputFactory, List<Object>, String) - Method in class org.snmp4j.agent.db.sample.SampleAgent
- store(String) - Method in class org.snmp4j.agent.db.MOXodusPersistenceProvider
-
Stores the current agent state to persistent storage specified by the supplied URI.
- store(String, MOPriorityProvider) - Method in class org.snmp4j.agent.db.MOXodusPersistenceProvider
- storeNameFromContext(OctetString) - Method in class org.snmp4j.agent.db.MOXodusPersistence
-
Return a string store name for the provided SNMPv3 context.
T
- tableSizeLimits - Variable in class org.snmp4j.agent.db.sample.SampleAgent
U
- unregisterChangeListenersWithServer(MOServer) - Method in class org.snmp4j.agent.db.MOXodusPersistence
-
Removes a former registration of this object as
MOChangeListener
on allRandomAccessManagedObject
instances in the providedMOServer
. - UPDATE - Static variable in class org.snmp4j.agent.db.version.VersionInfo
- updateEngineBoots() - Method in class org.snmp4j.agent.db.MOXodusPersistenceProvider
-
Returns the current engine boot counter value incremented by one.
V
- valueOf(String) - Static method in enum class org.snmp4j.agent.db.MOXodusPersistence.SavingStrategy
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.snmp4j.agent.db.MOXodusPersistence.SavingStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VERSION - Static variable in class org.snmp4j.agent.db.version.VersionInfo
- VersionInfo - Class in org.snmp4j.agent.db.version
-
The
VersionInfo
object returns information about the version of this SNMP4J-AgentX release.
All Classes and Interfaces|All Packages|Constant Field Values