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 RandomAccessManagedObjects using RandomAccessManagedObject.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 the MOXodusPersistenceProvider wrapper that actually implements the MOPersistenceProvider interface of SNMP4J-Agent.
MOXodusPersistence(MOServer[], Environment) - Constructor for class org.snmp4j.agent.db.MOXodusPersistence
Creates a new MOXodusPersistence from an array of MOServer instances and an Xodus Environment.
MOXodusPersistence(MOServer[], Environment, MOXodusPersistence.SavingStrategy) - Constructor for class org.snmp4j.agent.db.MOXodusPersistence
Creates a new MOXodusPersistence from an array of MOServer instances and an Xodus Environment.
MOXodusPersistence.SavingStrategy - Enum in org.snmp4j.agent.db
 
MOXodusPersistenceProvider - Class in org.snmp4j.agent.db
The MOXodusPersistenceProvider implements a MOPersistenceProvider that uses a JetBrains Xodus database for persistent storage of RandomAccessManagedObjects.
MOXodusPersistenceProvider(MOXodusPersistence) - Constructor for class org.snmp4j.agent.db.MOXodusPersistenceProvider
Creates a MOXodusPersistenceProvider based with a provided default MOXodusPersistence handler that provides the default storage access operations and listens for RandomAccessManagedObject update events (see MOXodusPersistence.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 all RandomAccessManagedObject instances in the provided MOServer.
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 by SampleAgentConfig.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 MOServers associated with this instance to persistent storage depoending on the currently configured MOXodusPersistence.SavingStrategy.
server - Variable in class org.snmp4j.agent.db.sample.SampleAgent
 
setIgnoreChangeListenerEvents(boolean) - Method in class org.snmp4j.agent.db.MOXodusPersistence
Defines whether MOChangeEvents 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 all RandomAccessManagedObject instances in the provided MOServer.
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.
A B C D E F G I L M O P R S T U V