public interface MessageHeader
| Modifier and Type | Method and Description |
|---|---|
default Map<String,Object> |
context()
Implementations might choose to provide additional properties to consumers of messages.
|
Binary |
getMessageId()
Returns a unique id of the transmitted message.
|
MaritimeId |
getSender()
Returns the identity of the party that send the message.
|
Position |
getSenderPosition()
If the sending party has a position, returns said position.
|
Timestamp |
getSenderTime()
Returns the timestamp of the message.
|
default Map<String,Object> context()
Binary getMessageId()
This hash is calculated as a combination of the name of the remote actor who sent the message. The position and time of the actor who sent the message. The name of the broadcast type. And the actual binary contents of the broadcast message.
MaritimeId getSender()
Position getSenderPosition()
null.Timestamp getSenderTime()
Copyright © 2012–2015 Danish Maritime Authority. All rights reserved.