public class AisBaseStation extends Object implements AisMessage, HasMmsi
Constructor and Description |
---|
AisBaseStation(AisExtractorFactory factory,
String message,
String source,
int padBits)
Constructor.
|
AisBaseStation(String message,
int padBits)
Constructor.
|
AisBaseStation(String message,
String source,
int padBits)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getDay() |
int |
getDeviceType() |
int |
getHour() |
double |
getLatitude() |
double |
getLongitude() |
int |
getMessageId()
Returns the ais message id.
|
int |
getMinute() |
int |
getMmsi() |
int |
getMonth() |
int |
getPositionAccuracy() |
int |
getRepeatIndicator() |
int |
getSecond() |
String |
getSource()
Returns the source of the ais message.
|
long |
getTimestamp() |
int |
getYear() |
String |
toString() |
public AisBaseStation(String message, int padBits)
message
- public AisBaseStation(String message, String source, int padBits)
message
- encapsulated message taken from nmea line.public AisBaseStation(AisExtractorFactory factory, String message, String source, int padBits)
factory
- message
- time
- source
- public int getMessageId()
AisMessage
getMessageId
in interface AisMessage
public int getRepeatIndicator()
public int getYear()
public int getMonth()
public int getDay()
public int getHour()
public int getMinute()
public int getSecond()
public int getPositionAccuracy()
public long getTimestamp()
public double getLatitude()
public double getLongitude()
public int getDeviceType()
public String getSource()
AisMessage
getSource
in interface AisMessage
Copyright © 2020. All rights reserved.