FileDocCategorySizeDatePackage
SnmpOidRecord.javaAPI DocJava SE 5 API2506Fri Aug 26 14:55:04 BST 2005com.sun.jmx.snmp

SnmpOidRecord

public class SnmpOidRecord extends Object
Represents an entry of an {@link com.sun.jmx.snmp.SnmpOidTable SnmpOidTable}. It contains the name of the MIB variable, the corresponding OID and its type. The type is represented using one of the following:
  • "C" for Counter32
  • "C64" for Counter64
  • "EN" for Table Entry
  • "G" for Gauge32
  • "I" for Integer32
  • "ID" for OBJECT-IDENTITY
  • "IP" for IpAddress
  • "NT" for NOTIFICATION-TYPE
  • "NU" for Null
  • "O" for Opaque
  • "OI" for Object Identifier
  • "S" for String
  • "T" for TimeTicks
  • "TA" for Table
  • "U" for Unsigned32

This API is a Sun Microsystems internal API and is subject to change without notice.

see
com.sun.jmx.snmp.SnmpOidTable

Fields Summary
private String
name
The MIB variable name.
private String
oid
The MIB variable OID.
private String
type
The MIB variable type.
Constructors Summary
public SnmpOidRecord(String name, String oid, String type)
Creates an SnmpOidRecord with the specified MIB variable name, OID and type.

param
name The logical name of the MIB variable.
param
oid The OID of the MIB variable.
param
type The type of the MIB variable.

        this.name = name;
        this.oid = oid;
        this.type = type;
    
Methods Summary
public java.lang.StringgetName()
Gets the logical name of the MIB variable.

return
The MIB variable name.

        return name;
    
public java.lang.StringgetOid()
Gets the OID of the MIB variable.

return
The MIB variable OID.

	
        return oid;
    
public java.lang.StringgetType()
Gets the type of the MIB variable.

return
The MIB variable type.

        return type;