public final class PauseReply extends AbstractLogonMessage implements Serializable
PauseRequest.
This response specifies whether the pause request is accepted
or not. If accepted, then this response provides the allowed
pause duration and backlog size. These values will be ≤ to
the requested values, never greater than. The requested
discard policy is always accepted.
If rejected, then replyReason provided
human-readable text explaining the rejection. Please note that
replyStatus will either be
EReplyMessage.ReplyStatus.OK_FINAL (accepted) or
EReplyMessage.ReplyStatus.ERROR (rejected); it will never be set to
EReplyMessage.ReplyStatus.OK_CONTINUING.
PauseRequest,
LogonReply,
Serialized Form| Modifier and Type | Class and Description |
|---|---|
static class |
PauseReply.Builder
Class used to create
PauseReply messages. |
EMessage.MessageType| Modifier and Type | Field and Description |
|---|---|
int |
maximumBacklogSize
Requesting the far-end store up to this many undelivered
messages before beginning to discard messages.
|
Duration |
pauseTime
Requesting a connection pause lasting for this duration.
|
String |
replyReason
The reason for a
EReplyMessage.ReplyStatus.ERROR reply status. |
EReplyMessage.ReplyStatus |
replyStatus
The current request handling status.
|
eidSYSTEM_SUBJECTMAX_FIELDS| Modifier and Type | Method and Description |
|---|---|
static PauseReply.Builder |
builder()
Returns a new instance of the
PauseReply message
builder. |
String |
toString()
Returns a human-readable text version of this message.
|
equals, hashCodeisApplicationMessage, isSystemMessage, key, messageTypepublic final EReplyMessage.ReplyStatus replyStatus
EReplyMessage.ReplyStatus.ERROR, then replyReason will
contain text explaining why the request was rejected.@Optional public final String replyReason
EReplyMessage.ReplyStatus.ERROR reply status.
May be null or empty.public final Duration pauseTime
public final int maximumBacklogSize
PauseRequest.discardPolicy. Please note that this
size is a suggestion. The far-end response may specify
smaller backlog size.public String toString()
AbstractLogonMessagetoString in class AbstractLogonMessagepublic static PauseReply.Builder builder()
PauseReply message
builder.Copyright © 2019. All rights reserved.