adding a function to replace the socket handle int the SocketSource / SocketSink.
[senf.git] / PPI / SocketSource.cci
1 // Copyright (C) 2007 
2 // Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
3 // Kompetenzzentrum NETwork research (NET)
4 //     David Wagner <david.wagner@fokus.fraunhofer.de>
5 //
6
7 /** \file
8     \brief SocketSource inline non-template implementation */
9
10 // Custom includes
11 #include "SocketSource.hh"
12
13 #define prefix_ inline
14 ///////////////////////////////cci.p///////////////////////////////////////
15
16 ///////////////////////////////////////////////////////////////////////////
17 // senf::ppi::module::ActiveSocketSource<Reader>
18
19 template <class Writer>
20 prefix_ void senf::ppi::module::ActiveSocketSource<Reader>::replaceHandle(Handle handle)
21 {
22     handle_ = handle;
23 }
24 ///////////////////////////////cci.e///////////////////////////////////////
25 #undef prefix_
26
27 \f
28 // Local Variables:
29 // mode: c++
30 // fill-column: 100
31 // comment-column: 40
32 // c-file-style: "senf"
33 // indent-tabs-mode: nil
34 // ispell-local-dictionary: "american"
35 // compile-command: "scons -u test"
36 // End: