NoBufferingPolicy added
[senf.git] / Socket / BufferingPolicy.hh
index c595450..8f4b2d8 100644 (file)
@@ -38,6 +38,22 @@ namespace senf {
 
     /// \addtogroup policy_impl_group
     /// @{
+    
+    /** \brief BufferingPolicy for non-buffered sockets
+    
+        This is different from UndefinedBufferingPolicy (which is the
+        same as BufferingPolicyBase). This policy class defines the
+        buffering policy -- it explicitly states, that the socket does not
+        support buffering.
+     */
+    struct NoBufferingPolicy : public BufferingPolicyBase
+    {};
+    
+    /// @}
+
+    
+    /// \addtogroup policy_impl_group
+    /// @{
 
     /** \brief BufferingPolicy implementing standard socket buffering
 
@@ -85,4 +101,5 @@ namespace senf {
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
 // compile-command: "scons -u test"
+// comment-column: 40
 // End: