Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

FileDescPool Class Reference

#include <FileDescPool.h>

List of all members.

Public Member Functions

 FileDescPool (string filepath, int openFlags, int minFDs, int maxFDs) throw (std::exception, SmIllegalParameterValueException, SmFilesystemException)
 FileDescPool (string filepath, int openFlags, mode_t permissions, int minFDs, int maxFDs) throw (std::exception, SmIllegalParameterValueException, SmFilesystemException)
virtual ~FileDescPool ()
unsigned int getMinFDs () throw (std::exception)
unsigned int getMaxFDs () throw (std::exception)
unsigned int getTotalFDsInPool () throw (std::exception)
unsigned int getNumLeasedFDs () throw (std::exception)
void setFDLimits (unsigned int newMinFDs, unsigned int newMaxFDs) throw (std::exception)
int acquireFdBlocking () throw (std::exception, SmClosedException)
int acquireFdNonBlocking () throw (std::exception)
void releaseFd (int fd) throw (std::exception)
void closeAll () throw (std::exception)


Constructor & Destructor Documentation

FileDescPool::FileDescPool string  filepath,
int  openFlags,
int  minFDs,
int  maxFDs
throw (std::exception, SmIllegalParameterValueException, SmFilesystemException)
 

FileDescPool::FileDescPool string  filepath,
int  openFlags,
mode_t  permissions,
int  minFDs,
int  maxFDs
throw (std::exception, SmIllegalParameterValueException, SmFilesystemException)
 

FileDescPool::~FileDescPool  )  [virtual]
 


Member Function Documentation

int FileDescPool::acquireFdBlocking  )  throw (std::exception, SmClosedException)
 

int FileDescPool::acquireFdNonBlocking  )  throw (std::exception)
 

void FileDescPool::closeAll  )  throw (std::exception)
 

unsigned int FileDescPool::getMaxFDs  )  throw (std::exception)
 

unsigned int FileDescPool::getMinFDs  )  throw (std::exception)
 

unsigned int FileDescPool::getNumLeasedFDs  )  throw (std::exception)
 

unsigned int FileDescPool::getTotalFDsInPool  )  throw (std::exception)
 

void FileDescPool::releaseFd int  fd  )  throw (std::exception)
 

void FileDescPool::setFDLimits unsigned int  newMinFDs,
unsigned int  newMaxFDs
throw (std::exception)
 


The documentation for this class was generated from the following files:
Generated on Fri Nov 12 15:15:23 2004 for Borealis by doxygen 1.3.8