public abstract class AbstractMessage extends Object implements Message
| Constructor and Description |
|---|
AbstractMessage(String messageId,
com.metabroadcast.common.time.Timestamp timestamp) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that) |
String |
getMessageId()
Get a unique id for this message.
|
com.metabroadcast.common.time.Timestamp |
getTimestamp()
Get the timestamp when the message happened
|
int |
hashCode() |
String |
toString() |
public AbstractMessage(String messageId, com.metabroadcast.common.time.Timestamp timestamp)
public final String getMessageId()
MessagegetMessageId in interface Messagepublic final com.metabroadcast.common.time.Timestamp getTimestamp()
MessagegetTimestamp in interface MessageCopyright © 2014. All rights reserved.