- stdFile
File stdFile;
Undocumented in source.
- closeEvent
Event closeEvent;
Undocumented in source.
- wantStop
bool wantStop;
Undocumented in source.
- stop
void stop()
Undocumented in source. Be warned that the author may not have intended to support it.
- run
void run()
Undocumented in source. Be warned that the author may not have intended to support it.
- isReading
bool isReading()
Undocumented in source. Be warned that the author may not have intended to support it.
A file reader implementation using the POSIX select API using events. Reads as much content as possible when new data is available at once, making the file reading operation much more efficient when large chunks of data are being transmitted.
Ideally would want to implement Epoll and Kqueue implementations of this reader instead, to support much longer timeouts with proper stop methods.