#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 <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
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;
-
+
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"