Go to the documentation of this file.
41 DL ((
REACT,
"Clearing fd=%d\n", fd_));
44 DL ((
REACT,
"Not set! - ignoring.\n"));
49 if (FD_ISSET (fd_,
this)) {
50 DL ((
REACT,
"Woop - an error! FD_CLR failed!\n"));
59 DL ((
REACT,
"fd=%d found and erased\n", fd_));
63 DL ((
REACT,
"fd=%d not found in m_actfds list!\n", fd_));
92 ::memset(
this, 0,
sizeof (fd_set));
118 std::ostringstream report;
120 report <<
" enabled=" <<
numSet ();
123 if (this->fd_count) {
126 for (
int i=0; i < this->fd_count; i++) {
127 report <<
" " << this->fd_array[i];
135 report <<
" " << (
u_int)*iter;
141 return (report.str ());
Socket & ends(Socket &os_)
ends manipulator.
bool isSet(handler_t fd_)
Test whether fd's flag is on.
int maxInSet()
Find out the highest file descriptor in the set.
void sync()
Sync internals after used by select(3C)
void reset()
Reset every bit in the set (OFF).
std::string dump_c_str()
Return object state dump as an ASCII string.
@ REACT
Class Reactor/PrioriyQueue messages
bool setFd(handler_t fd_)
Set flag (ON) for the argument fd.
std::list< u_int >::iterator ActiveFDs_Iter
std::list< u_int > m_actfds
int numSet()
Determine how many bits are set (ON) in the set.
bool clear(handler_t fd_)
Clear flag (OFF) for the argument fd.