public class AisPositionA extends Object implements AisPosition, HasCommunications
Constructor and Description |
---|
AisPositionA(AisExtractorFactory factory,
String message,
String source,
int padBits) |
AisPositionA(String message,
int padBits) |
AisPositionA(String message,
String source,
int padBits) |
Modifier and Type | Method and Description |
---|---|
Communications |
getCommunications()
Returns the communications part of an AIS Message.
|
Double |
getCourseOverGround() |
Double |
getLatitude() |
Double |
getLongitude() |
int |
getMessageId()
Returns the ais message id.
|
int |
getMmsi() |
NavigationalStatus |
getNavigationalStatus() |
Integer |
getRateOfTurn() |
int |
getRepeatIndicator() |
String |
getSource()
Returns the source of the ais message.
|
int |
getSpare() |
int |
getSpecialManoeuvreIndicator() |
Double |
getSpeedOverGroundKnots() |
int |
getTimeSecondsOnly() |
Integer |
getTrueHeading() |
boolean |
isHighAccuracyPosition() |
boolean |
isUsingRAIM() |
String |
toString() |
public AisPositionA(String message, int padBits)
public AisPositionA(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 Integer getRateOfTurn()
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 getSpecialManoeuvreIndicator()
public int getSpare()
public boolean isUsingRAIM()
isUsingRAIM
in interface AisPosition
public Communications getCommunications()
HasCommunications
getCommunications
in interface HasCommunications
public String getSource()
AisMessage
getSource
in interface AisMessage
Copyright © 2020. All rights reserved.