From 0df47ce1a170e291c68e7786984cca1d0ebe8512 Mon Sep 17 00:00:00 2001 From: tho <tho@wiback.org> Date: Fri, 20 Jul 2007 12:29:34 +0000 Subject: [PATCH] added documentation note for SocketProtocol::available() --- Socket/DVBDemuxHandles.cc | 2 +- Socket/DVBDemuxHandles.hh | 5 ++--- Socket/DVBDemuxProtocol.cc | 2 +- Socket/DVBDemuxProtocol.hh | 2 +- Socket/SocketPolicy.hh | 4 ++-- Socket/SocketProtocol.hh | 4 +++- doclib/senf.css | 4 ++-- 7 files changed, 12 insertions(+), 11 deletions(-) diff --git a/Socket/DVBDemuxHandles.cc b/Socket/DVBDemuxHandles.cc index d449a628b..8fda3496a 100644 --- a/Socket/DVBDemuxHandles.cc +++ b/Socket/DVBDemuxHandles.cc @@ -1,4 +1,4 @@ -// $Id: DVBSectionHandle.cc 321 2007-07-19 09:00:23Z tho $ +// $Id$ // // Copyright (C) 2007 // Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) diff --git a/Socket/DVBDemuxHandles.hh b/Socket/DVBDemuxHandles.hh index 40665e5a4..682357745 100644 --- a/Socket/DVBDemuxHandles.hh +++ b/Socket/DVBDemuxHandles.hh @@ -1,4 +1,4 @@ -// $Id: DVBDemuxSectionHandle.hh 321 2007-07-19 09:00:23Z tho $ +// $Id$ // // Copyright (C) 2007 // Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) @@ -49,8 +49,7 @@ namespace senf { DatagramFramingPolicy, UnconnectedCommunicationPolicy, ReadablePolicy, - NotWriteablePolicy, - SocketBufferingPolicy + NotWriteablePolicy >::policy DVBDemux_Policy; ///< Socket Policy for xxxx /** \brief xxx diff --git a/Socket/DVBDemuxProtocol.cc b/Socket/DVBDemuxProtocol.cc index f1f0ef112..00c07c5d4 100644 --- a/Socket/DVBDemuxProtocol.cc +++ b/Socket/DVBDemuxProtocol.cc @@ -1,4 +1,4 @@ -// $Id: DVBProtocol.cc 321 2007-07-19 09:00:23Z tho $ +// $Id$ // // Copyright (C) 2007 // Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) diff --git a/Socket/DVBDemuxProtocol.hh b/Socket/DVBDemuxProtocol.hh index 8281cc8f1..ab9e57171 100644 --- a/Socket/DVBDemuxProtocol.hh +++ b/Socket/DVBDemuxProtocol.hh @@ -1,4 +1,4 @@ -// $Id: DVBProtocol.hh 321 2007-07-19 09:00:23Z tho $ +// $Id$ // // Copyright (C) 2007 // Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) diff --git a/Socket/SocketPolicy.hh b/Socket/SocketPolicy.hh index 9cffc4367..cb83e11a8 100644 --- a/Socket/SocketPolicy.hh +++ b/Socket/SocketPolicy.hh @@ -363,7 +363,7 @@ namespace senf { </table> The second member should only be enabled if the communication policy is - UnconnectedCommunication (otherwise it does not make sense since the communication partner + UnconnectedCommunicationPolicy (otherwise it does not make sense since the communication partner is fixed) (see AddressingPolicyBase on how to do this). \note This Policy only has two meaningful states: ReadablePolicy and NotReadablePolicy. It @@ -386,7 +386,7 @@ namespace senf { </table> The second member should only be enabled if the communication policy is - UnconnectedCommunication (otherwise it does not make sense since the communication partner + UnconnectedCommunicationPolicy (otherwise it does not make sense since the communication partner is fixed) (see AddressingPolicyBase on how to do this). \note This Policy only has two meaningful states: WritablePolicy and NotWritablePolicy. It diff --git a/Socket/SocketProtocol.hh b/Socket/SocketProtocol.hh index 839fdeba9..1f962e353 100644 --- a/Socket/SocketProtocol.hh +++ b/Socket/SocketProtocol.hh @@ -155,7 +155,9 @@ namespace senf { /**< This member will check in a (very, sigh) protocol dependent way, how many bytes are guaranteed to be readable from the socket without blocking even if the - socket is blocking. */ + socket is blocking. If the socket does not support + reading (viz. NotReadablePolicy is set), this member + should always return \c 0.*/ virtual bool eof() const = 0; ///< Check for end-of-file condition /**< This is another check which (like available()) is diff --git a/doclib/senf.css b/doclib/senf.css index 2df0ed65b..e6e9575cb 100644 --- a/doclib/senf.css +++ b/doclib/senf.css @@ -54,7 +54,7 @@ body { } #head ul { - display: inline; /* für IE ... */ + display: inline; /* f�r IE ... */ font-size: 13px; height: 0px; margin: 0; @@ -191,7 +191,7 @@ div.tabs ul li a:hover, div.tabs ul li.current a { } div.tabs ul li.level1 a { - padding-left: 2em; + padding-left: 1.5em; font-size: 90%; } -- GitLab