X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FConsole%2FServer.cc;h=48ac147f697348fbd2a55e1b2f61e8a92d85ebe5;hb=463db052ea9d1c292bfd40301d0dc4963411485e;hp=a1bad60e45e27a1a2b53e43b9e1e77e93fb57951;hpb=601d1f509f5bb24df167a4dd5a20da67a0af9af8;p=senf.git diff --git a/senf/Utils/Console/Server.cc b/senf/Utils/Console/Server.cc index a1bad60..48ac147 100644 --- a/senf/Utils/Console/Server.cc +++ b/senf/Utils/Console/Server.cc @@ -1,6 +1,6 @@ // $Id$ // -// Copyright (C) 2008 +// Copyright (C) 2008 // Fraunhofer Institute for Open Communication Systems (FOKUS) // Competence Center NETwork research (NET), St. Augustin, GERMANY // Stefan Bund @@ -33,9 +33,9 @@ #include #include #include -#include "../../Utils/senfassert.hh" -#include "../../Utils/membind.hh" -#include "../../Utils/Logger/SenfLog.hh" +#include +#include +#include #include "LineEditor.hh" #include "ScopedDirectory.hh" #include "Sysdir.hh" @@ -71,7 +71,7 @@ senf::console::Server::start(senf::INet4SocketAddress const & address) { senf::TCPv4ServerSocketHandle handle (address); Server & server (senf::console::Server::start(handle)); - SENF_LOG((Server::SENFLogArea)(log::NOTICE)( + SENF_LOG((Server::SENFLogArea)(log::NOTICE)( "Console server started at " << address )); return server; } @@ -81,7 +81,7 @@ senf::console::Server::start(senf::INet6SocketAddress const & address) { senf::TCPv6ServerSocketHandle handle (address); Server & server (senf::console::Server::start(handle)); - SENF_LOG((Server::SENFLogArea)(log::NOTICE)( + SENF_LOG((Server::SENFLogArea)(log::NOTICE)( "Console server started at " << address )); return server; } @@ -94,7 +94,7 @@ prefix_ senf::console::Server & senf::console::Server::start(ServerHandle handle } prefix_ senf::console::Server::Server(ServerHandle handle) - : handle_ (handle), + : handle_ (handle), event_ ("senf::console::Server", senf::membind(&Server::newClient, this), handle_, scheduler::FdEvent::EV_READ), root_ (senf::console::root().thisptr()), mode_ (Automatic), @@ -143,7 +143,7 @@ senf::console::detail::DumbClientReader::clientData(senf::ReadHelper