faa.tg.adsb
Class AdsbModeStatus

java.lang.Object
  extended by faa.tg.adsb.AdsbModeStatus
All Implemented Interfaces:
AdsbMsg, Filterable, TransmittedSimData, Recordable, java.io.Serializable

public class AdsbModeStatus
extends java.lang.Object
implements AdsbMsg

 AdsbModeStatus is a class that is used to define an object containing
 ADS-B mode status information.  It can read in AdsbModeStatus information
 from a data stream and print the information out to a String.
 
See the source: AdsbModeStatus.java

Version:
$Id: AdsbModeStatus.java,v 3.1 2006/03/14 15:47:35 samf Exp $
Author:
Dana N. Whicker, TGF/Titan Corp, Thu Jan 15 2004
See Also:
Serialized Form

Field Summary
(package private)  Acid acid
          ACID of the aircraft transmitting this ADS-B state information.
(package private)  AirportID arrivalApt
          Arrival airport ID for this aircraft.
static java.lang.String CVS_VERSION_ID
          The CVS Version ID
(package private)  java.lang.String entityID
          Entity ID of the ADS-B state information.
(package private)  byte[] participAddr
          24-bit (3 byte) ADS-B participant address of this aircraft.
(package private) static long serialVersionUID
           
(package private)  SystemTime transmitTime
          The time the ADS-B state information was transmitted.
 
Constructor Summary
AdsbModeStatus(Acid acid, AirportID scaAirportID)
          Constructor for AdsbModeStatus class.
AdsbModeStatus(AircraftState acState)
          Constructor for AdsbModeStatus class that takes an AircraftState.
 
Method Summary
 Acid getAcid()
          Gets the Acid object of geographic info about the point of acid.
 AirportID getArrivalApt()
          Returns the Arrival Airport ID for this aircraft.
 byte[] getParticipantAddr()
          Gets the 24-bit (3 byte) ADS-B participant address of this aircraft.
 SystemTime getTransmitTime()
           
static void main(java.lang.String[] argv)
           
 java.lang.String toString()
          Prints the AircraftState information to a String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values

CVS_VERSION_ID

public static final java.lang.String CVS_VERSION_ID
The CVS Version ID

See Also:
Constant Field Values

entityID

java.lang.String entityID
Entity ID of the ADS-B state information.


acid

Acid acid
ACID of the aircraft transmitting this ADS-B state information.


participAddr

byte[] participAddr
24-bit (3 byte) ADS-B participant address of this aircraft.


arrivalApt

AirportID arrivalApt
Arrival airport ID for this aircraft.


transmitTime

SystemTime transmitTime
The time the ADS-B state information was transmitted.

Constructor Detail

AdsbModeStatus

public AdsbModeStatus(AircraftState acState)
Constructor for AdsbModeStatus class that takes an AircraftState.

Parameters:
acState - AircraftState to use for the mode status information.
Throws:
java.lang.NullPointerException - If arrival runway from acState (or the acState itself) is null.

AdsbModeStatus

public AdsbModeStatus(Acid acid,
                      AirportID scaAirportID)
Constructor for AdsbModeStatus class.

Method Detail

getAcid

public Acid getAcid()
Gets the Acid object of geographic info about the point of acid.

Returns:
Returns Acid of geographic info about the point of acid.

getArrivalApt

public AirportID getArrivalApt()
Returns the Arrival Airport ID for this aircraft.


getParticipantAddr

public byte[] getParticipantAddr()
Gets the 24-bit (3 byte) ADS-B participant address of this aircraft.

Returns:
The 24-bit (3 byte) ADS-B participant address of this aircraft.

getTransmitTime

public SystemTime getTransmitTime()
Returns:
The time this ADS-B state was transmitted as a SystemTime.

toString

public java.lang.String toString()
Prints the AircraftState information to a String.

Overrides:
toString in class java.lang.Object
Returns:
Returns the AircraftState information in string format.

main

public static void main(java.lang.String[] argv)