X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FBufferingPolicy.hh;h=8f4b2d8dd019b6b5a5bd618d59b5d0bde595ac62;hb=78c1f45585a8d7aecd3c29074f2733a3f6968396;hp=90ba22732e9a540a3334cf78fe86d29671da678d;hpb=85ab07d100a382467a42e19d741d403a7a96c951;p=senf.git diff --git a/Socket/BufferingPolicy.hh b/Socket/BufferingPolicy.hh index 90ba227..8f4b2d8 100644 --- a/Socket/BufferingPolicy.hh +++ b/Socket/BufferingPolicy.hh @@ -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 @@ -84,4 +100,6 @@ namespace senf { // c-file-style: "senf" // indent-tabs-mode: nil // ispell-local-dictionary: "american" +// compile-command: "scons -u test" +// comment-column: 40 // End: