java.lang.Object | |
↳ | com.sun.jmx.snmp.agent.SnmpIndex |
Represents a SNMP index.
An SnmpIndex
is represented as a Vector
of SnmpOid
.
This class is used internally and by the classes generated by mibgen
.
You should not need to use this class directly.
This API is a Sun Microsystems internal API and is subject to change without notice.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Initializes an
SnmpIndex using a vector of object identifiers. | |||||||||||
Initializes an
SnmpIndex using the specified Object Identifier. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Compares two indexes.
| |||||||||||
Compares two indexes for equality.
| |||||||||||
Gets the index as a vector of Object Identifiers.
| |||||||||||
Gets the number of Object Identifiers the index is made of.
| |||||||||||
Returns a
String representation of the index. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Initializes an SnmpIndex
using a vector of object identifiers.
Following the RFC recommendations, every syntax that is used as a
table index should have an object identifier representation. There are
some guidelines on how to map the different syntaxes into an object identifier.
In the different SnmpValue
classes provided, there is a toOid
method to get
the object identifier of the value.
oidList | The list of Object Identifiers. |
---|
Initializes an SnmpIndex
using the specified Object Identifier.
oid | The Object Identifier. |
---|
Compares two indexes.
index | The index to compare this with. |
---|
Compares two indexes for equality.
index | The index to compare this with. |
---|
true
if the two indexes are equal, false
otherwise.
Gets the index as a vector of Object Identifiers.
Gets the number of Object Identifiers the index is made of.
Returns a String
representation of the index.
The different elements are separated by "//".