X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FSocket%2FProtocols%2FUN%2FUNSocketProtocol.hh;h=d115e9a95c0b5609611898ecca8be5a8adf86df5;hb=99c145da3884f5c20a74337927ef2cbc073d80d7;hp=83bd3d108f61ebdfa991c7ecf783aad8903c77fa;hpb=601d1f509f5bb24df167a4dd5a20da67a0af9af8;p=senf.git diff --git a/senf/Socket/Protocols/UN/UNSocketProtocol.hh b/senf/Socket/Protocols/UN/UNSocketProtocol.hh index 83bd3d1..d115e9a 100644 --- a/senf/Socket/Protocols/UN/UNSocketProtocol.hh +++ b/senf/Socket/Protocols/UN/UNSocketProtocol.hh @@ -27,22 +27,19 @@ #define HH_SENF_Socket_Protocols_UN_UNSocketProtocol_ 1 // Custom includes -#include "../../../Socket/SocketProtocol.hh" -#include "UNAddressing.hh" -#include "../../../Socket/ClientSocketHandle.hh" -#include "../../../Socket/CommunicationPolicy.hh" +#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 - ///@{ + called from a destructor. */ + + ///\name Abstract Interface Implementation + //\{ + + unsigned available() const; + bool eof() const; + + //\} - 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"