public class PendingConfirm
extends java.lang.Object
CorrelationData for
the client to correlate a confirm with a sent message.| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
cause |
private CorrelationData |
correlationData |
private long |
timestamp |
| Constructor and Description |
|---|
PendingConfirm(CorrelationData correlationData,
long timestamp) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCause() |
CorrelationData |
getCorrelationData()
The correlation data supplied by the client when sending the message
corresponding to this confirmation.
|
long |
getTimestamp() |
void |
setCause(java.lang.String cause)
When the confirmation is nacked, set the cause when available.
|
java.lang.String |
toString() |
private final CorrelationData correlationData
private final long timestamp
private java.lang.String cause
public PendingConfirm(CorrelationData correlationData, long timestamp)
correlationData - The correlation data.timestamp - The timestamp.public CorrelationData getCorrelationData()
public long getTimestamp()
public void setCause(java.lang.String cause)
cause - The cause.public java.lang.String getCause()
public java.lang.String toString()
toString in class java.lang.Object