X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FCommunicationPolicy.hh;h=47dc01f57943efd0c259d0681a7292002910baf7;hb=5443435c4c2b6e4386c5334b5b8358273f2bae93;hp=2f2911e39569a435ea889afd5462debb93660121;hpb=821f1bf89a0e3ef83469c56e4a9a21c39b956cb4;p=senf.git diff --git a/Socket/CommunicationPolicy.hh b/Socket/CommunicationPolicy.hh index 2f2911e..47dc01f 100644 --- a/Socket/CommunicationPolicy.hh +++ b/Socket/CommunicationPolicy.hh @@ -1,9 +1,9 @@ // $Id$ // // Copyright (C) 2006 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer Satelitenkommunikation (SatCom) -// Stefan Bund +// Fraunhofer Institute for Open Communication Systems (FOKUS) +// Competence Center NETwork research (NET), St. Augustin, GERMANY +// Stefan Bund // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -24,8 +24,8 @@ \brief CommunicationPolicy public header */ -#ifndef HH_CommunicationPolicy_ -#define HH_CommunicationPolicy_ 1 +#ifndef HH_SENF_Socket_CommunicationPolicy_ +#define HH_SENF_Socket_CommunicationPolicy_ 1 // Custom includes #include "SocketPolicy.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