Talk:FlightGearMap

From FlightGear wiki
Jump to navigation Jump to search

Telnet interface

Note that frequent polling via the telnet interface is not particularly fast, you mentioned in your source code that you are considering to use a different protocol. Just in case you aren't aware of it: more recent FG versions provide a simple "subscribe" command as part of the telnet system, so that you do not need to poll properties, but get updates automatically. Your source code at https://github.com/Juanvvc/FlightGearMap/blob/master/FlightGearMap/src/com/juanvvc/flightgear/FGFSConnection.java still seems to be using the original FGFSconnection code, you may want to add support for the "subscribe" command, which would be a fairly simple optimization. For details, see: http://wiki.flightgear.org/Telnet_usage#subscribe_and_unsubscribe --Hooray 17:39, 25 May 2013 (UTC)