doclib: link new berlios wiki
tho [Tue, 12 Feb 2008 12:41:01 +0000 (12:41 +0000)]
Packets/DefaultBundle/extra_tests: use unittest include from utils /grrr
Socket/Protocols/AddressExceptions: fixes
Socket: fixed documentation

git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@688 270642c3-0616-0410-b53a-bc976706d245

14 files changed:
Packets/DefaultBundle/extra_tests/PacketLink.test.cc
Socket/Protocols/AddressExceptions.hh
Socket/Protocols/INet/ConnectedRawINetSocketHandle.hh
Socket/Protocols/INet/ConnectedUDPSocketHandle.hh
Socket/Protocols/INet/INetAddressing.hh
Socket/Protocols/INet/RawINetSocketHandle.hh
Socket/Protocols/INet/TCPSocketHandle.hh
Socket/Protocols/INet/UDPSocketHandle.hh
Socket/Protocols/Raw/PacketSocketHandle.hh
Socket/Protocols/UN/ConnectedUNDatagramSocketHandle.hh
Socket/Protocols/UN/UNAddressing.hh
Socket/Protocols/UN/UNDatagramSocketHandle.hh
Utils/auto_unit_test.hh
doclib/SConscript

index 11b0d74..e84cd9d 100644 (file)
@@ -30,7 +30,7 @@
 #include "../EthernetPacket.hh"
 #include "../IPv6Packet.hh"
 
-#include <boost/test/auto_unit_test.hpp>
+#include "../../../Utils/auto_unit_test.hh"
 #include <boost/test/test_tools.hpp>
 
 #define prefix_
