Packets: extended description of bad_cast exception in Packet.as()
[senf.git] / senf / Socket / Protocols / UN / UNSocketProtocol.hh
index 83bd3d1..1a842c5 100644 (file)
 #define HH_SENF_Socket_Protocols_UN_UNSocketProtocol_ 1
 
 // Custom includes
-#include "../../../Socket/SocketProtocol.hh"
-#include "UNAddressing.hh"
-#include "../../../Socket/ClientSocketHandle.hh"
-#include "../../../Socket/CommunicationPolicy.hh"
+#include <senf/Socket/SocketProtocol.hh>
 
 //#include "UNSocketProtocol.mpp"
-///////////////////////////////hh.p////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
 
 namespace senf {
 
     /// \addtogroup protocol_facets_group
-    /// @{
+    //\{
 
     /** \brief Protocol facet providing Unix Domain Addressing related API
 
-        This protocol facet introduces all the socket api protocol members which are related to Unix 
+        This protocol facet introduces all the socket api protocol members which are related to Unix
         Domain addressing.
      */
     class UNSocketProtocol
@@ -52,29 +49,32 @@ namespace senf {
         virtual void close();           ///< Close socket
                                         /**< This override will automatically \c shutdown() the
                                              socket whenever it is closed.
-                                             \throws senf::SystemException */ // 
+                                             \throws senf::SystemException */ //
         virtual void terminate() const;       ///< Forcibly close socket
                                         /**< This override will automatically \c shutdown() the
                                            socket whenever it is called. Additionally it will
                                            disable SO_LINGER to ensure, that v_terminate will not
-                                           block. Like the overriden method, this member will ignore
-                                           failures and will never throw. It therefore safe to be
-                                           called from a destructor. */        ///\name Abstract Interface Implementation
-        ///@{
-
-         unsigned available() const;
-         bool eof() const;
-         
+                                           block. Like the overridden method, this member will
+                                           ignore failures and will never throw. It therefore
+                                           safe to be called from a destructor. */
+
+        ///\name Abstract Interface Implementation
+        //\{
+
+        unsigned available() const;
+        bool eof() const;
+
+        //\}
+
     private:
-        void check_and_unlink() const;  
-      
+        void check_and_unlink() const;
+
         std::string path_;
     };
 
-    ///@}
 }
 
-///////////////////////////////hh.e////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
 //#include "UNSocketProtocol.cci"
 //#include "UNSocketProtocol.ct"
 //#include "UNSocketProtocol.cti"