Package au.gov.amsa.ais
Interface AisMessage
-
- All Known Subinterfaces:
AisPosition,AisShipStatic
- All Known Implementing Classes:
AbstractAisBStaticDataReport,AisAidToNavigation,AisBaseStation,AisBStaticDataReportPartA,AisBStaticDataReportPartB,AisMessageOther,AisPositionA,AisPositionB,AisPositionBExtended,AisPositionGPS,AisShipStaticA
public interface AisMessageAn AIS Message according to ITU R M 1371-4 ( a copy is in cts-adapter-ais/docs).- Author:
- dxm
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetMessageId()Returns the ais message id.java.lang.StringgetSource()Returns the source of the ais message.
-
-
-
Method Detail
-
getMessageId
int getMessageId()
Returns the ais message id. For example Class A Position reports are either 1, 2, or 3.- Returns:
-
getSource
java.lang.String getSource()
Returns the source of the ais message. The source is not available in the ais message itself but may be provided in the tag block of the NMEA message that contains the ais message.- Returns:
-
-