public class AisMessage14 extends AisMessage
msgId, repeat, userId, VALID_MESSAGE_TYPES, vdm| Constructor and Description |
|---|
AisMessage14()
Instantiates a new Ais message 14.
|
AisMessage14(Vdm vdm)
Instantiates a new Ais message 14.
|
| Modifier and Type | Method and Description |
|---|---|
SixbitEncoder |
getEncoded()
Abstract method to be implemented by all extending classes
|
String |
getMessage()
Gets message.
|
int |
getSpare()
Gets spare.
|
void |
parse()
Parse.
|
void |
setMessage(BinArray binArray)
Set message from a binary array
|
String |
toString() |
encode, getInstance, getMsgId, getRepeat, getSourceTag, getTags, getTargetType, getUserId, getValidPosition, getVdm, parse, reassemble, setRepeat, setTag, setTags, setUserId, trimTextpublic AisMessage14()
public AisMessage14(Vdm vdm) throws AisMessageException, SixbitException
vdm - the vdmAisMessageException - the ais message exceptionSixbitException - the sixbit exceptionpublic void parse()
throws AisMessageException,
SixbitException
AisMessageException - the ais message exceptionSixbitException - the sixbit exceptionpublic SixbitEncoder getEncoded()
AisMessagegetEncoded in class AisMessagepublic void setMessage(BinArray binArray) throws SixbitException
binArray - the bin arraySixbitException - the sixbit exceptionpublic int getSpare()
public String getMessage()
public String toString()
toString in class AisMessageCopyright © 2011–2019 Danish Maritime Authority. All rights reserved.