public final class KeyMessage extends ESystemMessage implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
KeyMessage.Builder
Class used to create
KeyMessage instances. |
EMessage.MessageType| Modifier and Type | Field and Description |
|---|---|
String |
keyClass
The message key class name.
|
int |
keyId
The sender's message key identifier.
|
String |
keySubject
The message key subject.
|
SYSTEM_SUBJECTMAX_FIELDS| Modifier and Type | Method and Description |
|---|---|
static KeyMessage.Builder |
builder()
Returns a new instance of the
KeyMessage builder. |
boolean |
equals(Object o)
Returns
true if o is a
non-null EMessage instance with a subject and
timestamp equal to this EMessage instance and
false otherwise. |
int |
hashCode()
Returns the message header hash code.
|
String |
toString()
Returns the message subject and timestamp as a string.
|
isApplicationMessage, isSystemMessage, key, messageTypepublic final int keyId
public final String keyClass
public final String keySubject
public boolean equals(Object o)
EMessagetrue if o is a
non-null EMessage instance with a subject and
timestamp equal to this EMessage instance and
false otherwise.public int hashCode()
EMessagepublic String toString()
EMessagepublic static KeyMessage.Builder builder()
KeyMessage builder.Copyright © 2019. All rights reserved.