Class GetServInfo
java.lang.Object
org.deltava.dao.file.DAO
org.deltava.dao.file.OnlineNetworkDAO
org.deltava.dao.file.GetServInfo
A Data Acces Object to fetch VATSIM/IVAO ServInfo data.
ServInfo data for pilots and controllers is in a colon (:) delimited format, with the following tokens:
00 callsign 01 cid 02 realname 03 clienttype 04 frequency 05 latitude 06 longitude 07 altitude 08 groundspeed
09 planned_aircraft 10 planned_tascruise 11 planned_depairport 12 planned_altitude 13 planned_destairport
14 server 15 protrevision 16 rating 17 transponder 18 facilitytype 19 visualrange 20 planned_revision
21 planned_flighttype 22 planned_deptime 23 planned_actdeptime 24 planned_hrsenroute
25 planned_minenroute 26 planned_hrsfuel 27 planned_minfuel 28 planned_altairport 29 planned_remarks
30 planned_route 31 planned_depairport_lat 32 planned_depairport_lon 33 planned_destairport_lat
34 planned_destairport_lon 35 atis_message 36 time_last_atis_received 37 time_logon 38 heading 39 QNH_iHg 40 QNH_Mb
- Since:
- 1.0
- Version:
- 11.1
- Author:
- Luke
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) class
Private helper class to parse ServInfo CLIENT data. -
Constructor Summary
ConstructorsConstructorDescriptionGetServInfo
(InputStream is, OnlineNetwork net) Initializes the DAO with a particular stream. -
Method Summary
Methods inherited from class org.deltava.dao.file.OnlineNetworkDAO
getAirport, parseDateTime
Methods inherited from class org.deltava.dao.file.DAO
getReader, getStream, setBufferSize
-
Constructor Details
-
GetServInfo
Initializes the DAO with a particular stream.- Parameters:
is
- the stream to usenet
- the OnlineNetwork
-
-
Method Details
-
getInfo
Description copied from class:OnlineNetworkDAO
Retrieves Online Network information.- Specified by:
getInfo
in classOnlineNetworkDAO
- Returns:
- a NetworkInfo bean
- Throws:
DAOException
- if an I/O error occurs
-