X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FSocketSink.cci;h=d34a003414024323b4be8c4b7ebbf8f429c21276;hb=b89e3166f7680755683dccee5e48cb3a820185c0;hp=5acdcac1d18cd011cacf541548626457ad23e4ea;hpb=19457dfb4c2d5df32f7dcdcb911bd26963ba91b2;p=senf.git diff --git a/PPI/SocketSink.cci b/PPI/SocketSink.cci index 5acdcac..d34a003 100644 --- a/PPI/SocketSink.cci +++ b/PPI/SocketSink.cci @@ -1,8 +1,8 @@ // $Id$ // -// Copyright (C) 2007 -// Fraunhofer Institute for Open Communication Systems (FOKUS) -// Competence Center NETwork research (NET), St. Augustin, GERMANY +// Copyright (C) 2007 +// Fraunhofer Institute for Open Communication Systems (FOKUS) +// Competence Center NETwork research (NET), St. Augustin, GERMANY // Stefan Bund // // This program is free software; you can redistribute it and/or modify @@ -25,6 +25,7 @@ // Custom includes #include "SocketSink.hh" +#include "../Socket/ClientSocketHandle.hh" #define prefix_ inline ///////////////////////////////cci.p/////////////////////////////////////// @@ -32,20 +33,12 @@ /////////////////////////////////////////////////////////////////////////// // senf::ppi::ConnectedDgramWriter -prefix_ void senf::ppi::ConnectedDgramWriter::operator()(Handle handle, Packet packet) +prefix_ void senf::ppi::ConnectedDgramWriter::operator()(Handle handle, + Packet const & packet) { handle.write(packet.data()); } -/////////////////////////////////////////////////////////////////////////// -// senf::ppi::module::PassiveSocketSink - -template -prefix_ void senf::ppi::module::PassiveSocketSink::replaceHandle(Handle handle) -{ - handle_ = handle; -} - ///////////////////////////////cci.e/////////////////////////////////////// #undef prefix_