Class QueueElement

java.lang.Object
org.metricshub.ipmi.core.connection.queue.QueueElement

public class QueueElement extends Object
  • Constructor Details

    • QueueElement

      public QueueElement(int id, PayloadCoder request, boolean oneWay)
      Parameters:
      id - the tag of the request
      request - the request awaiting its reply
      oneWay - true when nobody waits for the reply: the reply and the timeout of the request are not reported
  • Method Details

    • isOneWay

      public boolean isOneWay()
      Returns:
      true when nobody waits for the reply: the element only reserves the tag until the reply or the timeout
    • getId

      public int getId()
    • getRequest

      public PayloadCoder getRequest()
    • setRequest

      public void setRequest(PayloadCoder request)
    • getTimestamp

      public Date getTimestamp()