Package net.sf.eBus.client.sysmessages
Class ResumeReply
- java.lang.Object
-
- net.sf.eBus.messages.EMessageObject
-
- net.sf.eBus.messages.EMessage
-
- net.sf.eBus.messages.ESystemMessage
-
- net.sf.eBus.client.sysmessages.AbstractLogonMessage
-
- net.sf.eBus.client.sysmessages.ResumeReply
-
- All Implemented Interfaces:
java.io.Serializable
public final class ResumeReply extends AbstractLogonMessage implements java.io.Serializable
Response to a connection resume request. The reply status isEReplyMessage.ReplyStatus.OK_FINAL
when the request is accepted andEReplyMessage.ReplyStatus.ERROR
when rejected. If rejected, thenreplyReason
contains text explaining the rejection.- Author:
- Charles W. Rapp
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ResumeReply.Builder
Class used to createResumeReply
messages.-
Nested classes/interfaces inherited from class net.sf.eBus.messages.EMessage
EMessage.MessageType
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
replyReason
The reason for aEReplyMessage.ReplyStatus.ERROR
reply status.EReplyMessage.ReplyStatus
replyStatus
The current request handling status.-
Fields inherited from class net.sf.eBus.client.sysmessages.AbstractLogonMessage
eid
-
Fields inherited from class net.sf.eBus.messages.ESystemMessage
SYSTEM_SUBJECT
-
Fields inherited from class net.sf.eBus.messages.EMessage
MAX_SUBJECT_LENGTH, subject, timestamp
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResumeReply.Builder
builder()
Returns a new instance of theResumeReply
message builder.java.lang.String
toString()
Returns a human-readable text version of this message.-
Methods inherited from class net.sf.eBus.client.sysmessages.AbstractLogonMessage
equals, hashCode
-
Methods inherited from class net.sf.eBus.messages.EMessage
isApplicationMessage, isSystemMessage, key, messageType, timestampAsInstant
-
-
-
-
Field Detail
-
replyStatus
public final EReplyMessage.ReplyStatus replyStatus
The current request handling status. IfEReplyMessage.ReplyStatus.ERROR
, thenreplyReason
will contain text explaining why the request was rejected.
-
replyReason
@Nullable public final java.lang.String replyReason
The reason for aEReplyMessage.ReplyStatus.ERROR
reply status. May benull
or empty.
-
-
Method Detail
-
toString
public java.lang.String toString()
Description copied from class:AbstractLogonMessage
Returns a human-readable text version of this message.- Overrides:
toString
in classAbstractLogonMessage
- Returns:
- text version of this message.
-
builder
public static ResumeReply.Builder builder()
Returns a new instance of theResumeReply
message builder.- Returns:
- message builder instance.
-
-