/** \file
\brief Server public header */
-#ifndef HH_Server_
-#define HH_Server_ 1
+#ifndef HH_SENF_Scheduler_Console_Server_
+#define HH_SENF_Scheduler_Console_Server_ 1
// Custom includes
#include <set>
static const unsigned INTERACTIVE_TIMEOUT = 500; // milliseconds;
public:
- typedef Server::ServerHandle::ClientSocketHandle ClientHandle;
+ typedef Server::ServerHandle::ClientHandle ClientHandle;
~Client();
void setNoninteractive();
void translate(std::string & data);
- unsigned handleInput(std::string input, bool incremental = false);
+ size_t handleInput(std::string input, bool incremental = false);
virtual void v_write(senf::log::time_type timestamp, std::string const & stream,
std::string const & area, unsigned level,
std::string const & message);