Class SubAgentXIndexRegistryEntry
java.lang.Object
org.snmp4j.agent.agentx.master.index.IndexRegistryEntry
org.snmp4j.agent.agentx.subagent.index.SubAgentXIndexRegistryEntry
- All Implemented Interfaces:
Comparable<IndexRegistryEntry>
-
Field Summary
Fields inherited from class IndexRegistryEntry
indexValues, usedValues -
Constructor Summary
ConstructorsConstructorDescriptionSubAgentXIndexRegistryEntry(org.snmp4j.smi.OctetString context, org.snmp4j.smi.VariableBinding indexType) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddUsed(IndexEntry entry) Add a used index value to the used registry.protected voidduplicateAllocation(IndexEntry entry) protected IndexEntrynewIndexEntry(int sessionID, org.snmp4j.smi.Variable indexValue) protected booleanremoveEntry(IndexEntry entryKey) Remove an index value from the active index values.Methods inherited from class IndexRegistryEntry
allocate, anyIndex, compareTo, equals, getContext, getIndexType, hashCode, newIndex, release, release
-
Constructor Details
-
SubAgentXIndexRegistryEntry
public SubAgentXIndexRegistryEntry(org.snmp4j.smi.OctetString context, org.snmp4j.smi.VariableBinding indexType)
-
-
Method Details
-
newIndexEntry
- Overrides:
newIndexEntryin classIndexRegistryEntry
-
duplicateAllocation
- Overrides:
duplicateAllocationin classIndexRegistryEntry
-
addUsed
Description copied from class:IndexRegistryEntryAdd a used index value to the used registry.- Overrides:
addUsedin classIndexRegistryEntry- Parameters:
entry- the index value entry.
-
removeEntry
Description copied from class:IndexRegistryEntryRemove an index value from the active index values.- Overrides:
removeEntryin classIndexRegistryEntry- Parameters:
entryKey- the index value entry.- Returns:
trueif the removal was successful.
-