nl.esi.metis.aisparser.impl.AISMessage13Impl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of EsiAisParser Show documentation
Show all versions of EsiAisParser Show documentation
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.impl;
import nl.esi.metis.aisparser.AISMessage13;
import nl.esi.metis.aisparser.Sixbit;
import nl.esi.metis.aisparser.provenance.VDMMessageProvenance;
/** ESI AIS Parser
*
* Copyright 2011/2012 by Pierre van de Laar (Embedded Systems Institute)
* Copyright 2008 by Brian C. Lane
* All Rights Reserved
*
* @author Pierre van de Laar
* @author Brian C. Lane
*/
/** AIS Message 13
* Safety Related Acknowledge
*
* Field Nr Field Name NrOf Bits (from, to )
* ------------------------------------------------------------------------
* 1 messageID 6 ( 1, 6)
* 2 repeatIndicator 2 ( 7, 8)
* 3 userID 30 ( 9, 38)
* 4 spare 2 ( 39, 40)
* 5 destinationID1 30 ( 41, 70)
* 6 sequenceNumberForID1 2 ( 71, 72)
* 7 destinationID2 30 ( 73, 102)
* 8 sequenceNumberForID2 2 ( 103, 104)
* 9 destinationID3 30 ( 105, 134)
* 10 sequenceNumberForID3 2 ( 135, 136)
* 11 destinationID4 30 ( 137, 166)
* 12 sequenceNumberForID4 2 ( 167, 168)
* ---- +
* (maximum) number of bits 168
*/
class AISMessage13Impl extends AISMessageAcknowledgeImpl implements AISMessage13 {
/** AISMessage 13 constructor
* @param content AIS content
* @param prov the provenance of the message
* @precondition validLength(content.length()) && AISMessageBase.getMessageId(content)==13
*/
public AISMessage13Impl(Sixbit content, VDMMessageProvenance prov) {
super(content, prov);
assert(getMessageID() == 13);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy