Package com.hierynomus.mssmb2
Enum Class SMB2GlobalCapability
- All Implemented Interfaces:
EnumWithValue<SMB2GlobalCapability>
,Serializable
,Comparable<SMB2GlobalCapability>
,Constable
public enum SMB2GlobalCapability
extends Enum<SMB2GlobalCapability>
implements EnumWithValue<SMB2GlobalCapability>
[MS-SMB2].pdf 2.2.3 SMB2 NEGOTIATE Request - Capabilities
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface com.hierynomus.protocol.commons.EnumWithValue
EnumWithValue.EnumUtils
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
getValue()
static SMB2GlobalCapability
Returns the enum constant of this class with the specified name.static SMB2GlobalCapability[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SMB2_GLOBAL_CAP_DFS
-
SMB2_GLOBAL_CAP_LEASING
-
SMB2_GLOBAL_CAP_LARGE_MTU
-
SMB2_GLOBAL_CAP_MULTI_CHANNEL
-
SMB2_GLOBAL_CAP_PERSISTENT_HANDLES
-
SMB2_GLOBAL_CAP_DIRECTORY_LEASING
-
SMB2_GLOBAL_CAP_ENCRYPTION
-
-
Field Details
-
i
private long i
-
-
Constructor Details
-
SMB2GlobalCapability
private SMB2GlobalCapability(long i)
-
-
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
-
getValue
public long getValue()- Specified by:
getValue
in interfaceEnumWithValue<SMB2GlobalCapability>
-