X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FTCPSocketHandle.hh;h=a566d939864f90517bfbabefeebc85bd71f2fa30;hb=5a5c6d7f0fae7ad6c0af49d7742955cb6cf618cf;hp=b8354ca41826aaf8ce0b75feb4dc016ac5df9bba;hpb=032707d24b1059febe83ce56b11fd79df106c6e2;p=senf.git diff --git a/Socket/TCPSocketHandle.hh b/Socket/TCPSocketHandle.hh index b8354ca..a566d93 100644 --- a/Socket/TCPSocketHandle.hh +++ b/Socket/TCPSocketHandle.hh @@ -45,6 +45,8 @@ namespace senf { + /// \addtogroup concrete_protocol_group + /// @{ typedef MakeSocketPolicy< INet4AddressingPolicy, @@ -53,8 +55,10 @@ namespace senf { ReadablePolicy, WriteablePolicy, SocketBufferingPolicy - >::policy TCPv4Socket_Policy; + >::policy TCPv4Socket_Policy; ///< Socket Policy of the TCPv4 Protocol + /** \brief + */ class TCPv4SocketProtocol : public ConcreteSocketProtocol, public IPv4Protocol, @@ -66,12 +70,20 @@ namespace senf { /////////////////////////////////////////////////////////////////////////// // internal interface + ///\name Constructors + ///@{ + void init_client() const; void init_client(INet4Address const & address) const; void init_server() const; void init_server(INet4Address const & address, unsigned backlog=1) const; + ///@} + ///\name Abstract Interface Implementation + std::auto_ptr clone() const; + + ///@} }; typedef ProtocolClientSocketHandle TCPv4ClientSocketHandle; @@ -95,6 +107,8 @@ namespace senf { typedef ProtocolClientSocketHandle TCPv6ClientSocketHandle; typedef ProtocolServerSocketHandle TCPv6ServerSocketHandle; + /// @} + } ///////////////////////////////hh.e////////////////////////////////////////