public class GetSdr extends IpmiCommandCoder
Wrapper for Get SDR command.
  • Constructor Details

    • GetSdr

      public GetSdr(IpmiVersion version, CipherSuite cipherSuite, AuthenticationType authenticationType, int reservationId, int recordId)
      Initiates GetSdr for both encoding and decoding. 'Offset info record' and 'bytes to read' fields are set to read whole record.
      Parameters:
      version - - IPMI version of the command.
      cipherSuite - - CipherSuite containing authentication, confidentiality and integrity algorithms for this session.
      authenticationType - - Type of authentication used. Must be RMCPPlus for IPMI v2.0.
      reservationId - - SDR reservation ID received via ReserveSdrRepository command
      recordId - - ID of the record to get
    • GetSdr

      public GetSdr(IpmiVersion version, CipherSuite cipherSuite, AuthenticationType authenticationType, int reservationId, int recordId, int offset, int bytesToRead)
      Initiates GetSdr for both encoding and decoding.
      Parameters:
      version - - IPMI version of the command.
      cipherSuite - - CipherSuite containing authentication, confidentiality and integrity algorithms for this session.
      authenticationType - - Type of authentication used. Must be RMCPPlus for IPMI v2.0.
      reservationId - - SDR reservation ID received via ReserveSdrRepository command
      recordId - - ID of the record to get
      offset - - the offset into record, at which reading should be started
      bytesToRead - - number of bytes to read
  • Method Details