Class GetSelInfoResponseData

java.lang.Object
org.metricshub.ipmi.core.coding.commands.sel.GetSelInfoResponseData
All Implemented Interfaces:
ResponseData

public class GetSelInfoResponseData extends Object implements ResponseData
The reply to Get SEL Info (IPMI 2.0 section 31.2): the version of the SEL, its number of entries and the times of its last addition and erasure.
  • Constructor Details

    • GetSelInfoResponseData

      public GetSelInfoResponseData()
  • Method Details

    • getSelVersion

      public int getSelVersion()
      Returns the version of the SEL command set, BCD-decoded: 15 for 51h, version 1.5.
      Returns:
      the SEL version, 15 for version 1.5
    • setSelVersion

      public void setSelVersion(int selVersion)
      Sets the version of the SEL command set.
      Parameters:
      selVersion - the SEL version, BCD-decoded (15 for version 1.5)
    • getEntriesCount

      public int getEntriesCount()
      Returns the number of entries in the SEL.
      Returns:
      the number of entries
    • setEntriesCount

      public void setEntriesCount(int entriesCount)
      Sets the number of entries in the SEL.
      Parameters:
      entriesCount - the number of entries
    • getAdditionTimestamp

      public Date getAdditionTimestamp()
      Returns the time of the most recent addition to the SEL as the BMC sent it: a Date of the unsigned 32-bit number of seconds, with no UTC offset applied. FFFFFFFFh means that no entry was ever added, or that the BMC lost the value.
      Returns:
      the time of the most recent addition
    • setAdditionTimestamp

      public void setAdditionTimestamp(Date additionTimestamp)
      Sets the time of the most recent addition to the SEL.
      Parameters:
      additionTimestamp - the time of the most recent addition, as the BMC sent it
    • getEraseTimestamp

      public Date getEraseTimestamp()
      Returns the time of the most recent erasure of SEL entries as the BMC sent it: a Date of the unsigned 32-bit number of seconds, with no UTC offset applied.
      Returns:
      the time of the most recent erasure
    • setEraseTimestamp

      public void setEraseTimestamp(Date eraseTimestamp)
      Sets the time of the most recent erasure of SEL entries.
      Parameters:
      eraseTimestamp - the time of the most recent erasure, as the BMC sent it