X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FSocket%2FProtocols%2FUN%2FUNSocketProtocol.hh;h=1a842c5d196b665bacb2467814acfcaddefd5bd6;hb=e3179a2123ad51d0d9eb63834a581145c4f77c92;hp=da0cf6e506d976caf061f3fee33b063573131c7d;hpb=26610f603ebdd465307b9621f532c1fe19fd5571;p=senf.git diff --git a/senf/Socket/Protocols/UN/UNSocketProtocol.hh b/senf/Socket/Protocols/UN/UNSocketProtocol.hh index da0cf6e..1a842c5 100644 --- a/senf/Socket/Protocols/UN/UNSocketProtocol.hh +++ b/senf/Socket/Protocols/UN/UNSocketProtocol.hh @@ -28,21 +28,18 @@ // Custom includes #include -#include "UNAddressing.hh" -#include -#include //#include "UNSocketProtocol.mpp" -///////////////////////////////hh.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// namespace senf { /// \addtogroup protocol_facets_group - /// @{ + //\{ /** \brief Protocol facet providing Unix Domain Addressing related API - This protocol facet introduces all the socket api protocol members which are related to Unix + This protocol facet introduces all the socket api protocol members which are related to Unix Domain addressing. */ class UNSocketProtocol @@ -52,29 +49,32 @@ namespace senf { virtual void close(); ///< Close socket /**< This override will automatically \c shutdown() the socket whenever it is closed. - \throws senf::SystemException */ // + \throws senf::SystemException */ // virtual void terminate() const; ///< Forcibly close socket /**< This override will automatically \c shutdown() the socket whenever it is called. Additionally it will disable SO_LINGER to ensure, that v_terminate will not - block. Like the overriden method, this member will ignore - failures and will never throw. It therefore safe to be - called from a destructor. */ ///\name Abstract Interface Implementation - ///@{ - - unsigned available() const; - bool eof() const; - + block. Like the overridden method, this member will + ignore failures and will never throw. It therefore + safe to be called from a destructor. */ + + ///\name Abstract Interface Implementation + //\{ + + unsigned available() const; + bool eof() const; + + //\} + private: - void check_and_unlink() const; - + void check_and_unlink() const; + std::string path_; }; - ///@} } -///////////////////////////////hh.e//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// //#include "UNSocketProtocol.cci" //#include "UNSocketProtocol.ct" //#include "UNSocketProtocol.cti"