Class SetSerializedPosition


public class SetSerializedPosition extends WriteableDAO
A Data Access Object to serialize ACARS position records.
Since:
4.1
Version:
11.5
Author:
Luke
  • Constructor Details

    • SetSerializedPosition

      public SetSerializedPosition(OutputStream os)
      Initializes the Data Access Object.
      Parameters:
      os - the OutputStream to write to
  • Method Details

    • archivePositions

      public SerializedDataVersion archivePositions(int flightID, SequencedCollection<? extends RouteEntry> positions) throws DAOException
      Serializes ACARS position records.
      Parameters:
      flightID - the ACARS Flight ID
      positions - a SequencedCollection of ACARSRouteEntry beans
      Returns:
      the SerializedDataVersion used to archive these position records, or null if none
      Throws:
      DAOException - if an I/O error occurs