X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FProtocols%2FUN%2FUNDatagramSocketHandle.hh;h=92c2cd6c73ec1555220a6951af526cec218ea2b2;hb=6f50bf49e282c0528f51faa0a245bbfa2b867399;hp=d8df9b836cef4ee474ef22e37584107c7269c95a;hpb=b7cefad1cc5f15b2af6968aa27fa4bc979bda2f3;p=senf.git diff --git a/Socket/Protocols/UN/UNDatagramSocketHandle.hh b/Socket/Protocols/UN/UNDatagramSocketHandle.hh index d8df9b8..92c2cd6 100644 --- a/Socket/Protocols/UN/UNDatagramSocketHandle.hh +++ b/Socket/Protocols/UN/UNDatagramSocketHandle.hh @@ -1,7 +1,9 @@ +// $Id$ +// // Copyright (C) 2007 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum NETwork research (NET) -// David Wagner +// Fraunhofer Institute for Open Communication Systems (FOKUS) +// Competence Center NETwork research (NET), St. Augustin, GERMANY +// David Wagner // // 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 @@ -31,11 +33,8 @@ #include "../../../Socket/FramingPolicy.hh" #include "../../../Socket/CommunicationPolicy.hh" #include "../../../Socket/ReadWritePolicy.hh" -#include "../../../Socket/BufferingPolicy.hh" #include "../../../Socket/ProtocolClientSocketHandle.hh" - - //#include "UNDatagramSocketHandle.mpp" ///////////////////////////////hh.p//////////////////////////////////////// @@ -49,14 +48,13 @@ namespace senf { DatagramFramingPolicy, UnconnectedCommunicationPolicy, ReadablePolicy, - WriteablePolicy, - SocketBufferingPolicy + WriteablePolicy >::policy UNDatagramSocket_Policy; ///< Socket Policy of the Unix Domain Datagram Protocol /** \brief Unix Domain Datagram Socket Protocol \par Socket Handle typedefs: - \ref UNDatagramSocketHandle (ProtocolClientSocketHandle) + \ref UNDatagramClientSocketHandle (ProtocolClientSocketHandle) \par Policy Interface: (to be checked) ClientSocketHandle::read(), ClientSocketHandle::readfrom(), @@ -66,14 +64,15 @@ namespace senf { \par Address Type: UNAddress - UNDatagramSocketProtocol provides an datagram protocol socket based on the unix domain addressing. - - This class is utilized as the protocol class of the ProtocolClientSocketHandle - via the Socket Handle typedefs above. + UNDatagramSocketProtocol provides an datagram protocol socket based on the unix domain + addressing. + This class is utilized as the protocol class of the ProtocolClientSocketHandle via the + Socket Handle typedefs above. */ class UNDatagramSocketProtocol - : public ConcreteSocketProtocol, + : public ConcreteSocketProtocol, public UNProtocol, public BSDSocketProtocol, public AddressableBSDSocketProtocol @@ -89,29 +88,22 @@ namespace senf { /**< \note This member is implicitly called from the ProtocolClientSocketHandle::ProtocolClientSocketHandle() constructor */ - void init_client(UNSocketAddress const & address) const; + void init_client(UNSocketAddress const & address) const; ///< Create client socket and bind /**< Creates a new client socket and bind to the given address. - \param[in] local address to bind to */ + \param[in] address local address to bind to */ /**< \note This member is implicitly called from the ProtocolClientSocketHandle::ProtocolClientSocketHandle() constructor */ ///@} - ///\name Abstract Interface Implementation - - std::auto_ptr clone() const; - - ///@} }; typedef ProtocolClientSocketHandle UNDatagramClientSocketHandle; - typedef MakeSocketPolicy< - UNDatagramSocket_Policy, - UNAddressingPolicy - >::policy UNDatagramSocket_Policy; + ///@} + } ///////////////////////////////hh.e//////////////////////////////////////// //#include "UNDatagramSocketHandle.cci"