Go to the documentation of this file. 1 #ifndef __JNET__JSELECT__
2 #define __JNET__JSELECT__
5 #include <sys/select.h>
23 namespace JPP {
using namespace JNET; }
53 static_cast<JSelectReader&>(*this).reset();
54 static_cast<JSelectWriter&>(*this).reset();
79 static_cast<void*>(&timeout)));
Auxiliary class for time values.
bool operator()(JTimeval timeout)
Select call.
bool operator()()
Infinite wait select call.
JSelect()
Default constructor.
Interprocess communication.
Exception for select call.
Wrapper class for select call.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
int getNumberOfFileDescriptors() const
Get number of file descriptors.
JFileDescriptorMask readerMask
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
int operator()(JTimeval *timeout)
Infinite wait select call.
Wrapper class for select call.
const timeval * get() const
Get pointer to time value.
JFileDescriptorMask writerMask
Wrapper class for select call.
void reset(const bool option=true)
Reset mask.