dk.tbsalling.aismessages.messages
Class Interrogation

java.lang.Object
  extended by dk.tbsalling.aismessages.messages.DecodedAISMessage
      extended by dk.tbsalling.aismessages.messages.Interrogation
All Implemented Interfaces:
Serializable

public class Interrogation
extends DecodedAISMessage

Used by a base station to query one or two other AIS transceivers for status messages of specified types.

Author:
tbsalling
See Also:
Serialized Form

Constructor Summary
Interrogation(Integer repeatIndicator, MMSI sourceMmsi, MMSI mmsi1, Integer type1_1, Integer offset1_1, Integer type1_2, Integer offset1_2, MMSI mmsi2, Integer type2_1, Integer offset2_1)
           
 
Method Summary
static Interrogation fromEncodedMessage(EncodedAISMessage encodedMessage)
           
 MMSI getInterrogatedMmsi1()
           
 MMSI getInterrogatedMmsi2()
           
 Integer getOffset1_1()
           
 Integer getOffset1_2()
           
 Integer getOffset2_1()
           
 Integer getType1_1()
           
 Integer getType1_2()
           
 Integer getType2_1()
           
 String toString()
           
 
Methods inherited from class dk.tbsalling.aismessages.messages.DecodedAISMessage
equals, getMessageType, getMetadata, getRepeatIndicator, getSourceMmsi, hashCode, setMetadata
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Interrogation

public Interrogation(Integer repeatIndicator,
                     MMSI sourceMmsi,
                     MMSI mmsi1,
                     Integer type1_1,
                     Integer offset1_1,
                     Integer type1_2,
                     Integer offset1_2,
                     MMSI mmsi2,
                     Integer type2_1,
                     Integer offset2_1)
Method Detail

getInterrogatedMmsi1

public final MMSI getInterrogatedMmsi1()

getType1_1

public final Integer getType1_1()

getOffset1_1

public final Integer getOffset1_1()

getType1_2

public final Integer getType1_2()

getOffset1_2

public final Integer getOffset1_2()

getInterrogatedMmsi2

public final MMSI getInterrogatedMmsi2()

getType2_1

public final Integer getType2_1()

getOffset2_1

public final Integer getOffset2_1()

toString

public String toString()
Overrides:
toString in class DecodedAISMessage

fromEncodedMessage

public static Interrogation fromEncodedMessage(EncodedAISMessage encodedMessage)


Copyright © 2013 Thomas Borg Salling. All Rights Reserved.