X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FProtocolServerSocketHandle.mpp;h=c17e5ebd9fd1daa432746d493d420a081b278abe;hb=532240d72e09e19e57fac9bb55c2560b9c9e5b97;hp=029a99505ce18275fc9789251c6afefd7006bb1c;hpb=c52cd7d87dbb525c1267aad27391b8b7365dbb57;p=senf.git diff --git a/Socket/ProtocolServerSocketHandle.mpp b/Socket/ProtocolServerSocketHandle.mpp index 029a995..c17e5eb 100644 --- a/Socket/ProtocolServerSocketHandle.mpp +++ b/Socket/ProtocolServerSocketHandle.mpp @@ -1,9 +1,9 @@ // $Id$ // -// Copyright (C) 2006 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer Satelitenkommunikation (SatCom) -// Stefan Bund +// Copyright (C) 2006 +// 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 @@ -20,8 +20,12 @@ // Free Software Foundation, Inc., // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +/** \file + \brief ssenf::ProtocolServerSocketHandle Boost.Preprocessor external iteration include + */ + #if !BOOST_PP_IS_ITERATING -#ifndef MPP_PSSH__ProtocolServerSocketHandle_ +#ifndef MPP_SENF_Socket_ProtocolServerSocketHandle_ // Custom includes #include @@ -45,24 +49,24 @@ ////// #if BOOST_PP_ITERATION_FLAGS()==1 /////////////////////////////////////////////////////////////////////////// -// satcom::lib::ProtocolServerSocketHandle:: +// senf::ProtocolServerSocketHandle:: // ProtocolServerSocketHandle (constructor) declaration template < mpp_PSSH_TemplateParameters() > -ProtocolServerSocketHandle( mpp_PSSH_MethodParameters() ); +explicit ProtocolServerSocketHandle( mpp_PSSH_MethodParameters() ); ////// #elif BOOST_PP_ITERATION_FLAGS()==2 /////////////////////////////////////////////////////////////////////////// -// satcom::lib::ProtocolServerSocketHandle:: +// senf::ProtocolServerSocketHandle:: // ProtocolServerSocketHandle (constructor) implementation template template < mpp_PSSH_TemplateParameters() > -prefix_ satcom::lib::ProtocolServerSocketHandle:: +prefix_ senf::ProtocolServerSocketHandle:: ProtocolServerSocketHandle( mpp_PSSH_MethodParameters() ) : ServerSocketHandle( - std::auto_ptr(new SocketProtocol())) + std::auto_ptr(new ProtocolSocketBody(true))) { this->protocol().init_server( mpp_PSSH_CallParameters() ); } @@ -71,7 +75,7 @@ ProtocolServerSocketHandle( mpp_PSSH_MethodParameters() ) #endif #endif #if !BOOST_PP_IS_ITERATING -#ifdef MPP_PSSH__ProtocolServerSocketHandle_ +#ifdef MPP_SENF_Socket_ProtocolServerSocketHandle_ /////////////////////////////////////////////////////////////////////////// // Undefine local Macros @@ -82,12 +86,15 @@ ProtocolServerSocketHandle( mpp_PSSH_MethodParameters() ) //////////////////////////////mpp_PSSH_.e//////////////////////////////////////// #else -#define MPP_PSSH__ProtocolServerSocketHandle_ 1 +#define MPP_SENF_Socket_ProtocolServerSocketHandle_ 1 #endif #endif // Local Variables: // mode: c++ -// c-file-style: "satcom" +// fill-column: 100 +// c-file-style: "senf" +// indent-tabs-mode: nil +// ispell-local-dictionary: "american" // End: