public abstract class SnmpSMI extends Object
ASN1
Modifier and Type | Field and Description |
---|---|
static byte |
SMI_APPSTRING
An application string is a sequence of octets defined at the application
level.
|
static byte |
SMI_COUNTER32
A non-negative integer that may be incremented, but not decremented.
|
static byte |
SMI_COUNTER64
Defines a 64-bit unsigned counter.
|
static byte |
SMI_ENDOFMIBVIEW
The SNMPv2 error representing the End-Of-Mib-View.
|
static byte |
SMI_GAUGE32
Represents a non-negative integer that may increase or decrease with a
maximum value of 2^32-1.
|
static byte |
SMI_INTEGER
Defines the positive and negative whole numbers, including zero.
|
static byte |
SMI_IPADDRESS
An IP Address is an application string of length four and is
indistinguishable from the SMI_APPSTRING value.
|
static byte |
SMI_NOSUCHINSTANCE
The SNMPv2 error representing that there is No-Such-Instance for a
particular object identifier.
|
static byte |
SMI_NOSUCHOBJECT
The SNMPv2 error representing that there is No-Such-Object for a
particular object identifier.
|
static byte |
SMI_NULL
A Null value.
|
static byte |
SMI_OBJECTID
A set of values associated with the information objects defined by the
standard.
|
static byte |
SMI_OPAQUE
Used to support the transport of arbitrary data.
|
static byte |
SMI_STRING
A sequence of zero or more octets, where an octet is an 8-bit quantity.
|
static byte |
SMI_TIMETICKS
This represents a non-negative integer that counts time, modulo 2^32.
|
static byte |
SMI_UNSIGNED32
Used to represent the integers in the range of 0 to 2^32-1.
|
static int |
SNMPV1
The value for a SNMP V1 protocol session
|
static int |
SNMPV2
The value for a SNMP V2 protocol session.
|
Constructor and Description |
---|
SnmpSMI() |
Modifier and Type | Method and Description |
---|---|
static String |
getVersionString(int version) |
static int |
toInt(SnmpSyntax result,
int deflt) |
public static final byte SMI_INTEGER
ASN1.INTEGER
,
Constant Field Valuespublic static final byte SMI_STRING
ASN1.OCTETSTRING
,
Constant Field Valuespublic static final byte SMI_OBJECTID
ASN1.OBJECTID
,
Constant Field Valuespublic static final byte SMI_NULL
ASN1.NULL
,
Constant Field Valuespublic static final byte SMI_APPSTRING
public static final byte SMI_IPADDRESS
public static final byte SMI_COUNTER32
public static final byte SMI_GAUGE32
public static final byte SMI_UNSIGNED32
public static final byte SMI_TIMETICKS
public static final byte SMI_OPAQUE
public static final byte SMI_COUNTER64
public static final byte SMI_NOSUCHOBJECT
public static final byte SMI_NOSUCHINSTANCE
public static final byte SMI_ENDOFMIBVIEW
public static final int SNMPV1
public static final int SNMPV2
public static String getVersionString(int version)
public static int toInt(SnmpSyntax result, int deflt)
Copyright © 2021. All rights reserved.