public class PublishAck extends ApiResponse<PublishAck>
json, NO_TYPE
Constructor and Description |
---|
PublishAck(Message msg) |
Modifier and Type | Method and Description |
---|---|
long |
getSeqno()
Get the stream sequence number for the corresponding published message.
|
java.lang.String |
getStream()
Get the name of the stream a published message was stored in.
|
boolean |
isDuplicate()
Gets if the server detected the published message was a duplicate.
|
java.lang.String |
toString() |
getDescription, getError, getErrorCode, getType, hasError, throwOnHasError
public PublishAck(Message msg) throws java.io.IOException, JetStreamApiException
java.io.IOException
JetStreamApiException
public long getSeqno()
public java.lang.String getStream()
public boolean isDuplicate()
public java.lang.String toString()
toString
in class java.lang.Object