git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1620
270642c3-0616-0410-b53a-bc976706d245
event_.set(handle_, IOEvent::Read);
}
+template <class Reader>
+prefix_ bool senf::ppi::module::ActiveSocketSource<Reader>::enabled()
+{
+ return event_.enabled();
+}
+
+template <class Reader>
+prefix_ void senf::ppi::module::ActiveSocketSource<Reader>::enabled( bool state)
+{
+ event_.enabled( state);
+}
+
///////////////////////////////cti.e///////////////////////////////////////
#undef prefix_
/**< Assigning an empty or in-valid() handle will disable
the module until a new, valid handle is assigned. */
+ bool enabled(); ///< Check is the IOEvent of the Source is enabled
+ void enabled( bool state); ///< Change the state of the Source's IOEvent
+
private:
void read();