dk.tbsalling.aismessages.messages
Class BinaryBroadcastMessage

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

public class BinaryBroadcastMessage
extends DecodedAISMessage

broadcast 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
BinaryBroadcastMessage(Integer repeatIndicator, MMSI sourceMmsi, Integer designatedAreaCode, Integer functionalId, String binaryData)
           
 
Method Summary
static BinaryBroadcastMessage fromEncodedMessage(EncodedAISMessage encodedMessage)
           
 String getBinaryData()
           
 Integer getDesignatedAreaCode()
           
 Integer getFunctionalId()
           
 String toString()
           
 
Methods inherited from class dk.tbsalling.aismessages.messages.DecodedAISMessage
equals, getMessageType, getMetadata, getRepeatIndicator, getSourceMmsi, hashCode, setMetadata
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BinaryBroadcastMessage

public BinaryBroadcastMessage(Integer repeatIndicator,
                              MMSI sourceMmsi,
                              Integer designatedAreaCode,
                              Integer functionalId,
                              String binaryData)
Method Detail

getDesignatedAreaCode

public final Integer getDesignatedAreaCode()

getFunctionalId

public final Integer getFunctionalId()

getBinaryData

public final String getBinaryData()

toString

public String toString()
Overrides:
toString in class DecodedAISMessage

fromEncodedMessage

public static BinaryBroadcastMessage fromEncodedMessage(EncodedAISMessage encodedMessage)


Copyright © 2013 Thomas Borg Salling. All Rights Reserved.