Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

BufferedFileFactory Class Reference

#include <BufferedFileFactory.h>

List of all members.

Public Methods

 BufferedFileFactory ()
BufferedFilegetNewBufferedFile (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


Constructor & Destructor Documentation

BufferedFileFactory::BufferedFileFactory  
 

Definition at line 4 of file BufferedFileFactory.C.

References maxFd, readSet, and writeSet.

BufferedFileFactory::~BufferedFileFactory   [virtual]
 

Definition at line 116 of file BufferedFileFactory.C.

References descriptorToFile.


Member Function Documentation

void BufferedFileFactory::closeFile BufferedFile   f
 

Definition at line 93 of file BufferedFileFactory.C.

References descriptorToFile, BufferedFile::getFileHandle(), maxFd, readSet, and writeSet.

BufferedFile * BufferedFileFactory::getNewBufferedFile int    fdesc
 

Definition at line 12 of file BufferedFileFactory.C.

References descriptorToFile, maxFd, readSet, BufferedFile::setBufferedFileFactory(), and writeSet.

Referenced by ConnectionFactory::acceptAndGetFile(), ConnectionFactory::init(), and main().

int BufferedFileFactory::process int    microTime
 

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().

void BufferedFileFactory::setBufferedFileRead BufferedFile   bf,
bool    mode
 

Definition at line 126 of file BufferedFileFactory.C.

References BufferedFile::getFileHandle(), and readSet.

void BufferedFileFactory::setBufferedFileWrite BufferedFile   bf,
bool    mode
 

Definition at line 141 of file BufferedFileFactory.C.

References BufferedFile::getFileHandle(), and writeSet.


Member Data Documentation

BuffVec BufferedFileFactory::descriptorToFile [private]
 

Definition at line 31 of file BufferedFileFactory.h.

Referenced by closeFile(), getNewBufferedFile(), process(), and ~BufferedFileFactory().

int BufferedFileFactory::maxFd [private]
 

Definition at line 35 of file BufferedFileFactory.h.

Referenced by BufferedFileFactory(), closeFile(), getNewBufferedFile(), and process().

fd_set BufferedFileFactory::readSet [private]
 

Definition at line 32 of file BufferedFileFactory.h.

Referenced by BufferedFileFactory(), closeFile(), getNewBufferedFile(), and setBufferedFileRead().

struct timeval BufferedFileFactory::tv [private]
 

Definition at line 34 of file BufferedFileFactory.h.

Referenced by process().

fd_set BufferedFileFactory::writeSet [private]
 

Definition at line 33 of file BufferedFileFactory.h.

Referenced by BufferedFileFactory(), closeFile(), getNewBufferedFile(), and setBufferedFileWrite().


The documentation for this class was generated from the following files:
Generated on Tue Dec 17 21:14:36 2002 for AUSS_Connector by doxygen1.2.18