#include <boost/scoped_ptr.hpp>
#include "FileHandle.hh"
-///////////////////////////////ih.p////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
namespace senf {
///< Value assigment
/**< This operator will assign the string from any
arbitrary type. It will use boost::lexical_cast to
- convert the argument to its string representation.
+ convert the argument to its string representation.
If the string is non-empty, an additional separating
comma is added to the string. */
: public FileBody
{
public:
- ///////////////////////////////////////////////////////////////////////////
+ //-/////////////////////////////////////////////////////////////////////////////////////////
// Types
typedef boost::intrusive_ptr<SocketBody> ptr;
- ///////////////////////////////////////////////////////////////////////////
+ //-/////////////////////////////////////////////////////////////////////////////////////////
///\name Structors and default members
- ///@{
+ //\{
SocketBody(bool isServer); /**< \param isServer \c true, if this socket is a server
socket, false otherwise */
// no copy
// no conversion constructors
- ///@}
- ///////////////////////////////////////////////////////////////////////////
+ //\}
+ //-/////////////////////////////////////////////////////////////////////////////////////////
SocketProtocol & protocol() const; ///< Access the protocol instance
};
template <class SProtocol>
- class ProtocolSocketBody
- : public SocketBody,
+ class ProtocolSocketBody
+ : public SocketBody,
private SProtocol,
public senf::pool_alloc_mixin< ProtocolSocketBody<SProtocol> >
{
/**< \param isServer \c true, if this socket is a server
socket, false otherwise
\param fd socket file descriptor */
-
+
private:
virtual SocketProtocol const & v_protocol() const;
virtual std::string v_protocolName() const;
}
-///////////////////////////////ih.e////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
#endif
\f