public interface Message
Normally, there should be no need to manually extend this class, as broadcast messages are automatically generated from a MSDL file.
Any class implementing this interface should also have a
public static final MessageSerializer SERIALIZER field. To allow for reading the serialized message back
again.
Any implementation of this message must contain a public static final String NAME = "name" field. With the full name of this broadcast message.
| Modifier and Type | Method and Description |
|---|---|
Message |
immutable()
Returns an immutable copy of this message.
|
String |
toJSON()
Returns a JSON representation of this message.
|
Copyright © 2012–2015 Danish Maritime Authority. All rights reserved.