dk.navicon.AIS
Class BinaryAcknowledge

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

public class BinaryAcknowledge
extends AISMessage

Message No 7 shall be used as an acknowledgement of up to 4 Messages No 6 received (refer to section 6.5.4.1) and shall be transmitted on the channel, where the addressed message, to be acknowledged, was received.


Field Summary
 int dest_mmsi_1
          MMSI number of first destination of this ACK
 int dest_mmsi_2
          MMSI number of second destination of this ACK; shall be omitted if no Destination ID2.
 int dest_mmsi_3
          MMSI number of third destination of this ACK; shall be omitted if no Destination ID3.
 int dest_mmsi_4
          MMSI number of fourth destination of this ACK; shall be omitted if no Destination ID4
 int mmsi_nb
          MMSI number of source of this ACK
 int seq_nb_1
          Sequence number of message to be acknowledged; 0 - 3.
 int seq_nb_2
          Sequence number of message to be acknowledged; 0 - 3.; shall be omitted if no Destination ID2.
 int seq_nb_3
          Sequence number of message to be acknowledged; 0 - 3.; shall be omitted if no Destination ID3.
 int seq_nb_4
          Sequence number of message to be acknowledged; 0 - 3.
 int spare
          Not used.
 
Fields inherited from class dk.navicon.AIS.AISMessage
msg_id, rep_indi
 
Constructor Summary
BinaryAcknowledge()
           
BinaryAcknowledge(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 of this ACK


spare

public int spare
Not used. Shall be set to zero


dest_mmsi_1

public int dest_mmsi_1
MMSI number of first destination of this ACK


seq_nb_1

public int seq_nb_1
Sequence number of message to be acknowledged; 0 - 3.


dest_mmsi_2

public int dest_mmsi_2
MMSI number of second destination of this ACK; shall be omitted if no Destination ID2.


seq_nb_2

public int seq_nb_2
Sequence number of message to be acknowledged; 0 - 3.; shall be omitted if no Destination ID2.


dest_mmsi_3

public int dest_mmsi_3
MMSI number of third destination of this ACK; shall be omitted if no Destination ID3.


seq_nb_3

public int seq_nb_3
Sequence number of message to be acknowledged; 0 - 3.; shall be omitted if no Destination ID3.


dest_mmsi_4

public int dest_mmsi_4
MMSI number of fourth destination of this ACK; shall be omitted if no Destination ID4


seq_nb_4

public int seq_nb_4
Sequence number of message to be acknowledged; 0 - 3. Shall be omitted if there is no Destination ID4

Constructor Detail

BinaryAcknowledge

public BinaryAcknowledge()

BinaryAcknowledge

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

getMessageDescription

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