-SG_USING_STD(string);
-
-
-const static int max_cmd_len = 256;
-
-class FGProps : public FGProtocol {
-
- char buf[max_cmd_len];
- int length;
-
- // tree view of property list
- string path;
+/**
+ * Property server class.
+ * This class provides a telnet-like server for remote access to
+ * FlightGear properties.
+ */
+class FGProps : public FGProtocol,
+ public simgear::NetChannel,
+ public SGPropertyChangeListener // for subscriptions
+{
+private:
+
+ /**
+ * Server port to listen on.
+ */
+ int port;