X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FBufferingPolicy.hh;h=8f4b2d8dd019b6b5a5bd618d59b5d0bde595ac62;hb=78c1f45585a8d7aecd3c29074f2733a3f6968396;hp=3d353dda206049fdaac50211988b5d9e9e251d6d;hpb=1cf24483a4b520177bfa539d9601749be6aef2ce;p=senf.git diff --git a/Socket/BufferingPolicy.hh b/Socket/BufferingPolicy.hh index 3d353dd..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