dk.tbsalling.aismessages.messages
Class AddressedBinaryMessage

java.lang.Object
  extended by dk.tbsalling.aismessages.messages.DecodedAISMessage
      extended by dk.tbsalling.aismessages.messages.AddressedBinaryMessage
All Implemented Interfaces:
Serializable

public class AddressedBinaryMessage
extends DecodedAISMessage

an addressed point-to-point message with unspecified binary payload. The St. Lawrence Seaway AIS system and the USG PAWSS system use this payload for local extension messages. It is variable in length up to a maximum of 1008 bits (up to 5 AIVDM sentence payloads).

Author:
tbsalling
See Also:
Serialized Form

Constructor Summary
AddressedBinaryMessage(Integer repeatIndicator, MMSI sourceMmsi, Integer sequenceNumber, MMSI destinationMmsi, Boolean retransmit, Integer designatedAreaCode, Integer functionalId, String binaryData)
           
 
Method Summary
static AddressedBinaryMessage fromEncodedMessage(EncodedAISMessage encodedMessage)
           
 String getBinaryData()
           
 Integer getDesignatedAreaCode()
           
 MMSI getDestinationMmsi()
           
 Integer getFunctionalId()
           
 Boolean getRetransmit()
           
 Integer getSequenceNumber()
           
 
Methods inherited from class dk.tbsalling.aismessages.messages.DecodedAISMessage
equals, getMessageType, getMetadata, getRepeatIndicator, getSourceMmsi, hashCode, setMetadata, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AddressedBinaryMessage

public AddressedBinaryMessage(Integer repeatIndicator,
                              MMSI sourceMmsi,
                              Integer sequenceNumber,
                              MMSI destinationMmsi,
                              Boolean retransmit,
                              Integer designatedAreaCode,
                              Integer functionalId,
                              String binaryData)
Method Detail

getSequenceNumber

public final Integer getSequenceNumber()

getDestinationMmsi

public final MMSI getDestinationMmsi()

getRetransmit

public final Boolean getRetransmit()

getDesignatedAreaCode

public final Integer getDesignatedAreaCode()

getFunctionalId

public final Integer getFunctionalId()

getBinaryData

public final String getBinaryData()

fromEncodedMessage

public static AddressedBinaryMessage fromEncodedMessage(EncodedAISMessage encodedMessage)


Copyright © 2013 Thomas Borg Salling. All Rights Reserved.