public class IndexGenerator extends Object
IndexGenerator class can be used to generate a sequence
of unique index values.| Constructor and Description |
|---|
IndexGenerator(org.snmp4j.smi.Variable seedSubIndex)
Creates a sub-index sequence generator based on a seed value.
|
IndexGenerator(org.snmp4j.smi.Variable seedSubIndex,
boolean impliedLength)
Creates a sub-index sequence generator based on a seed value.
|
| Modifier and Type | Method and Description |
|---|---|
org.snmp4j.smi.OID |
getNextSubIndex()
Creates the next sub-index OID value.
|
public IndexGenerator(org.snmp4j.smi.Variable seedSubIndex)
seedSubIndex - the seed value to start with (the seed itself will never be returned).public IndexGenerator(org.snmp4j.smi.Variable seedSubIndex,
boolean impliedLength)
seedSubIndex - the seed value to start with (the seed itself will never be returned).impliedLength - if true the length will not be included in the returned
sub-index for variable-length types.Copyright © 2020 SNMP4J.org. All rights reserved.