public enum SnmpError extends Enum<SnmpError>
Enum Constant and Description |
---|
REQUEST_INITIAL
Request inital
|
REQUEST_INVALID_DISCOVERY_RESPONSE_ERROR
Request invalid discovery response error
|
REQUEST_OK
Request OK
|
REQUEST_PDU_ERROR
Request PDU error
|
REQUEST_TIME_OUT
Request timeout
|
RESPONSE_AUTHORIZATION_ERROR
Response authorization error
|
RESPONSE_DECRYPTION_ERROR
Response decryption error
|
RESPONSE_INVALID_VB_COUNT_ERROR
Response invalid variable bind count error
|
RESPONSE_OK
Response OK
|
RESPONSE_PDU_ERROR
Response PDU Error
|
RESPONSE_PDU_VARBIND_ERROR
Response PDU variable binding error
|
RESPONSE_USM_ERROR
Response USM error
|
RESPONSE_WALK_RESPONSE_ERROR
Response walk response error
|
UNKNOWN_ERROR
Unknown error
|
Modifier and Type | Method and Description |
---|---|
static SnmpError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SnmpError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SnmpError REQUEST_INITIAL
public static final SnmpError REQUEST_OK
public static final SnmpError REQUEST_TIME_OUT
public static final SnmpError REQUEST_PDU_ERROR
public static final SnmpError REQUEST_INVALID_DISCOVERY_RESPONSE_ERROR
public static final SnmpError RESPONSE_OK
public static final SnmpError RESPONSE_PDU_ERROR
public static final SnmpError RESPONSE_PDU_VARBIND_ERROR
public static final SnmpError RESPONSE_USM_ERROR
public static final SnmpError RESPONSE_WALK_RESPONSE_ERROR
public static final SnmpError RESPONSE_INVALID_VB_COUNT_ERROR
public static final SnmpError RESPONSE_DECRYPTION_ERROR
public static final SnmpError RESPONSE_AUTHORIZATION_ERROR
public static final SnmpError UNKNOWN_ERROR
public static SnmpError[] values()
for (SnmpError c : SnmpError.values()) System.out.println(c);
public static SnmpError 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 nullCopyright © 2015. All Rights Reserved.