|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.snmp4j.agent.util.IndexGenerator
public class IndexGenerator
The IndexGenerator class can be used to generate a sequence
of unique index values.
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
org.snmp4j.smi.OID |
getNextSubIndex()
Creates the next sub-index OID value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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.| Method Detail |
|---|
public org.snmp4j.smi.OID getNextSubIndex()
|
Copyright 2005-2010 Frank Fock (SNMP4J.org) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||