Class ALcdASDIDecoder

java.lang.Object
com.luciad.format.asdi.ALcdASDIDecoder
Direct Known Subclasses:
TLcdASDILiveDecoder, TLcdASDIModelDecoder

public abstract class ALcdASDIDecoder extends Object
Base class for both ASDI decoders: TLcdASDIModelDecoder and TLcdASDILiveDecoder.

The Federal Aviation Administration (FAA) provides airlines and other aviation-related organizations with access to near real-time air traffic data from the National Airspace System (NAS) through the ASDI feed. TLcdASDIModelDecoder and TLcdASDILiveDecoder are decoders that can handle messages from the ASDI feed.

This base class contains the common part between the decoders, and allows to:

  • Method Details

    • getStartTime

      public long getStartTime()
      Returns the start time of the ASDI message feed. See setStartTime(long) for details.
      Returns:
      The start time of the ASDI message feed, -1 by default.
    • setStartTime

      public void setStartTime(long aStartTime)
      Sets the start time of the ASDI message feed.

      The start time is used to create absolute times from the relative time info in the ASDI messages. For instance, ASDI messages come with a header containing message day, hour, minute and second, but no absolute date. The start time is used to create absolute messages times.

      If no start time is set, the current time is used as start time.

      Parameters:
      aStartTime - the start time of the ASDI message feed, it is specified as a value in milliseconds since 1970, similar to Date.getTime(). Set -1 to use now as the start time.
      See Also:
    • getMessageFilter

      public ILcdASDIMessageFilter getMessageFilter()
      Returns the filter used for filtering out messages from the ASDI message feed.
      Returns:
      The ILcdASDIMessageFilter used for filtering out messages from the ASDI message feed.
      See Also:
    • setMessageFilter

      public void setMessageFilter(ILcdASDIMessageFilter aFilter)
      Sets the filter to use for filtering out messages from the ASDI message feed.
      Parameters:
      aFilter - The ILcdASDIMessageFilter to use for filtering out messages from the ASDI message feed.
      See Also: