Class GetVATSIMData

java.lang.Object
org.deltava.dao.http.DAO
org.deltava.dao.http.GetVATSIMData

public class GetVATSIMData extends DAO
A Data Access Object to read VATSIM API data.
Since:
1.0
Version:
11.6
Author:
Luke
  • Constructor Details

    • GetVATSIMData

      public GetVATSIMData()
  • Method Details

    • getInfo

      public Certificate getInfo(String id) throws DAOException
      Returns information about the selected VATSIM certificate.
      Parameters:
      id - the VATSIM certificate ID
      Returns:
      a Certificate bean
      Throws:
      DAOException - if an error occurs
    • getOnline

      public boolean getOnline(String id) throws DAOException
      Returns whether a VATSIM user is connected to the network.
      Parameters:
      id - the VATSIM ID
      Returns:
      TRUE if connected, otherwise FALSE
      Throws:
      DAOException - if an error occurs