dk.navicon.AIS
Class AddressedBinaryMessage

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

public class AddressedBinaryMessage
extends AISMessage

The Addressed Binary Message shall be variable in length, based on the amount of binary data. The length shall vary between 1 and 5 slots. See Application Identifiers in 6.3.3.8.2.4.1.


Field Summary
 byte[] bin_data
          Application Identifier 16 bits Shall be as described in Rec.
 int dest_mmsi
          MMSI number of destination station
 int mmsi_nb
          MMSI number of source station
 int retransmit_flag
          Restransmit this message
 int sequence_nb
          0 - 3; refer to section 6.5.4.1
 int spare
          Not used.
 
Fields inherited from class dk.navicon.AIS.AISMessage
msg_id, rep_indi
 
Constructor Summary
AddressedBinaryMessage()
           
AddressedBinaryMessage(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


sequence_nb

public int sequence_nb
0 - 3; refer to section 6.5.4.1


dest_mmsi

public int dest_mmsi
MMSI number of destination station


retransmit_flag

public int retransmit_flag
Restransmit this message


spare

public int spare
Not used. Shall be zero


bin_data

public byte[] bin_data
Application Identifier 16 bits Shall be as described in Rec. ITU-R M.1371-1 6.3.3.8.2.4.1 Application Data Max 920 bits Application specific data

Constructor Detail

AddressedBinaryMessage

public AddressedBinaryMessage()

AddressedBinaryMessage

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

getMessageDescription

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