Package com.hierynomus.mssmb2
Enum SMB2MessageCommandCode
- java.lang.Object
-
- java.lang.Enum<SMB2MessageCommandCode>
-
- com.hierynomus.mssmb2.SMB2MessageCommandCode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SMB2MessageCommandCode>
,java.lang.constant.Constable
public enum SMB2MessageCommandCode extends java.lang.Enum<SMB2MessageCommandCode>
[MS-SMB2].pdf 2.2.1.1 / 2.2.1.2 Message Command Code(s)
-
-
Enum Constant Summary
-
Method Summary
Modifier and Type Method Description int
getValue()
static SMB2MessageCommandCode
lookup(int value)
static SMB2MessageCommandCode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SMB2MessageCommandCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SMB2_NEGOTIATE
public static final SMB2MessageCommandCode SMB2_NEGOTIATE
-
SMB2_SESSION_SETUP
public static final SMB2MessageCommandCode SMB2_SESSION_SETUP
-
SMB2_LOGOFF
public static final SMB2MessageCommandCode SMB2_LOGOFF
-
SMB2_TREE_CONNECT
public static final SMB2MessageCommandCode SMB2_TREE_CONNECT
-
SMB2_TREE_DISCONNECT
public static final SMB2MessageCommandCode SMB2_TREE_DISCONNECT
-
SMB2_CREATE
public static final SMB2MessageCommandCode SMB2_CREATE
-
SMB2_CLOSE
public static final SMB2MessageCommandCode SMB2_CLOSE
-
SMB2_FLUSH
public static final SMB2MessageCommandCode SMB2_FLUSH
-
SMB2_READ
public static final SMB2MessageCommandCode SMB2_READ
-
SMB2_WRITE
public static final SMB2MessageCommandCode SMB2_WRITE
-
SMB2_LOCK
public static final SMB2MessageCommandCode SMB2_LOCK
-
SMB2_IOCTL
public static final SMB2MessageCommandCode SMB2_IOCTL
-
SMB2_CANCEL
public static final SMB2MessageCommandCode SMB2_CANCEL
-
SMB2_ECHO
public static final SMB2MessageCommandCode SMB2_ECHO
-
SMB2_QUERY_DIRECTORY
public static final SMB2MessageCommandCode SMB2_QUERY_DIRECTORY
-
SMB2_CHANGE_NOTIFY
public static final SMB2MessageCommandCode SMB2_CHANGE_NOTIFY
-
SMB2_QUERY_INFO
public static final SMB2MessageCommandCode SMB2_QUERY_INFO
-
SMB2_SET_INFO
public static final SMB2MessageCommandCode SMB2_SET_INFO
-
SMB2_OPLOCK_BREAK
public static final SMB2MessageCommandCode SMB2_OPLOCK_BREAK
-
-
Method Detail
-
values
public static SMB2MessageCommandCode[] 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 SMB2MessageCommandCode 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 int getValue()
-
lookup
public static SMB2MessageCommandCode lookup(int value)
-
-