X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FProtocolClientSocketHandle.mpp;h=b52ade7de15ae901cb3a91306a29b6aee79558a8;hb=b89e3166f7680755683dccee5e48cb3a820185c0;hp=74231e6eaa9be5c070a7738bf66d7fa61052f903;hpb=d0006132bfcb3ab442cf66b600ed3fad36f1ac2c;p=senf.git diff --git a/Socket/ProtocolClientSocketHandle.mpp b/Socket/ProtocolClientSocketHandle.mpp index 74231e6..b52ade7 100644 --- a/Socket/ProtocolClientSocketHandle.mpp +++ b/Socket/ProtocolClientSocketHandle.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 @@ -33,7 +33,7 @@ #include // ///////////////////////////mpp.p//////////////////////////////////////// -#endif // ///////////////////////////////////////////////////////////////// +#elif BOOST_PP_IS_ITERATING // //////////////////////////////////////////// // //////////////////////////////////////////////////////////////////////// // Local Macros @@ -43,14 +43,13 @@ #define mpp_CallParameters() BOOST_PP_ENUM_PARAMS(BOOST_PP_ITERATION(), a ) // //////////////////////////////////////////////////////////////////////// -#if BOOST_PP_IS_ITERATING // ////////////////////////////////////////////// #if BOOST_PP_ITERATION_FLAGS()==1 // ////////////////////////////////////// // //////////////////////////////////////////////////////////////////////// // senf::ProtocolClientSocketHandle:: // ProtocolClientSocketHandle (constructor) declaration template < mpp_TemplateParameters() > -ProtocolClientSocketHandle( mpp_MethodParameters() ); +explicit ProtocolClientSocketHandle( mpp_MethodParameters() ); // //////////////////////////////////////////////////////////////////////// #elif BOOST_PP_ITERATION_FLAGS()==2 // //////////////////////////////////// @@ -63,14 +62,13 @@ template < mpp_TemplateParameters() > prefix_ senf::ProtocolClientSocketHandle:: ProtocolClientSocketHandle( mpp_MethodParameters() ) : ClientSocketHandle( - std::auto_ptr(new SocketProtocol())) + std::auto_ptr(new ProtocolSocketBody(false))) { this->protocol().init_client( mpp_CallParameters() ); } // //////////////////////////////////////////////////////////////////////// #endif // ///////////////////////////////////////////////////////////////// -#endif // ///////////////////////////////////////////////////////////////// // //////////////////////////////////////////////////////////////////////// // Undefine local Macros @@ -80,10 +78,16 @@ ProtocolClientSocketHandle( mpp_MethodParameters() ) #undef mpp_CallParameters // //////////////////////////////////////////////////////////////////////// +#endif // ///////////////////////////////////////////////////////////////// // ///////////////////////////mpp.e//////////////////////////////////////// // Local Variables: // mode: c++ +// fill-column: 100 // c-file-style: "senf" +// indent-tabs-mode: nil +// ispell-local-dictionary: "american" +// compile-command: "scons -u test" +// comment-column: 40 // End: