public class PublishAck extends ApiResponse<PublishAck>
json, NO_TYPE
Constructor and Description |
---|
PublishAck(Message msg) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDomain()
Gets the domain of a stream
|
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() |
getApiErrorCode, 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 java.lang.String getDomain()
public boolean isDuplicate()
public java.lang.String toString()
toString
in class java.lang.Object