X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FUtils%2FConsole%2FServer.ih;h=2e793be1500413736dd6dff39711876351e2cf64;hb=9cb871b939efe93e35dd96808d25089399acfc46;hp=aa77d74d607d8cdd4aa735eb43ee62b757288dd0;hpb=3a43b572a2c0028b353d47e86fa7546633d6e2cf;p=senf.git diff --git a/senf/Utils/Console/Server.ih b/senf/Utils/Console/Server.ih index aa77d74..2e793be 100644 --- a/senf/Utils/Console/Server.ih +++ b/senf/Utils/Console/Server.ih @@ -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 @@ -66,7 +66,7 @@ namespace detail { \fixme Don't throw exceptions ... set stream error indicator (if at all) */ - class NonblockingSocketSink + class NonblockingSocketSink : public boost::iostreams::sink { public: @@ -74,7 +74,7 @@ namespace detail { std::streamsize write(const char * s, std::streamsize n); Client & client() const; - + private: Client & client_; }; @@ -82,7 +82,7 @@ namespace detail { typedef boost::iostreams::stream NonblockingSocketOStream; typedef senf::ServerSocketHandle< - senf::MakeSocketPolicy< senf::TCPv4SocketProtocol::Policy, + senf::MakeSocketPolicy< senf::TCPv4SocketProtocol::Policy, senf::BSDAddressingPolicy>::policy > ServerHandle; /** \brief Internal: Generic client interface @@ -129,7 +129,7 @@ namespace detail { }; /** \brief Internal: Primitive ClientReader implementation - + This implementation uses the cooked telnet mode to read lines from the console. It does not support explicit line editing or any other advanced features. */ @@ -154,7 +154,7 @@ namespace detail { }; /** \brief Internal: Primitive ClientReader implementation - + This implementation uses the cooked telnet mode to read lines from the console. It does not support explicit line editing or any other advanced features. */ @@ -175,7 +175,7 @@ namespace detail { scheduler::FdEvent readevent_; std::string buffer_; }; - + }}} ///////////////////////////////ih.e////////////////////////////////////////