47 for (std::vector<monitoredDescriptor*>::iterator i =
descriptors_.begin();
65 ERROR(
"Descriptor already monitored by some reader");
93 ERROR(
"Descriptor was not monitored");
97 for (std::vector<monitoredDescriptor*>::iterator i =
descriptors_.begin();
99 if ((*i)->descriptor_->getDescriptorNumber() ==
127 std::vector<monitoredDescriptor*> checkedDescriptors =
descriptors_;
133 DEBUG(
"Select returned!");
144 for (std::vector<monitoredDescriptor*>::iterator i =
145 checkedDescriptors.begin();
146 i != checkedDescriptors.end(); ++i) {
147 if (FD_ISSET((*i)->descriptor_->getDescriptorNumber(),
150 DEBUG(
"Notifying class...");
151 ((*i)->reader_)->dataAvailable(*((*i)->descriptor_));