1 #ifndef __JNET__JSELECT__ 
    2 #define __JNET__JSELECT__ 
    5 #include <sys/select.h> 
   23 namespace JPP { 
using namespace JNET; }
 
   79           static_cast<void*>(&timeout)));
 
Wrapper class for select call. 
 
JFileDescriptorMask writerMask
 
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message. 
 
bool operator()()
Infinite wait select call. 
 
Exception for select call. 
 
Auxiliary class for time values. 
 
void reset(const bool option=true)
Reset mask. 
 
int operator()(JTimeval *timeout)
Infinite wait select call. 
 
Wrapper class for select call. 
 
int getNumberOfFileDescriptors() const 
Get number of file descriptors. 
 
bool operator()(JTimeval timeout)
Select call. 
 
const timeval * get() const 
Get pointer to time value. 
 
JFileDescriptorMask readerMask
 
JSelect()
Default constructor. 
 
Wrapper class for select call.