public class AisMessage27 extends AisMessage implements IPositionMessage
Long-range broadcast position report implemented according to ITU-R M.1371-4
msgId, repeat, userId, VALID_MESSAGE_TYPES, vdm| Constructor and Description |
|---|
AisMessage27()
Instantiates a new Ais message 27.
|
AisMessage27(Vdm vdm)
Instantiates a new Ais message 27.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCog()
Gets cog.
|
SixbitEncoder |
getEncoded()
Abstract method to be implemented by all extending classes
|
int |
getGnssPosStatus()
Gets gnss pos status.
|
int |
getNavStatus()
Gets nav status.
|
AisPosition |
getPos()
Get position
|
int |
getPosAcc()
Position accuracy
|
int |
getRaim()
Gets raim.
|
static long |
getSerialVersionUID()
Gets serial version uid.
|
int |
getSog()
Gets sog.
|
int |
getSpare()
Gets spare.
|
void |
parse()
Parse.
|
void |
setCog(int cog)
Sets cog.
|
void |
setGnssPosStatus(int gnssPosStatus)
Sets gnss pos status.
|
void |
setNavStatus(int navStatus)
Sets nav status.
|
void |
setPos(AisPosition pos)
Sets pos.
|
void |
setPosAcc(int posAcc)
Sets pos acc.
|
void |
setRaim(int raim)
Sets raim.
|
void |
setSog(int sog)
Sets sog.
|
void |
setSpare(int spare)
Sets spare.
|
String |
toString() |
encode, getInstance, getMsgId, getRepeat, getSourceTag, getTags, getTargetType, getUserId, getValidPosition, getVdm, parse, reassemble, setRepeat, setTag, setTags, setUserId, trimTextpublic AisMessage27()
public AisMessage27(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 static long getSerialVersionUID()
public int getPosAcc()
IPositionMessagegetPosAcc in interface IPositionMessagepublic void setPosAcc(int posAcc)
posAcc - the pos accpublic int getRaim()
public void setRaim(int raim)
raim - the raimpublic int getNavStatus()
public void setNavStatus(int navStatus)
navStatus - the nav statuspublic AisPosition getPos()
IPositionMessagegetPos in interface IPositionMessagepublic void setPos(AisPosition pos)
pos - the pospublic int getSog()
public void setSog(int sog)
sog - the sogpublic int getCog()
public void setCog(int cog)
cog - the cogpublic int getGnssPosStatus()
public void setGnssPosStatus(int gnssPosStatus)
gnssPosStatus - the gnss pos statuspublic int getSpare()
public void setSpare(int spare)
spare - the sparepublic String toString()
toString in class AisMessageCopyright © 2011–2019 Danish Maritime Authority. All rights reserved.