public class AisMessage6 extends AisBinaryMessage
Addressed binary message as defined by ITU-R M.1371-4
appMessage, dac, data, fi, sparemsgId, repeat, userId, VALID_MESSAGE_TYPES, vdm| Constructor and Description |
|---|
AisMessage6()
Instantiates a new Ais message 6.
|
AisMessage6(Vdm vdm)
Instantiates a new Ais message 6.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getDestination()
Gets destination.
|
SixbitEncoder |
getEncoded()
Abstract method to be implemented by all extending classes
|
int |
getRetransmit()
Gets retransmit.
|
int |
getSeqNum()
Gets seq num.
|
void |
parse()
Parse.
|
void |
setDestination(long destination)
Sets destination.
|
void |
setRetransmit(int retransmit)
Sets retransmit.
|
void |
setSeqNum(int seqNum)
Sets seq num.
|
String |
toString() |
encode, getApplicationMessage, getAppMessage, getBinaryData, getDac, getData, getFi, getSpare, setAppMessage, setBinary, setDac, setData, setFi, setSparegetInstance, getMsgId, getRepeat, getSourceTag, getTags, getTargetType, getUserId, getValidPosition, getVdm, parse, reassemble, setRepeat, setTag, setTags, setUserId, trimTextpublic AisMessage6()
public AisMessage6(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 int getSeqNum()
public void setSeqNum(int seqNum)
seqNum - the seq numpublic long getDestination()
public void setDestination(long destination)
destination - the destinationpublic int getRetransmit()
public void setRetransmit(int retransmit)
retransmit - the retransmitpublic String toString()
toString in class AisBinaryMessageCopyright © 2011–2019 Danish Maritime Authority. All rights reserved.