X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FProtocolServerSocketHandle.mpp;h=c17e5ebd9fd1daa432746d493d420a081b278abe;hb=fd3a0e8ac95d1158e9ea661ddf9187b67c70169f;hp=40a8e565bceeec234bba59cc925c5153fef58d4e;hpb=aec1302f91b51edb58f8a97985ab2e0aa9c8db66;p=senf.git diff --git a/Socket/ProtocolServerSocketHandle.mpp b/Socket/ProtocolServerSocketHandle.mpp index 40a8e56..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 @@ -25,7 +25,7 @@ */ #if !BOOST_PP_IS_ITERATING -#ifndef MPP_PSSH__ProtocolServerSocketHandle_ +#ifndef MPP_SENF_Socket_ProtocolServerSocketHandle_ // Custom includes #include @@ -53,7 +53,7 @@ // ProtocolServerSocketHandle (constructor) declaration template < mpp_PSSH_TemplateParameters() > -ProtocolServerSocketHandle( mpp_PSSH_MethodParameters() ); +explicit ProtocolServerSocketHandle( mpp_PSSH_MethodParameters() ); ////// #elif BOOST_PP_ITERATION_FLAGS()==2 @@ -66,7 +66,7 @@ template < mpp_PSSH_TemplateParameters() > 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() ); } @@ -75,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 @@ -86,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++ +// fill-column: 100 // c-file-style: "senf" +// indent-tabs-mode: nil +// ispell-local-dictionary: "american" // End: