org.netsnmp
Interface OID
- All Superinterfaces:
- Comparable
- All Known Implementing Classes:
- NativeOID
- public interface OID
- extends Comparable
Object Identifier. Identifier for MIB variables and instances, consisting
of a series of non-negative integers. Constructors are available for building
identifiers from integers or text equivielents.
For example...
The descriptor for the system that a remote agent resides on may be
identified as either
1.3.6.1.2.1.1.1.0
or
iso.org.dod.internet.mgmt.mib-2.system.sysDescr.0
- Author:
- Andrew E. Page aepage@users.sourceforge.net
oids
public int[] oids()
length
public int length()
toText
public String toText()
append
public OID append(OID oid)
compareTo
public int compareTo(OID oid,
int n)
- Compares up to n places in this oid
- Parameters:
oid
- to compare this ton
- compare to n places
- Returns:
- a negative integer, zero or a positive integer
if this object is less than, equal to or greaten than the OID
it is being compared to to n places.