All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nl.esi.metis.aisparser.AISMessage Maven / Gradle / Ivy

Go to download

This package supports the parsing of AIS messages in Java. AIS, the Automatic Identification System, is a system aiming at improving maritime safety by exchanging messages between ships, other vehicles in particular aircraft involved in search-and-rescue (SAR), and (fixed) base stations. To be precise, this package support the ITU-R M.1371-4 AIS standard. See our extensive javadoc and in particular the class AISParser for more information on how to use this package. The parser was used in the Poseidon project, and is improved in the Metis project to better handle uncertain information. Both projects were led by the Embedded Systems Institute. In both projects Thales Nederlands was the carrying industrial partner, and multiple Dutch universities participated.

The newest version!
package nl.esi.metis.aisparser;

import nl.esi.metis.aisparser.provenance.AISMessageProvenance;

/**
 * This is the common interface for all AIS messages.
 * These objects represent messages as they exchanged between ships, other vehicles in particular aircraft involved in search-and-rescue (SAR), and (fixed) base stations.
 * 
 * @author Pierre van de Laar
 * @author Pierre America
 *
 */
public interface AISMessage {

	/** Returns the message ID.
	 * The message ID identifies the message type, which determines the meaning of the message and the fields that it contains.
	 * For valid messages, it also corresponds to a particular subinterface of this interface.
	 * For example, if the message ID is 5 then the message implements interface AISMessage05.
	 * @return 0-63. Currently valid message IDs range from 1 to 27.
	 */
	public int getMessageID();
	
	/** Returns the repeat indicator.
	 * This indicates how many times a message has been repeated. 
	 * @return an integer value representing the repeat indicator: 
* 0 = default
* 3 = do not repeat any more */ public int getRepeatIndicator(); /** Returns the user ID. * This is a unique identifier such as the MMSI number of the transmitting ship. * It can be analyzed further using utility class {@link UtilsUserId30}. * See Wikipedia for more information on MMSI (Maritime Mobile Service Identity). * @return an integer in the range from 0 to 230-1. */ public int getUserID(); /** Returns the provenance, i.e., a description of where the AIS message came from, including a time stamp. * @return the provenance */ public AISMessageProvenance getProvenance(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy