X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FCommunicationPolicy.hh;h=39c0fc67916105bfcecfd003ba78145fae3e31bb;hb=c778649a04a9835ecaad9108b9613832d76c2d15;hp=588d7354eda69f70d8502826eed8ef73848bac51;hpb=14daa84b7c821626ae098bedd93ef07d98bf3a40;p=senf.git diff --git a/Socket/CommunicationPolicy.hh b/Socket/CommunicationPolicy.hh index 588d735..39c0fc6 100644 --- a/Socket/CommunicationPolicy.hh +++ b/Socket/CommunicationPolicy.hh @@ -42,7 +42,7 @@ namespace senf { /// \addtogroup policy_impl_group /// @{ - template class ServerSocketHandle; + template class ServerSocketHandle; /** \brief CommunicationPolicy for connected sockets @@ -52,26 +52,26 @@ namespace senf { struct ConnectedCommunicationPolicy : public CommunicationPolicyBase { # ifndef DOXYGEN - template - static void listen(ServerSocketHandle handle, unsigned backlog, - typename IfAddressingPolicyIsNot::type * = 0); + template + static void listen(ServerSocketHandle handle, unsigned backlog, + typename IfAddressingPolicyIsNot::type * = 0); # else - template - static void listen(ServerSocketHandle handle, unsigned backlog); + template + static void listen(ServerSocketHandle handle, unsigned backlog); ///< Enable establishing new connections on the socket /**< \param[in] handle socket handle to enable reception on \param[in] backlog size of backlog queue */ # endif # ifndef DOXYGEN - template - static int accept(ServerSocketHandle handle, - typename ServerSocketHandle::Address & address, - typename IfAddressingPolicyIsNot::type * = 0); + template + static int accept(ServerSocketHandle handle, + typename ServerSocketHandle::Address & address, + typename IfAddressingPolicyIsNot::type * = 0); # else - template - static int accept(ServerSocketHandle handle, - typename ServerSocketHandle::Address & address); + template + static int accept(ServerSocketHandle handle, + typename ServerSocketHandle::Address & address); ///< accept a new connection on the socket. /**< The accept() member will return a new client file descriptor. This file descriptor will be used by the