Package com.hierynomus.mssmb2
Enum SMB2GlobalCapability
- java.lang.Object
-
- java.lang.Enum<SMB2GlobalCapability>
-
- com.hierynomus.mssmb2.SMB2GlobalCapability
-
- All Implemented Interfaces:
EnumWithValue<SMB2GlobalCapability>
,java.io.Serializable
,java.lang.Comparable<SMB2GlobalCapability>
,java.lang.constant.Constable
public enum SMB2GlobalCapability extends java.lang.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
java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
-
Nested classes/interfaces inherited from interface com.hierynomus.protocol.commons.EnumWithValue
EnumWithValue.EnumUtils
-
-
Method Summary
Modifier and Type Method Description long
getValue()
static SMB2GlobalCapability
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SMB2GlobalCapability[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SMB2_GLOBAL_CAP_DFS
public static final SMB2GlobalCapability SMB2_GLOBAL_CAP_DFS
-
SMB2_GLOBAL_CAP_LEASING
public static final SMB2GlobalCapability SMB2_GLOBAL_CAP_LEASING
-
SMB2_GLOBAL_CAP_LARGE_MTU
public static final SMB2GlobalCapability SMB2_GLOBAL_CAP_LARGE_MTU
-
SMB2_GLOBAL_CAP_MULTI_CHANNEL
public static final SMB2GlobalCapability SMB2_GLOBAL_CAP_MULTI_CHANNEL
-
SMB2_GLOBAL_CAP_PERSISTENT_HANDLES
public static final SMB2GlobalCapability SMB2_GLOBAL_CAP_PERSISTENT_HANDLES
-
SMB2_GLOBAL_CAP_DIRECTORY_LEASING
public static final SMB2GlobalCapability SMB2_GLOBAL_CAP_DIRECTORY_LEASING
-
SMB2_GLOBAL_CAP_ENCRYPTION
public static final SMB2GlobalCapability SMB2_GLOBAL_CAP_ENCRYPTION
-
-
Method Detail
-
values
public static SMB2GlobalCapability[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SMB2GlobalCapability valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValue
public long getValue()
- Specified by:
getValue
in interfaceEnumWithValue<SMB2GlobalCapability>
-
-