Socket: Add senf::pool_alloc_mixin to most socket classes
[senf.git] / Socket / TCPSocketHandle.hh
index cbb521c..2e00ee5 100644 (file)
@@ -31,6 +31,7 @@
 #define HH_TCPSocketHandle_ 1
 
 // Custom includes
+#include "Utils/pool_alloc_mixin.hh"
 #include "INetProtocol.hh"
 #include "TCPProtocol.hh"
 #include "BSDSocketProtocol.hh"
@@ -64,7 +65,7 @@ namespace senf {
         \ref TCPv4ClientSocketHandle (ProtocolClientSocketHandle), \ref TCPv4ServerSocketHandle
         (ProtocolServerSocketHandle)
 
-        \par Protocol Interface:
+        \par Policy Interface:
         ClientSocketHandle::read(), ClientSocketHandle::write(), ClientSocketHandle::bind(),
         ClientSocketHandle::local(), ClientSocketHandle::connect(), ClientSocketHandle::peer(),
         ClientSocketHandle::rcvbuf(), ClientSocketHandle::sndbuf()
@@ -85,7 +86,8 @@ namespace senf {
           public IPv4Protocol,
           public TCPProtocol,
           public BSDSocketProtocol,
-          public AddressableBSDSocketProtocol
+          public AddressableBSDSocketProtocol,
+          public senf::pool_alloc_mixin<TCPv4SocketProtocol>
     {
     public:
         ///////////////////////////////////////////////////////////////////////////
@@ -145,7 +147,7 @@ namespace senf {
         \ref TCPv6ClientSocketHandle (ProtocolClientSocketHandle), \ref TCPv6ServerSocketHandle
         (ProtocolServerSocketHandle)
 
-        \par Protocol Interface:
+        \par Policy Interface:
         ClientSocketHandle::read(), ClientSocketHandle::write(), ClientSocketHandle::bind(),
         ClientSocketHandle::local(), ClientSocketHandle::connect(), ClientSocketHandle::peer(),
         ClientSocketHandle::rcvbuf(), ClientSocketHandle::sndbuf()
@@ -166,7 +168,8 @@ namespace senf {
           public IPv6Protocol,
           public TCPProtocol,
           public BSDSocketProtocol,
-          public AddressableBSDSocketProtocol
+          public AddressableBSDSocketProtocol,
+          public senf::pool_alloc_mixin<TCPv6SocketProtocol>
     {
     public:
         ///////////////////////////////////////////////////////////////////////////
@@ -232,4 +235,6 @@ namespace senf {
 // c-file-style: "senf"
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
 // End: