dk.navicon.AIS
Class SafetyRelatedBroadcastMessage

java.lang.Object
  |
  +--dk.navicon.AIS.AISMessage
        |
        +--dk.navicon.AIS.SafetyRelatedBroadcastMessage

public class SafetyRelatedBroadcastMessage
extends AISMessage

The Safety Related Broadcast Message shall be variable in length, based on the amount of safety related text. The length shall vary between 1 and 5 slots.


Field Summary
 int mmsi_nb
          MMSI number of source station of message
 int spare
          Not used.
 java.lang.String text
          6-bit ASCII.
 
Fields inherited from class dk.navicon.AIS.AISMessage
msg_id, rep_indi
 
Constructor Summary
SafetyRelatedBroadcastMessage()
           
SafetyRelatedBroadcastMessage(java.lang.String s, int fill_bits)
           
 
Method Summary
 dk.navicon.AIS.MessageDescription[] getMessageDescription()
           
 
Methods inherited from class dk.navicon.AIS.AISMessage
decode, encode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mmsi_nb

public int mmsi_nb
MMSI number of source station of message


spare

public int spare
Not used. Shall be set to zero


text

public java.lang.String text
6-bit ASCII.

Constructor Detail

SafetyRelatedBroadcastMessage

public SafetyRelatedBroadcastMessage()

SafetyRelatedBroadcastMessage

public SafetyRelatedBroadcastMessage(java.lang.String s,
                                     int fill_bits)
                              throws AISParseException
Method Detail

getMessageDescription

public dk.navicon.AIS.MessageDescription[] getMessageDescription()
Overrides:
getMessageDescription in class AISMessage