X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FSocketProtocol.hh;h=b41fccb8b05e182579462235abe3db3a3e5f30d0;hb=92f8630b75f3ef50e73c48cde58645dcd1534e27;hp=72ddad5479771de469c84618d8a25299f3f86956;hpb=31243b46fbd06bc6301acca8fbd8153829c61b0a;p=senf.git
diff --git a/Socket/SocketProtocol.hh b/Socket/SocketProtocol.hh
index 72ddad5..b41fccb 100644
--- a/Socket/SocketProtocol.hh
+++ b/Socket/SocketProtocol.hh
@@ -32,22 +32,19 @@
/** \defgroup protocol_group The Protocol Classes
- \htmlonly
-
-
- \endhtmlonly
+
+ \ref SocketProtocol
+ \ref UNSocketProtocol
+ \ref PacketSocketProtocol
+ \ref ConcreteSocketProtocol
+ \ref BSDSocketProtocol
+ \ref DatagramSocketProtocol
+ \ref TCPSocketProtocol
+ \ref UNDatagramSocketProtocol
+ \ref AddressableBSDSocketProtocol
+ \ref TCPv4SocketProtocol
+
+ \htmlonly \endhtmlonly
The socket handle classes and templates only implement the most important socket API methods
using the policy framework. To access the complete API, the protocol interface is
@@ -92,8 +89,8 @@
accessibility of the socket body from all facets.
*/
-#ifndef HH_SocketProtocol_
-#define HH_SocketProtocol_ 1
+#ifndef HH_SENF_Socket_SocketProtocol_
+#define HH_SENF_Socket_SocketProtocol_ 1
// Custom includes
#include
@@ -171,7 +168,7 @@ namespace senf {
not support the notion of EOF, this member should
always return \c false. */
- virtual void close() const; ///< Close socket
+ virtual void close(); ///< Close socket
/**< This override will automatically \c shutdown() the
socket whenever it is closed.
\throws senf::SystemException
@@ -266,7 +263,7 @@ namespace senf {
A protocol implementation may define the protocol interface directly. It can also
(additionally) make use of multiple inheritance to combine a set of protocol facets into a
specific protocol implementation (i.e. TCPv4SocketProtocol inherits from
- ConcreteSocketProtocol and from the protocol facets IPv4Protocol, TCPProtocol,
+ ConcreteSocketProtocol and from the protocol facets IPv4SocketProtocol, TCPSocketProtocol,
BSDSocketProtocol and AddressableBSDSocketProtocol). The protocol facets are not concrete
protocols themselves, they are combined to build concrete protocols. This structure will
remove a lot of code duplication. It is important to ensure, that the protocol facets do not