#include <senf/Socket/SocketProtocol.hh>
//#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
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"