接口 AISMessage
- 所有已知子接口:
AISMessage01,AISMessage02,AISMessage03,AISMessage04,AISMessage05,AISMessage09,AISMessage18,AISMessage19,AISMessage21,AISMessage24,AISMessage27,AISPositionInfo,AISPositionReport,AISPositionReportB,AISUTCReport
- 所有已知实现类:
AISMessageParser
public interface AISMessage
Common base interface of AIS messages.
- 作者:
- Kimmo Tuukkanen
-
方法概要
修饰符和类型方法说明intReturns the message type.intgetMMSI()Returns the unique identifier of the transmitting ship (MMSI, Maritime Mobile Service Identity).intTells how many times the message has been repeated.
-
方法详细资料
-
getMessageType
int getMessageType()Returns the message type.- 返回:
- Message type in range from 1 to 27.
-
getRepeatIndicator
int getRepeatIndicator()Tells how many times the message has been repeated.- 返回:
- the number of repeats
-
getMMSI
int getMMSI()Returns the unique identifier of the transmitting ship (MMSI, Maritime Mobile Service Identity).- 返回:
- MMSI identifier
-