X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FBufferingPolicy.hh;h=02d61425929e5ab2c15cf5749781583e240b53be;hb=81ffa1c459b96dd44472bcef37e1e373934ee138;hp=c595450c80664ce78cdc6b7859afc98144a6833d;hpb=31d85cd6b8e03c5ecc924ca8892906be1bab702f;p=senf.git diff --git a/Socket/BufferingPolicy.hh b/Socket/BufferingPolicy.hh index c595450..02d6142 100644 --- a/Socket/BufferingPolicy.hh +++ b/Socket/BufferingPolicy.hh @@ -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: