|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<SecurityLevel>
org.snmp4j.security.SecurityLevel
public enum SecurityLevel
The SecurityLevel
interface contains enumerated values
for the different security levels.
Enum Constant Summary | |
---|---|
authNoPriv
|
|
authPriv
|
|
noAuthNoPriv
|
|
undefined
|
Field Summary | |
---|---|
static int |
AUTH_NOPRIV
Authentication and no encryption. |
static int |
AUTH_PRIV
Authentication and encryption. |
static int |
NOAUTH_NOPRIV
No authentication and no encryption. |
Method Summary | |
---|---|
static SecurityLevel |
get(int snmpValue)
|
int |
getSnmpValue()
Gets the SNMP value of this security level. |
static SecurityLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SecurityLevel[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final SecurityLevel undefined
public static final SecurityLevel noAuthNoPriv
public static final SecurityLevel authNoPriv
public static final SecurityLevel authPriv
Field Detail |
---|
public static final int NOAUTH_NOPRIV
public static final int AUTH_NOPRIV
public static final int AUTH_PRIV
Method Detail |
---|
public static SecurityLevel[] values()
for (SecurityLevel c : SecurityLevel.values()) System.out.println(c);
public static SecurityLevel valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic int getSnmpValue()
public static SecurityLevel get(int snmpValue)
|
Copyright 2005-2011 Frank Fock (SNMP4J.org) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |