Enum Class SMB2MessageFlag

java.lang.Object
java.lang.Enum<SMB2MessageFlag>
com.hierynomus.mssmb2.SMB2MessageFlag
All Implemented Interfaces:
EnumWithValue<SMB2MessageFlag>, Serializable, Comparable<SMB2MessageFlag>, Constable

public enum SMB2MessageFlag extends Enum<SMB2MessageFlag> implements EnumWithValue<SMB2MessageFlag>
  • Enum Constant Details

    • SMB2_FLAGS_SERVER_TO_REDIR

      public static final SMB2MessageFlag SMB2_FLAGS_SERVER_TO_REDIR
    • SMB2_FLAGS_ASYNC_COMMAND

      public static final SMB2MessageFlag SMB2_FLAGS_ASYNC_COMMAND
    • SMB2_FLAGS_SIGNED

      public static final SMB2MessageFlag SMB2_FLAGS_SIGNED
    • SMB2_FLAGS_PRIORITY_MASK

      public static final SMB2MessageFlag SMB2_FLAGS_PRIORITY_MASK
    • SMB2_FLAGS_DFS_OPERATIONS

      public static final SMB2MessageFlag SMB2_FLAGS_DFS_OPERATIONS
    • SMB2_FLAGS_REPLAY_OPERATION

      public static final SMB2MessageFlag SMB2_FLAGS_REPLAY_OPERATION
  • Field Details

    • value

      private long value
  • Constructor Details

    • SMB2MessageFlag

      private SMB2MessageFlag(long value)
  • Method Details

    • values

      public static SMB2MessageFlag[] 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

      public static SMB2MessageFlag valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getValue

      public long getValue()
      Specified by:
      getValue in interface EnumWithValue<SMB2MessageFlag>