#include <BufferedFileFactory.h>
Public Methods | |
BufferedFileFactory () | |
BufferedFile * | getNewBufferedFile (int fdesc) |
int | process (int microTime) |
void | closeFile (BufferedFile *f) |
virtual | ~BufferedFileFactory () |
void | setBufferedFileRead (BufferedFile *bf, bool mode) |
void | setBufferedFileWrite (BufferedFile *bf, bool mode) |
Private Attributes | |
BuffVec | descriptorToFile |
fd_set | readSet |
fd_set | writeSet |
timeval | tv |
int | maxFd |
|
Definition at line 4 of file BufferedFileFactory.C. |
|
Definition at line 116 of file BufferedFileFactory.C. References descriptorToFile. |
|
Definition at line 93 of file BufferedFileFactory.C. References descriptorToFile, BufferedFile::getFileHandle(), maxFd, readSet, and writeSet. |
|
Definition at line 12 of file BufferedFileFactory.C. References descriptorToFile, maxFd, readSet, BufferedFile::setBufferedFileFactory(), and writeSet. Referenced by ConnectionFactory::acceptAndGetFile(), ConnectionFactory::init(), and main(). |
|
Definition at line 25 of file BufferedFileFactory.C. References descriptorToFile, BufferedFile::doesRead(), BufferedFile::doesWrite(), BufferedFile::getFileHandle(), BufferedFile::hasBeenRead(), BufferedFile::hasBeenWritten(), maxFd, BufferedFile::readReady(), BufferedFile::setReadReady(), BufferedFile::setWriteReady(), tv, write(), and BufferedFile::writeReady(). Referenced by main(), and Connector::process(). |
|
Definition at line 126 of file BufferedFileFactory.C. References BufferedFile::getFileHandle(), and readSet. |
|
Definition at line 141 of file BufferedFileFactory.C. References BufferedFile::getFileHandle(), and writeSet. |
|
Definition at line 31 of file BufferedFileFactory.h. Referenced by closeFile(), getNewBufferedFile(), process(), and ~BufferedFileFactory(). |
|
Definition at line 35 of file BufferedFileFactory.h. Referenced by BufferedFileFactory(), closeFile(), getNewBufferedFile(), and process(). |
|
Definition at line 32 of file BufferedFileFactory.h. Referenced by BufferedFileFactory(), closeFile(), getNewBufferedFile(), and setBufferedFileRead(). |
|
Definition at line 34 of file BufferedFileFactory.h. Referenced by process(). |
|
Definition at line 33 of file BufferedFileFactory.h. Referenced by BufferedFileFactory(), closeFile(), getNewBufferedFile(), and setBufferedFileWrite(). |