libt2n: (gerd) add server serialization exceptions
[libt2n] / src / command_server.hxx
index 7e475da..1926733 100644 (file)
@@ -33,11 +33,11 @@ class command_server
         void handle_packet(const std::string& packet, server_connection* conn);
 
     public:
-        command_server(server& _s)
-            : s(_s)
-            { }
+        command_server(server& _s);
 
-        void handle(long long usec_timeout=-1);
+        void handle(long long usec_timeout=-1, long long* usec_timeout_remaining=NULL);
+
+        void send_hello(unsigned int conn_id);
 };
 
 }