2 // Property server class.
4 // Written by Curtis Olson, started September 2000.
5 // Modified by Bernie Bright, May 2002.
7 // Copyright (C) 2000 Curtis L. Olson - curt@flightgear.org
9 // This program is free software; you can redistribute it and/or
10 // modify it under the terms of the GNU General Public License as
11 // published by the Free Software Foundation; either version 2 of the
12 // License, or (at your option) any later version.
14 // This program is distributed in the hope that it will be useful, but
15 // WITHOUT ANY WARRANTY; without even the implied warranty of
16 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 // General Public License for more details.
19 // You should have received a copy of the GNU General Public License
20 // along with this program; if not, write to the Free Software
21 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
29 #include <simgear/compiler.h>
36 #include <plib/netChannel.h>
38 #include "protocol.hxx"
41 * Property server class.
42 * This class provides a telnet-like server for remote access to
43 * FlightGear properties.
45 class FGProps : public FGProtocol,
51 * Server port to listen on.
57 * Create a new TCP server.
59 * @param tokens Tokenized configuration parameters
61 FGProps( const vector<string>& tokens );
69 * Start the telnet server.
74 * Process network activity.
84 * Accept a new client connection.
90 #endif // _FG_PROPS_HXX