X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FProtocols%2FUN%2FConnectedUNDatagramSocketHandle.hh;h=b25992556bfda67526c3eb7247dae955bca4da43;hb=8475937b6551f73a1cddd8fa830b7128d4c8ebf7;hp=9436a0e7d7c6776d6bb59c93bf4f574977402ac7;hpb=58e527462abb46e321c94fda65f758b67ac3aef2;p=senf.git diff --git a/Socket/Protocols/UN/ConnectedUNDatagramSocketHandle.hh b/Socket/Protocols/UN/ConnectedUNDatagramSocketHandle.hh index 9436a0e..b259925 100644 --- a/Socket/Protocols/UN/ConnectedUNDatagramSocketHandle.hh +++ b/Socket/Protocols/UN/ConnectedUNDatagramSocketHandle.hh @@ -1,8 +1,8 @@ // $Id$ // -// Copyright (C) 2007 -// Fraunhofer Institute for Open Communication Systems (FOKUS) -// Kompetenzzentrum NETwork research (NET) +// Copyright (C) 2007 +// 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 @@ -28,12 +28,11 @@ // Custom includes #include "UNAddressing.hh" -#include "UNProtocol.hh" +#include "UNSocketProtocol.hh" #include "../../../Socket/Protocols/BSDSocketProtocol.hh" #include "../../../Socket/FramingPolicy.hh" #include "../../../Socket/CommunicationPolicy.hh" #include "../../../Socket/ReadWritePolicy.hh" -#include "../../../Socket/BufferingPolicy.hh" #include "../../../Socket/ProtocolClientSocketHandle.hh" //#include "UNDatagramSocketHandle.mpp" @@ -41,18 +40,17 @@ namespace senf { - /// \addtogroup concrete_protocol_group - /// @{ - typedef MakeSocketPolicy< UNAddressingPolicy, DatagramFramingPolicy, ConnectedCommunicationPolicy, ReadablePolicy, - WriteablePolicy, - SocketBufferingPolicy + WriteablePolicy >::policy ConnectedUNDatagramSocket_Policy; ///< Socket Policy of the Unix Domain Datagram Protocol (connected) + /// \ingroup concrete_protocol_group + /// \{ + /** \brief Unix Domain Datagram Socket Protocol (connected) \par Socket Handle typedefs: @@ -60,11 +58,10 @@ namespace senf { \par Policy Interface: (to be checked) ClientSocketHandle::read(), ClientSocketHandle::readfrom(), - ClientSocketHandle::writeto(), ClientSocketHandle::bind(), ClientSocketHandle::local(), - ClientSocketHandle::rcvbuf(), ClientSocketHandle::sndbuf() + ClientSocketHandle::writeto(), ClientSocketHandle::bind(), ClientSocketHandle::local() \par Address Type: - UNAddress + UNSocketAddress ConnectedUNDatagramSocketProtocol provides an datagram protocol socket based on the unix domain addressing which operates in a connected mode. @@ -73,11 +70,11 @@ namespace senf { */ class ConnectedUNDatagramSocketProtocol - : public ConcreteSocketProtocol, - public UNProtocol, + : public ConcreteSocketProtocol, + public UNSocketProtocol, public BSDSocketProtocol, - public AddressableBSDSocketProtocol, - public senf::pool_alloc_mixin + public AddressableBSDSocketProtocol { public: /////////////////////////////////////////////////////////////////////////// @@ -100,15 +97,27 @@ namespace senf { constructor */ ///@} - ///\name Abstract Interface Implementation - - std::auto_ptr clone() const; - - ///@} }; typedef ProtocolClientSocketHandle ConnectedUNDatagramClientSocketHandle; + ///\} + } -#endif /*CONNECTEDUNDATAGRAMSOCKETHANDLE_HH_*/ +///////////////////////////////hh.e//////////////////////////////////////// +//#include "ConnectedUNDatagramSocketHandle.cci" +//#include "ConnectedUNDatagramSocketHandle.ct" +//#include "ConnectedUNDatagramSocketHandle.cti" +#endif + + +// Local Variables: +// mode: c++ +// fill-column: 100 +// comment-column: 40 +// c-file-style: "senf" +// indent-tabs-mode: nil +// ispell-local-dictionary: "american" +// compile-command: "scons -u test" +// End: