X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FSocketProtocol.hh;h=52f8195b1a8375eba38de6f49811a3229d33e371;hb=c778649a04a9835ecaad9108b9613832d76c2d15;hp=dc9da5135a5ab7c895a442f88c21503db798a6bc;hpb=0d08e478bfcd569f297bb822403328d41b1c10fb;p=senf.git diff --git a/Socket/SocketProtocol.hh b/Socket/SocketProtocol.hh index dc9da51..52f8195 100644 --- a/Socket/SocketProtocol.hh +++ b/Socket/SocketProtocol.hh @@ -22,11 +22,6 @@ /** \file \brief SocketProtocol and ConcreteSocketProtocol public header - - \idea We should optimize the protocol handling. Allocating a protocol instance for every socket - body seems quite wasteful. We could derive SocketPolicy from SocketBody (probably privately, - since private inheritance models more of 'has a' than 'is a'). This would allow to reduce - the number of heap-allocations per socket to one which is good. */ // The private inheritance idea should indeed work very well: We just need to change the @@ -72,9 +67,6 @@ \see \ref handle_group \n \ref policy_group - - \todo Complete the protocol interface implementations. Better distribution of members to - protocol facets and more precise distribution of functionality among the facets. */ /** \defgroup concrete_protocol_group Protocol Implementations (Concrete Protocol Classes) @@ -259,8 +251,8 @@ namespace senf { friend class SocketBody; }; - template class ClientSocketHandle; - template class ServerSocketHandle; + template class ClientSocketHandle; + template class ServerSocketHandle; /** \brief Concrete Socket Protocol implementation base class