X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FFileHandle.hh;h=8afbd486fb1af09a0b2ded49a62998cc75b3caf8;hb=1ad3873b372da6187b1fbc645bf276287d2efb54;hp=ea9dc53b4f7f5631d3ff1d960c25a7012e25d90e;hpb=f00a102138bcbabdaab1caab1db6a8876463dedc;p=senf.git
diff --git a/Socket/FileHandle.hh b/Socket/FileHandle.hh
index ea9dc53..8afbd48 100644
--- a/Socket/FileHandle.hh
+++ b/Socket/FileHandle.hh
@@ -26,7 +26,19 @@
/** \defgroup handle_group The Handle Hierarchy
- \image html FhHierarchy.png
+ \htmlonly
+
+
+
+
+ \endhtmlonly
The senf::FileHandle class is the base of a hierarchy of socket handle classes (realized as
templates). These classes provide an interface to the complete socket API. While going down the
@@ -170,6 +182,8 @@ namespace senf {
\c new. To configure the FileHandle behavior, A derived class
may provide any class derived from FileBody here. */
+ explicit FileHandle(FileBody::ptr body);
+
FileBody & body(); ///< Access body
FileBody const & body() const; ///< Access body in const context
static FileBody & body(FileHandle & handle); ///< Access body of another FileHandle instance
@@ -180,6 +194,8 @@ namespace senf {
private:
FileBody::ptr body_;
+
+ friend class FileBody;
};
/** \brief Adapt FileHandle to senf::Scheduler