index ff59751..2409cd0 100644 (file)
@@ -34,7 +34,7 @@
 
 namespace senf {
 
-    /** \brief Base-class for INet4Address exceptions */
+    /** \brief Base-class for Address exceptions */
     struct AddressException : public senf::Exception
     {
     protected:
@@ -42,13 +42,19 @@ namespace senf {
             : senf::Exception(msg) {}
     };
 
-    /** \brief Invalid INet4 address syntax */
+    /** \brief Invalid address syntax */
     struct AddressSyntaxException : public AddressException
-    { AddressSyntaxException() : AddressException("invalid INet4 address syntax") {} };
+    {
+        AddressSyntaxException() : AddressException("invalid address syntax") {}
+        AddressSyntaxException(std::string const & msg) : AddressException(msg) {}
+    };
 
     /** \brief Resolver failure */
     struct UnknownHostnameException : public AddressException
-    { UnknownHostnameException() : AddressException("failed to resolve INet4 hostname") {} };
+    { 
+        UnknownHostnameException() : AddressException("failed to resolve hostname") {} 
+        UnknownHostnameException(std::string const & msg) : AddressException(msg) {}
+    };
 
 }        
 
index 0f29279..eecde8e 100644 (file)
@@ -56,11 +56,10 @@ namespace senf {
 
         \par Policy Interface:
             ClientSocketHandle::read(), ClientSocketHandle::write(), ClientSocketHandle::bind(),
-            ClientSocketHandle::local(), ClientSocketHandle::connect(), ClientSocketHandle::peer(),
-            ClientSocketHandle::rcvbuf(), ClientSocketHandle::sndbuf()
+            ClientSocketHandle::local(), ClientSocketHandle::connect(), ClientSocketHandle::peer()
 
         \par Address Type:
-            INet4Address
+            INet4SocketAddress
 
         ConnectedRawV4SocketProtocol provides an internet protocol raw socket based on IPv4 addressing.
         This socket will put data written to it onto the IPv4 layer: if you call writeto don't inlude the header!
@@ -125,9 +124,8 @@ namespace senf {
 
         \par Policy Interface: 
             ClientSocketHandle::read(), ClientSocketHandle::write(), ClientSocketHandle::bind(),
-            ClientSocketHandle::local(), ClientSocketHandle::connect(), ClientSocketHandle::peer(),
-            ClientSocketHandle::rcvbuf(), ClientSocketHandle::sndbuf()
-
+            ClientSocketHandle::local(), ClientSocketHandle::connect(), ClientSocketHandle::peer()
+            
         \par Address Type:
             INet6Address
 
index 53c8433..f1b9106 100644 (file)
@@ -63,11 +63,10 @@ namespace senf {
 
         \par Policy Interface:
             ClientSocketHandle::read(), ClientSocketHandle::write(), ClientSocketHandle::bind(),
-            ClientSocketHandle::local(), ClientSocketHandle::connect(), ClientSocketHandle::peer(),
-            ClientSocketHandle::rcvbuf(), ClientSocketHandle::sndbuf()
+            ClientSocketHandle::local(), ClientSocketHandle::connect(), ClientSocketHandle::peer()
 
         \par Address Type:
-            INet4Address
+            INet4SocketAddress
         
         ConnectedUDPv4SocketProtocol provides an internet protocol stream socket based on the UDP
         protocol and IPv4 addressing.
@@ -123,9 +122,8 @@ namespace senf {
 
         \par Policy Interface:
             ClientSocketHandle::read(), ClientSocketHandle::write(), ClientSocketHandle::bind(),
-            ClientSocketHandle::local(), ClientSocketHandle::connect(), ClientSocketHandle::peer(),
-            ClientSocketHandle::rcvbuf(), ClientSocketHandle::sndbuf()
-
+            ClientSocketHandle::local(), ClientSocketHandle::connect(), ClientSocketHandle::peer()
+            
         \par Address Type:
             INet6Address
 
index 9a30aff..2bd59cc 100644 (file)
@@ -213,7 +213,7 @@ namespace senf {
     /** \brief Addressing policy supporting IPv4 addressing
 
         \par Address Type:
-            INet4Address
+            INet4SocketAddress
 
         This addressing policy implements addressing using Internet V4
         addresses.
index 73a20d3..ed2ae74 100644 (file)
@@ -58,11 +58,10 @@ namespace senf {
 
         \par Policy Interface:
             ClientSocketHandle::read(), ClientSocketHandle::readfrom(),
-            ClientSocketHandle::writeto(), ClientSocketHandle::bind(), ClientSocketHandle::local(),
-            ClientSocketHandle::rcvbuf(), ClientSocketHandle::sndbuf()
+            ClientSocketHandle::writeto(), ClientSocketHandle::bind(), ClientSocketHandle::local()
 
         \par Address Type:
-            INet4Address
+            INet4SocketAddress
 
         RawV4SocketProtocol provides an internet protocol raw socket based on IPv4 addressing.
         This socket will put data written to it onto the IPv4 layer: if you call writeto don't inlude the header!
@@ -127,8 +126,7 @@ namespace senf {
 
         \par Policy Interface: 
             ClientSocketHandle::read(), ClientSocketHandle::readfrom(),
-            ClientSocketHandle::writeto(), ClientSocketHandle::bind(), ClientSocketHandle::local(),
-            ClientSocketHandle::rcvbuf(), ClientSocketHandle::sndbuf()
+            ClientSocketHandle::writeto(), ClientSocketHandle::bind(), ClientSocketHandle::local()
 
         \par Address Type:
             INet6Address
index fb5d4d6..15aba83 100644 (file)
@@ -64,11 +64,10 @@ namespace senf {
         
         \par Policy Interface:
             ClientSocketHandle::read(), ClientSocketHandle::write(), ClientSocketHandle::bind(),
-            ClientSocketHandle::local(), ClientSocketHandle::connect(), ClientSocketHandle::peer(),
-            ClientSocketHandle::rcvbuf(), ClientSocketHandle::sndbuf()
+            ClientSocketHandle::local(), ClientSocketHandle::connect(), ClientSocketHandle::peer()
 
         \par Address Type:
-            INet4Address
+            INet4SocketAddress
 
         TCPv4SocketProtocol provides an internet protocol stream socket based on the TCP protocol
         and IPv4 addressing.
@@ -139,11 +138,10 @@ namespace senf {
 
         \par Policy Interface:
         ClientSocketHandle::read(), ClientSocketHandle::write(), ClientSocketHandle::bind(),
-        ClientSocketHandle::local(), ClientSocketHandle::connect(), ClientSocketHandle::peer(),
-        ClientSocketHandle::rcvbuf(), ClientSocketHandle::sndbuf()
+        ClientSocketHandle::local(), ClientSocketHandle::connect(), ClientSocketHandle::peer()
 
         \par Address Type:
-        INet6Address
+            INet6Address
 
         TCPv6SocketProtocol provides an internet protocol stream socket based on the TCP protocol
         and IPv6 addressing.
index cbb427b..a90163e 100644 (file)
@@ -64,11 +64,10 @@ namespace senf {
 
         \par Policy Interface:
             ClientSocketHandle::read(), ClientSocketHandle::readfrom(),
-            ClientSocketHandle::writeto(), ClientSocketHandle::bind(), ClientSocketHandle::local(),
-            ClientSocketHandle::rcvbuf(), ClientSocketHandle::sndbuf()
+            ClientSocketHandle::writeto(), ClientSocketHandle::bind(), ClientSocketHandle::local()
 
         \par Address Type:
-            INet4Address
+            INet4SocketAddress
 
         UDPv4SocketProtocol provides an internet protocol stream socket based on the UDP protocol
         and IPv4 addressing.
@@ -125,8 +124,7 @@ namespace senf {
 
         \par Policy Interface: 
             ClientSocketHandle::read(), ClientSocketHandle::readfrom(),
-            ClientSocketHandle::writeto(), ClientSocketHandle::bind(), ClientSocketHandle::local(),
-            ClientSocketHandle::rcvbuf(), ClientSocketHandle::sndbuf()
+            ClientSocketHandle::writeto(), ClientSocketHandle::bind(), ClientSocketHandle::local()
 
         \par Address Type:
             INet6Address
index 8a0f320..56aaadb 100644 (file)
@@ -62,11 +62,10 @@ namespace senf {
 
         \par Policy Interface:
         ClientSocketHandle::read(), ClientSocketHandle::readfrom(), ClientSocketHandle::writeto(),
-        ClientSocketHandle::bind(), ClientSocketHandle::local(), ClientSocketHandle::rcvbuf(),
-        ClientSocketHandle::sndbuf()
+        ClientSocketHandle::bind(), ClientSocketHandle::local()
 
         \par Address Type:
-        LLSocketAddress
+            LLSocketAddress
 
         The PacketSocketProtocol provides access to the linux packet socket API. This API gives access to
         the low level network packets. The packet socket allows read() and write() operations. The
index fc7493b..ba5db71 100644 (file)
@@ -58,11 +58,10 @@ namespace senf {
 
         \par Policy Interface: (to be checked)
             ClientSocketHandle::read(), ClientSocketHandle::readfrom(),
-            ClientSocketHandle::writeto(), ClientSocketHandle::bind(), ClientSocketHandle::local(),
-            ClientSocketHandle::rcvbuf(), ClientSocketHandle::sndbuf()
+            ClientSocketHandle::writeto(), ClientSocketHandle::bind(), ClientSocketHandle::local()
 
         \par Address Type:
-            UNAddress
+            UNSocketAddress
 
         ConnectedUNDatagramSocketProtocol provides an datagram protocol socket based on the unix domain  addressing which operates in a connected mode.
 
index fc918a3..82109e0 100644 (file)
@@ -94,7 +94,7 @@ namespace senf {
     /** \brief Addressing policy supporting unix domain addressing
 
         \par Address Type:
-            UNAddress
+            UNSocketAddress
 
         This addressing policy implements addressing using unix domain
         addresses.
index 03e5d53..4f47dd9 100644 (file)
@@ -58,11 +58,10 @@ namespace senf {
 
         \par Policy Interface: (to be checked)
             ClientSocketHandle::read(), ClientSocketHandle::readfrom(),
-            ClientSocketHandle::writeto(), ClientSocketHandle::bind(), ClientSocketHandle::local(),
-            ClientSocketHandle::rcvbuf(), ClientSocketHandle::sndbuf()
+            ClientSocketHandle::writeto(), ClientSocketHandle::bind(), ClientSocketHandle::local()
 
         \par Address Type:
-            UNAddress
+            UNSocketAddress
 
         UNDatagramSocketProtocol provides an datagram protocol socket based on the unix domain
         addressing.
index 0651fde..9ae6577 100644 (file)
@@ -28,7 +28,9 @@
     any necessary workarounds.
 
     So, instead of <tt>\#include <boost/test/auto_unit_test.hpp></tt>, you should always write
-    <tt>\#include "../Utils/auto_unit_test.hh"</tt> (with possibliy adjusted path).
+    <pre>
+        #include "../Utils/auto_unit_test.hh"
+    </pre> (with possibliy adjusted path).
  */
 
 #ifndef HH_auto_unit_test_
index 276ec2d..4c3bac7 100644 (file)
@@ -261,7 +261,7 @@ div.tabs li.$projectname a { background-color: #EDE497; }
       <li><a class="ext" href="http://svn.berlios.de/viewcvs/senf/trunk/">Browse SVN</a></li>
       <li><a class="ext" href="http://svn.berlios.de/wsvn/senf/?op=log&rev=0&sc=0&isdir=1">ChangeLog</a></li>
       <li><a class="ext" href="http://developer.berlios.de/projects/senf">BerliOS</a></li>
-      <li><a class="ext" href="http://openfacts.berlios.de/index-en.phtml?title=SENF+Network+Framework">Wiki</a></li>
+      <li><a class="ext" href="http://openfacts2.berlios.de/wikien/index.php/BerliosProject:SENF_Network_Framework">Wiki</a></li>
       <li><a href="@TOPDIR@/doc/html/index.html">Home</a></li>
     </ul>
     <h2>${TITLE}</h2>