1 package au.gov.amsa.ais; 2 3 /** 4 * An AIS Message according to ITU R M 1371-4 ( a copy is in 5 * cts-adapter-ais/docs). 6 * 7 * @author dxm 8 * 9 */ 10 public interface AisMessage { 11 /** 12 * Returns the ais message id. For example Class A Position reports are 13 * either 1, 2, or 3. 14 * 15 * @return 16 */ 17 int getMessageId(); 18 19 /** 20 * Returns the source of the ais message. The source is not available in the 21 * ais message itself but may be provided in the tag block of the NMEA 22 * message that contains the ais message. 23 * 24 * @return 25 */ 26 String getSource(); 27 }