Class QueueElement
java.lang.Object
org.metricshub.ipmi.core.connection.queue.QueueElement
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetId()booleanisOneWay()voidsetRequest(PayloadCoder request)
-
Constructor Details
-
QueueElement
- Parameters:
id- the tag of the requestrequest- the request awaiting its replyoneWay- 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
-
setRequest
-
getTimestamp
-