public class AisPositionGPS extends Object implements AisPosition
Constructor and Description |
---|
AisPositionGPS(AisExtractorFactory factory,
String message,
String source,
int padBits) |
AisPositionGPS(String message,
int padBits) |
AisPositionGPS(String message,
String source,
int padBits) |
Modifier and Type | Method and Description |
---|---|
Double |
getCourseOverGround() |
Double |
getLatitude() |
Double |
getLongitude() |
int |
getMessageId()
Returns the ais message id.
|
int |
getMmsi() |
NavigationalStatus |
getNavigationalStatus() |
int |
getRepeatIndicator() |
String |
getSource()
Returns the source of the ais message.
|
int |
getSpare() |
Double |
getSpeedOverGroundKnots() |
int |
getTimeSecondsOnly() |
Integer |
getTrueHeading() |
boolean |
isHighAccuracyPosition() |
boolean |
isUsingRAIM() |
String |
toString() |
public AisPositionGPS(String message, int padBits)
public AisPositionGPS(AisExtractorFactory factory, String message, String source, int padBits)
public int getMessageId()
AisMessage
getMessageId
in interface AisMessage
public int getRepeatIndicator()
getRepeatIndicator
in interface AisPosition
public NavigationalStatus getNavigationalStatus()
public Double getSpeedOverGroundKnots()
getSpeedOverGroundKnots
in interface AisPosition
public boolean isHighAccuracyPosition()
isHighAccuracyPosition
in interface AisPosition
public Double getLongitude()
getLongitude
in interface AisPosition
public Double getLatitude()
getLatitude
in interface AisPosition
public Double getCourseOverGround()
getCourseOverGround
in interface AisPosition
public Integer getTrueHeading()
getTrueHeading
in interface AisPosition
public int getTimeSecondsOnly()
getTimeSecondsOnly
in interface AisPosition
public int getSpare()
public boolean isUsingRAIM()
isUsingRAIM
in interface AisPosition
public String getSource()
AisMessage
getSource
in interface AisMessage
Copyright © 2020. All rights reserved.