public static final class PauseReply.Builder extends AbstractLogonMessage.Builder<PauseReply,PauseReply.Builder>
PauseReply messages. Used
by eBus to de-serialize an encoded message.mTargetClass| Modifier and Type | Method and Description |
|---|---|
protected PauseReply |
buildImpl()
Returns the newly instantiated
PauseReply
based on this builder configuration. |
PauseReply.Builder |
maximumBacklogSize(int size)
Sets the maximum message backlog size to the given
value.
|
PauseReply.Builder |
pauseTime(Duration time)
Sets the pause time to the given value.
|
PauseReply.Builder |
replyReason(String reason)
Sets the reply reason to the given value.
|
PauseReply.Builder |
replyStatus(EReplyMessage.ReplyStatus status)
Sets the reply status to the given value.
|
protected void |
validate(List<String> problems)
Adds any and all configuration problems to the list.
|
eidsubject, timestamp, timestampbuildprotected PauseReply buildImpl()
PauseReply
based on this builder configuration.buildImpl in class EMessageObject.Builder<PauseReply,PauseReply.Builder>protected void validate(List<String> problems)
validate in class AbstractLogonMessage.Builder<PauseReply,PauseReply.Builder>problems - list of mis-configurations.public PauseReply.Builder replyStatus(EReplyMessage.ReplyStatus status)
status - reply status.this pause reply builder.NullPointerException - if status is null.public PauseReply.Builder replyReason(String reason)
null or an empty string.reason - reply reason.this pause reply builder.public PauseReply.Builder pauseTime(Duration time)
time - pause time.this pause reply builder.NullPointerException - if time is null.public PauseReply.Builder maximumBacklogSize(int size)
size - maximum message backlog size.this pause reply builder.IllegalArgumentException - if size < zero.Copyright © 2019. All rights reserved.