public enum SnmpValueType extends Enum<SnmpValueType>
Enum Constant and Description |
---|
COUNTER32 |
COUNTER64 |
END_OF_MIB |
GAUGE32 |
INT32 |
IPADDRESS |
NO_SUCH_INSTANCE |
NO_SUCH_OBJECT |
NULL |
OBJECT_IDENTIFIER |
OCTET_STRING |
OPAQUE |
TIMETICKS |
Modifier and Type | Method and Description |
---|---|
String |
getDisplayString() |
int |
getInt() |
static SnmpValueType |
valueOf(int i) |
static SnmpValueType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SnmpValueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SnmpValueType INT32
public static final SnmpValueType OCTET_STRING
public static final SnmpValueType NULL
public static final SnmpValueType OBJECT_IDENTIFIER
public static final SnmpValueType IPADDRESS
public static final SnmpValueType COUNTER32
public static final SnmpValueType GAUGE32
public static final SnmpValueType TIMETICKS
public static final SnmpValueType OPAQUE
public static final SnmpValueType COUNTER64
public static final SnmpValueType NO_SUCH_OBJECT
public static final SnmpValueType NO_SUCH_INSTANCE
public static final SnmpValueType END_OF_MIB
public static SnmpValueType[] values()
for (SnmpValueType c : SnmpValueType.values()) System.out.println(c);
public static SnmpValueType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getInt()
public String getDisplayString()
public static SnmpValueType valueOf(int i)
Copyright © 2016. All rights reserved.