twisted.internet.test.test_tcp._ExhaustsFileDescriptors(object) class documentationtwisted.internet.test.test_tcp
(View In Hierarchy)
Implements interfaces: twisted.internet.test.test_tcp._IExhaustsFileDescriptors
A class that triggers EMFILE by creating as many file 
descriptors as necessary.
| Instance Variable | fileDescriptorFactory | A factory that creates a new file descriptor. (type: A callablethat accepts no arguments and returns an integral file descriptor, suitable
for passing toos.close.) | 
| Method | exhaust | Open file descriptors until EMFILEis reached. | 
| Method | release | Release all file descriptors opened by exhaust. | 
| Method | count | Return the number of opened file descriptors. | 
Return the number of opened file descriptors.
| Returns | The number of opened file descriptors; this will be zero if this instance 
has not opened any. (type: int) | |