Socket: Move protocol into the socket body (as private base class) and allow non...
[senf.git] / Socket / Protocols / INet / UDPProtocol.hh
index a39f5fc..5bb7293 100644 (file)
@@ -1,9 +1,9 @@
 // $Id$
 //
 // Copyright (C) 2007
-// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
-// Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
-//     Stefan Bund <stefan.bund@fokus.fraunhofer.de>
+// Fraunhofer Institute for Open Communication Systems (FOKUS) 
+// Competence Center NETwork research (NET), St. Augustin, GERMANY 
+//     Stefan Bund <g0dil@berlios.de>
 //
 // 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
@@ -28,7 +28,7 @@
 #define HH_UDPProtocol_ 1
 
 // Custom includes
-#include "Socket/SocketProtocol.hh"
+#include "../../../Socket/SocketProtocol.hh"
 #include "INetAddressing.hh"
 
 //#include "UDPProtocol.mpp"
@@ -50,53 +50,6 @@ namespace senf {
         : public virtual SocketProtocol
     {
     public:
-        unsigned mcTTL() const;         ///< Return current multicast TTL
-        void mcTTL(unsigned value) const; ///< Set multicast TTL
-
-        bool mcLoop() const;            ///< Return current multicast loopback state
-        void mcLoop(bool value) const;  ///< Set multicast loopback state
-
-        void mcAddMembership(INet4SocketAddress const & mcAddr) const;
-                                        ///< Join multicast group
-                                        /**< This member will add \a mcAddr to the list of multicast
-                                             groups received. The group is joined on the default
-                                             interface.
-                                             \param[in] mcAddr address of group to join
-                                             \todo fix this as soon as we have a real address class
-                                                 (different from the sockaddress class */
-        void mcAddMembership(INet4SocketAddress const & mcAddr, INet4SocketAddress const & localAddr) const;
-                                        ///< join multicast group on a specific address/interface
-                                        /**< This member will add \a mcAddr to the list of multicast
-                                             groups received. The group is joined on the interface
-                                             with the given local address.
-                                             \param[in] mcAddr address of group to join
-                                             \param[in] localAddr address of interface to join on
-                                             \todo fix this as soon as we have a real address class
-                                                 (different from the sockaddress class */
-
-        void mcDropMembership(INet4SocketAddress const & mcAddr) const;
-                                        ///< Leave multicast group
-                                        /**< This member will remove \a mcAddr from the list of
-                                             multicast groups received. The group is left from the
-                                             default interface.
-                                             \param[in] mcAddr address of group to leave
-                                             \todo fix this as soon as we have a real address class
-                                                 (different from the sockaddress class */
-        void mcDropMembership(INet4SocketAddress const & mcAddr, INet4SocketAddress const & localAddr) const;
-                                        ///< leave multicast group on a specific address/interface
-                                        /**< This member will remove \a mcAddr from the list of
-                                             multicast groups received. The group is left from the
-                                             interface with the given local address.
-                                             \param[in] mcAddr address of group to leave
-                                             \param[in] localAddr address of interface to leave from
-                                             \todo fix this as soon as we have a real address class
-                                                 (different from the sockaddress class */
-
-        void mcIface(std::string const & iface = std::string()) const;
-                                        ///< set default multicast interface of the socket
-                                        /**< \param[in] iface name of interface */
-    
-
         ///\name Abstract Interface Implementation
         ///@{