A B C D E F G I L M O P R S T U V
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 - 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.
- createStore(Transaction, OctetString) - Method in class org.snmp4j.agent.db.MOXodusPersistence
D
- decodeIndexOID(BERInputStream, BER.MutableByte) - Static method in class org.snmp4j.agent.db.MOXodusPersistence
- decodeInstanceData(ByteIterable) - Method in class org.snmp4j.agent.db.MOXodusPersistence
- decodeVariableBinding(BERInputStream) - Method in class org.snmp4j.agent.db.MOXodusPersistence
- 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
- encodeInstanceData(List<VariableBinding>) - Method in class org.snmp4j.agent.db.MOXodusPersistence
- encodeVariableBinding(VariableBinding, BEROutputStream) - Method in class org.snmp4j.agent.db.MOXodusPersistence
F
- fullDumpOnSave - 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
- 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
- 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
- getKey(OID, OID) - Method in class org.snmp4j.agent.db.MOXodusPersistence
- getKeyOid(ByteIterable) - Method in class org.snmp4j.agent.db.MOXodusPersistence
- getMOServer() - Method in class org.snmp4j.agent.db.MOXodusPersistence
- getPersistenceProviderID() - Method in class org.snmp4j.agent.db.MOXodusPersistenceProvider
-
Returns an 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
- 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
- isIgnoreChangeListenerEvents() - Method in class org.snmp4j.agent.db.MOXodusPersistence
- 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 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.SavingStrategy - Enum in org.snmp4j.agent.db
- 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 - 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).
- run() - Method in class org.snmp4j.agent.db.sample.SampleAgent
- runSynchronization(Map<OctetString, Store>, Transaction, ImportMode, Iterator<Map.Entry<MOScope, ManagedObject<?>>>) - Method in class org.snmp4j.agent.db.MOXodusPersistence
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
- save() - Method in class org.snmp4j.agent.db.MOXodusPersistence
-
Saves the data of the
MOServer
s associated with this instance to persistent storage depoending on the currently configuredMOXodusPersistence.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. - setSavingStrategy(MOXodusPersistence.SavingStrategy) - Method in class org.snmp4j.agent.db.MOXodusPersistence
- store(String) - Method in class org.snmp4j.agent.db.MOXodusPersistenceProvider
-
Stores the current agent state to persistent storage specified by the supplied URI.
- 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 org.snmp4j.agent.db.MOXodusPersistence.SavingStrategy
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.snmp4j.agent.db.MOXodusPersistence.SavingStrategy
-
Returns an array containing the constants of this enum type, 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.