X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FSocketSource.hh;h=44368fb528914cc0d648a9bd2d606a80226dd887;hb=92f8630b75f3ef50e73c48cde58645dcd1534e27;hp=49c863ff45e7c902b0ab3dfb7ef78908243fee3d;hpb=412024ed31a4ab4eaea7a4165a434f8efebee325;p=senf.git diff --git a/PPI/SocketSource.hh b/PPI/SocketSource.hh index 49c863f..44368fb 100644 --- a/PPI/SocketSource.hh +++ b/PPI/SocketSource.hh @@ -91,11 +91,12 @@ namespace module { { public: typedef unspecified_type Handle; // type of handle requested + typedef unspecified_type PacketType // type of packet returned SomeReader(); // EITHER default constructible SomeReader(SomeReader const & other); // OR copy constructible - Packet operator()(Handle handle); // extraction function + PacketType operator()(Handle handle); // extraction function }; \endcode Whenever the FileHandle object is ready for reading, the \a Reader's \c operator() is called