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 org.snmp4j.agent.agentx.master.index.IndexRegistryEntry
indexValues, usedValues
-
Constructor Summary
ConstructorsConstructorDescriptionSubAgentXIndexRegistryEntry
(org.snmp4j.smi.OctetString context, org.snmp4j.smi.VariableBinding indexType) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addUsed
(IndexEntry entry) Add a used index value to the used registry.protected void
duplicateAllocation
(IndexEntry entry) protected IndexEntry
newIndexEntry
(int sessionID, org.snmp4j.smi.Variable indexValue) protected boolean
removeEntry
(IndexEntry entryKey) Remove an index value from the active index values.Methods inherited from class org.snmp4j.agent.agentx.master.index.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:
newIndexEntry
in classIndexRegistryEntry
-
duplicateAllocation
- Overrides:
duplicateAllocation
in classIndexRegistryEntry
-
addUsed
Description copied from class:IndexRegistryEntry
Add a used index value to the used registry.- Overrides:
addUsed
in classIndexRegistryEntry
- Parameters:
entry
- the index value entry.
-
removeEntry
Description copied from class:IndexRegistryEntry
Remove an index value from the active index values.- Overrides:
removeEntry
in classIndexRegistryEntry
- Parameters:
entryKey
- the index value entry.- Returns:
true
if the removal was successful.
-