INetSocketProtocol.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 
24 #ifndef HH_SENF_Socket_Protocols_INet_INetSocketProtocol_
25 #define HH_SENF_Socket_Protocols_INet_INetSocketProtocol_ 1
26 
27 // Custom includes
29 
30 //#include "INetSocketProtocol.mpp"
31 //-/////////////////////////////////////////////////////////////////////////////////////////////////
32 
33 namespace senf {
34 
36  //\{
37 
41  : public virtual SocketProtocol
42  {
43  public:
44  void bindInterface(std::string const & iface) const;
46 
55  std::string bindInterface();
56 
60  };
61 
62  //\}
63 
64 }
65 
66 //-/////////////////////////////////////////////////////////////////////////////////////////////////
67 //#include "INetSocketProtocol.cci"
68 //#include "INetSocketProtocol.ct"
69 //#include "INetSocketProtocol.cti"
70 #endif
71 
72 
73 // Local Variables:
74 // mode: c++
75 // fill-column: 100
76 // c-file-style: "senf"
77 // indent-tabs-mode: nil
78 // ispell-local-dictionary: "american"
79 // compile-command: "scons -u test"
80 // comment-column: 40
81 // End:
Generic addressing type independent INet protocol facet.
Socket Protocol base class.
std::string bindInterface()
Get bound interface.
SocketProtocol and ConcreteSocketProtocol public header.