Blocked revisions 580 via svnmerge
[senf.git] / Socket / BufferingPolicy.hh
index c595450..b871e37 100644 (file)
@@ -1,9 +1,9 @@
 // $Id$
 //
 // Copyright (C) 2006
-// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
-// Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
-//     Stefan Bund <stefan.bund@fokus.fraunhofer.de>
+// Fraunhofer Institute for Open Communication Systems (FOKUS) 
+// Competence Center NETwork research (NET), St. Augustin, GERMANY 
+//     Stefan Bund <g0dil@berlios.de>
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
@@ -38,7 +38,17 @@ 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
+    {};
+    
     /** \brief BufferingPolicy implementing standard socket buffering
 
         This policy class implements standard BSD socket buffering.
@@ -85,4 +95,5 @@ namespace senf {
 // indent-tabs-mode: nil
 // ispell-local-dictionary: "american"
 // compile-command: "scons -u test"
+// comment-column: 40
 // End: