java.lang.Object
java.lang.Enum<SNMP4JSettings.ReportSecurityLevelStrategy>
org.snmp4j.SNMP4JSettings.ReportSecurityLevelStrategy
- All Implemented Interfaces:
Serializable
,Comparable<SNMP4JSettings.ReportSecurityLevelStrategy>
,java.lang.constant.Constable
- Enclosing class:
SNMP4JSettings
public static enum SNMP4JSettings.ReportSecurityLevelStrategy
extends Enum<SNMP4JSettings.ReportSecurityLevelStrategy>
Specifies how the security level of retry requests after a REPORT PDU is set.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionNever use noAuthNoPriv security level for reports.This is the SNMP4J < 2.2.0 default strategy.The standard report strategy is conforming to RFC 3412 and 3414. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
noAuthNoPrivIfNeeded
This is the SNMP4J < 2.2.0 default strategy. If the report receiver would not be able to process the REPORT, a lesser security level is used. -
standard
The standard report strategy is conforming to RFC 3412 and 3414. Security level noAuthNoPriv is allowed for engine ID discovery and wrong username reports. -
neverNoAuthNoPriv
Never use noAuthNoPriv security level for reports.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-