]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Server/include/plaqui/server/server.h
- Se agrega el método HTTPRequest::method_str() para obtener el método como un
[z.facultad/75.42/plaqui.git] / Server / include / plaqui / server / server.h
index 3776cc72e9462dd1e6a2fd569b9b247efa68d016..8c92ca806942011126082d0607507ecdf67c6cb3 100644 (file)
@@ -31,6 +31,7 @@
 #include "plaqui/server/tcpserver.h"
 #include "plaqui/server/controlserver.h"
 #include "plaqui/server/transmitter.h"
+#include "plaqui/server/command.h"
 #include <socket++/sockinet.h>
 #include <string>
 #include <list>
@@ -124,7 +125,8 @@ namespace Server {
                         *
                         * \todo Hacer un tipo Command abstracto o algo así.
                         */
-                       void on_control_command_received(void* command);
+                       void on_control_command_received(const Command& command,
+                                       ControlServer* server);
 
        };