dk.navicon.AIS
Class AssignedModeCommand

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

public class AssignedModeCommand
extends AISMessage

Assignment shall be transmitted by a base station when operating as a controlling entity. Other stations can be assigned a transmission schedule, other than the currently used one. If a station is assigned a schedule, it will also enter assigned mode.


Field Summary
 int dest_id_A
          MMSI Number.
 int dest_id_B
          MMSI Number.
 int increment_A
          Slot Increment to next assignment.
 int increment_B
          Slot Increment to next assignment (1).
 int mmsi_nb
          MMSI of assigning station.
 int offset_A
          Slot Offset from current slot to first assigned slot.
 int offset_B
          Slot Offset from current slot to first assigned slot.
 int spare
          Spare.
 int spare_1
          Spare.
 
Fields inherited from class dk.navicon.AIS.AISMessage
msg_id, rep_indi
 
Constructor Summary
AssignedModeCommand()
           
AssignedModeCommand(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 of assigning station.


spare

public int spare
Spare. Shall be set to zero.


dest_id_A

public int dest_id_A
MMSI Number. Destination identifier A.


offset_A

public int offset_A
Slot Offset from current slot to first assigned slot.


increment_A

public int increment_A
Slot Increment to next assignment.


dest_id_B

public int dest_id_B
MMSI Number. Destination identifier B. Shall be omitted if there is assignment to station A, only.


offset_B

public int offset_B
Slot Offset from current slot to first assigned slot. Shall be omitted if there is assignment to station A, only (1).


increment_B

public int increment_B
Slot Increment to next assignment (1). Shall be omitted, if there is assignment to station A, only.


spare_1

public int spare_1
Spare. Not used. Shall be set to zero. The number of spare bits which shall be 0 or 4 shall be adjusted in order to observe byte boundaries.

Constructor Detail

AssignedModeCommand

public AssignedModeCommand()

AssignedModeCommand

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

getMessageDescription

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