Enum Class SMB2NegotiateContextType

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

public enum SMB2NegotiateContextType extends Enum<SMB2NegotiateContextType> implements EnumWithValue<SMB2NegotiateContextType>
[MS-SMB2] 2.2.3.1 SMB2 NEGOTIATE_CONTEXT Request values - ContextType
  • Enum Constant Details

  • Field Details

    • value

      private long value
  • Constructor Details

    • SMB2NegotiateContextType

      private SMB2NegotiateContextType(long value)
  • Method Details

    • values

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