dk.navicon.AIS
Class AddressedSafetyRelatedMessage

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

public class AddressedSafetyRelatedMessage
extends AISMessage

The Addressed Safety Related 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 dest_mmsi
          MMSI number of station which is the destination of the message
 int mmsi_nb
          MMSI number of station which is the source of the message
 int seq_nb
          0 - 3; refer to section 6.5.4.1
 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
AddressedSafetyRelatedMessage()
           
AddressedSafetyRelatedMessage(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 station which is the source of the message


seq_nb

public int seq_nb
0 - 3; refer to section 6.5.4.1


dest_mmsi

public int dest_mmsi
MMSI number of station which is the destination of the message


spare

public int spare
Not used. Shall be zero


text

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

Constructor Detail

AddressedSafetyRelatedMessage

public AddressedSafetyRelatedMessage()

AddressedSafetyRelatedMessage

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

getMessageDescription

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