public class TargetInfo extends Target
updateTarget(TargetInfo, AisPacket, AisTargetType, long, AisPacketSource, Map).| Modifier and Type | Method and Description |
|---|---|
AisTarget |
getAisTarget()
Gets ais target.
|
float |
getCog()
Gets cog.
|
dk.dma.enav.model.Country |
getCountry()
Returns the country of the vessel based on its MMSI number.
|
int |
getHeading()
Gets heading.
|
byte |
getNavStatus()
Gets nav status.
|
AisPacket[] |
getPackets()
Get packets ais packet [ ].
|
AisPacketSource |
getPacketSource()
Gets packet source.
|
dk.dma.enav.model.geometry.Position |
getPosition()
Gets position.
|
AisPacket |
getPositionPacket()
Returns the latest received position packet.
|
long |
getPositionTimestamp()
Gets position timestamp.
|
float |
getSog()
Gets sog.
|
AisPacket |
getStaticAisPacket1()
Gets static ais packet 1.
|
AisPacket |
getStaticAisPacket2()
Gets static ais packet 2.
|
int |
getStaticCount()
Returns the number of static packets we have received.
|
AisPacket[] |
getStaticPackets()
Returns any static packets we have received from the target.
|
int |
getStaticShipType()
Gets static ship type.
|
long |
getStaticTimestamp()
Gets static timestamp.
|
AisTargetType |
getTargetType()
Returns the target type of the target.
|
boolean |
hasPositionInfo()
Returns true if we have positional information.
|
boolean |
hasStaticInfo()
Returns true if we have static information.
|
public AisPacketSource getPacketSource()
public AisTargetType getTargetType()
public long getPositionTimestamp()
public dk.dma.enav.model.geometry.Position getPosition()
public float getCog()
public int getHeading()
public byte getNavStatus()
public float getSog()
public long getStaticTimestamp()
public int getStaticShipType()
public AisTarget getAisTarget()
public dk.dma.enav.model.Country getCountry()
public AisPacket getPositionPacket()
null if no position has been received from the
vessel.public int getStaticCount()
public AisPacket[] getStaticPackets()
public AisPacket[] getPackets()
public AisPacket getStaticAisPacket1()
public AisPacket getStaticAisPacket2()
public boolean hasPositionInfo()
public boolean hasStaticInfo()
Copyright © 2011–2019 Danish Maritime Authority. All rights reserved.