Package com.hierynomus.mssmb2
Enum Class SMB2MessageCommandCode
- All Implemented Interfaces:
Serializable
,Comparable<SMB2MessageCommandCode>
,Constable
[MS-SMB2].pdf 2.2.1.1 / 2.2.1.2
Message Command Code(s)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getValue()
static SMB2MessageCommandCode
lookup
(int value) static SMB2MessageCommandCode
Returns the enum constant of this class with the specified name.static SMB2MessageCommandCode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SMB2_NEGOTIATE
-
SMB2_SESSION_SETUP
-
SMB2_LOGOFF
-
SMB2_TREE_CONNECT
-
SMB2_TREE_DISCONNECT
-
SMB2_CREATE
-
SMB2_CLOSE
-
SMB2_FLUSH
-
SMB2_READ
-
SMB2_WRITE
-
SMB2_LOCK
-
SMB2_IOCTL
-
SMB2_CANCEL
-
SMB2_ECHO
-
SMB2_QUERY_DIRECTORY
-
SMB2_CHANGE_NOTIFY
-
SMB2_QUERY_INFO
-
SMB2_SET_INFO
-
SMB2_OPLOCK_BREAK
-
-
Field Details
-
cache
-
value
private int value
-
-
Constructor Details
-
SMB2MessageCommandCode
private SMB2MessageCommandCode(int value)
-
-
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 int getValue() -
lookup
-