public final class SubscribeMessage extends AbstractKeyMessage implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
SubscribeMessage.Builder
Class used to create
SubscribeMessage instances. |
EMessage.MessageType| Modifier and Type | Field and Description |
|---|---|
EFeedState |
feedState
The subscription is either
EFeedState.UP or
EFeedState.DOWN. |
messageClass, messageSubjectSYSTEM_SUBJECTMAX_FIELDS| Modifier and Type | Method and Description |
|---|---|
static SubscribeMessage.Builder |
builder()
Returns a new instance of the
SubscribeMessage
builder. |
boolean |
equals(Object o)
Returns
true if o is a
non-null SubscribeMessage instance with the
same up flag as this SubscribeMessage instance
and false otherwise. |
int |
hashCode()
Returns the feed status message hash code.
|
String |
toString()
Returns a human-readable text version of this message.
|
messageKeyisApplicationMessage, isSystemMessage, key, messageTypepublic final EFeedState feedState
EFeedState.UP or
EFeedState.DOWN.public boolean equals(Object o)
true if o is a
non-null SubscribeMessage instance with the
same up flag as this SubscribeMessage instance
and false otherwise.equals in class AbstractKeyMessageo - comparison object.true if the message fields are equal
and false otherwise.public int hashCode()
hashCode in class AbstractKeyMessagepublic String toString()
toString in class AbstractKeyMessagepublic static SubscribeMessage.Builder builder()
SubscribeMessage
builder.Copyright © 2019. All rights reserved.