DiscardSink.hh
Go to the documentation of this file.
1 //
2 // Copyright (c) 2020 Fraunhofer Institute for Applied Information Technology (FIT)
3 // Network Research Group (NET)
4 // Schloss Birlinghoven, 53754 Sankt Augustin, GERMANY
5 // Contact: support@wiback.org
6 //
7 // This file is part of the SENF code tree.
8 // It is licensed under the 3-clause BSD License (aka New BSD License).
9 // See LICENSE.txt in the top level directory for details or visit
10 // https://opensource.org/licenses/BSD-3-Clause
11 //
12 
13 
17 #ifndef HH_SENF_PPI_DiscardSink_
18 #define HH_SENF_PPI_DiscardSink_ 1
19 
20 // Custom includes
21 #include "Connectors.hh"
22 #include "Module.hh"
23 
24 //#include "DiscardSink.mpp"
25 //-/////////////////////////////////////////////////////////////////////////////////////////////////
26 
27 namespace senf {
28 namespace ppi {
29 namespace module {
30 
38  : public Module
39  {
41  public:
43 
44  DiscardSink();
45 
46  private:
47  void request();
48  };
49 
50 
51 }}}
52 
53 //-/////////////////////////////////////////////////////////////////////////////////////////////////
54 //#include "DiscardSink.cci"
55 //#include "DiscardSink.ct"
56 //#include "DiscardSink.cti"
57 #endif
58 
59 
60 // Local Variables:
61 // mode: c++
62 // fill-column: 100
63 // comment-column: 40
64 // c-file-style: "senf"
65 // indent-tabs-mode: nil
66 // ispell-local-dictionary: "american"
67 // compile-command: "scons -u test"
68 // End:
Module base-class.
Definition: Module.hh:169
Connectors public header.
Module public header.
#define SENF_PPI_MODULE(name)
Define PPI Module.
Definition: Module.hh:346
connector::PassiveInput input
Definition: DiscardSink.hh:40
Connector passively receiving packets.
Definition: Connectors.hh:655
Module discarding all received packets.
Definition: DiscardSink.hh:37