java.lang.Object
java.lang.Enum<AddressType>
org.sentrysoftware.ipmi.core.coding.commands.sdr.record.AddressType
All Implemented Interfaces:
Serializable, Comparable<AddressType>

public enum AddressType extends Enum<AddressType>
Type of address behind Sensor Record's 'Sensor Owner ID' field.
  • Enum Constant Details

    • IpmbSlaveAddress

      public static final AddressType IpmbSlaveAddress
      IPMB Slave Address
    • SystemSoftwareId

      public static final AddressType SystemSoftwareId
      System Software ID
  • Method Details

    • values

      public static AddressType[] 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 AddressType valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getCode

      public int getCode()
      Get address code
      Returns:
      int value
    • parseInt

      public static AddressType parseInt(int value)
      Parse the given int value and return the corresponding AddressType
      Parameters:
      value - address type value as int
      Returns:
      AddressType instance