public final class PauseRequest extends AbstractLogonMessage implements Serializable
PauseReply which specifies whether a pause is accepted
and, if yes, the pause time and maximum backlog size it
supports. These values may be the same as or less than this
message's suggested values; the response values will never be
greater than what is requested.
Contrast this message with a LogoffMessage which
tears down a connection completely.
PauseReply,
LogoffMessage,
Serialized Form| Modifier and Type | Class and Description |
|---|---|
static class |
PauseRequest.Builder
Class used to create
PauseRequest messages. |
EMessage.MessageType| Modifier and Type | Field and Description |
|---|---|
EConfigure.DiscardPolicy |
discardPolicy
Specifies how the far-end should discard messages if and
when
maximumBacklogSize is reached. |
int |
maximumBacklogSize
Requesting the far-end store up to this many un-delivered
messages before beginning to discard messages.
|
Duration |
pauseTime
Requesting a connection pause lasting for this duration.
|
eidSYSTEM_SUBJECTMAX_FIELDS| Modifier and Type | Method and Description |
|---|---|
static PauseRequest.Builder |
builder()
Returns a new instance of the
PauseRequest
message builder. |
String |
toString()
Returns a human-readable text version of this message.
|
equals, hashCodeisApplicationMessage, isSystemMessage, key, messageTypepublic final Duration pauseTime
public final int maximumBacklogSize
discardPolicy. Please note that is size is a
suggestion. The far-end response may specify smaller
backlog size.public final EConfigure.DiscardPolicy discardPolicy
maximumBacklogSize is reached.public String toString()
AbstractLogonMessagetoString in class AbstractLogonMessagepublic static PauseRequest.Builder builder()
PauseRequest
message builder.Copyright © 2019. All rights reserved.