twisted.pair.test.test_tuntap.ReactorFDSet(object) class documentationtwisted.pair.test.test_tuntap
(View In Hierarchy)
Known subclasses: twisted.pair.test.test_tuntap.FSSetClock
Implements interfaces: twisted.internet.interfaces.IReactorFDSet
An implementation of IReactorFDSet
which only keeps track of which descriptors have been registered for 
reading and writing.
This implementation isn't actually capable of determining readability or writeability and generates no events for the descriptors registered with it.
| Method | __init__ | Undocumented | 
| Method | removeReader | Removes an object previously added with addReader. | 
| Method | removeWriter | Removes an object previously added with addWriter. | 
| Method | getReaders | Return the list of file descriptors currently monitored for input events by the reactor. | 
| Method | getWriters | Return the list file descriptors currently monitored for output events by the reactor. | 
| Method | removeAll | Remove all readers and writers. | 
| Instance Variable | _readers | A setofIReadDescriptorproviders which the reactor is supposedly monitoring for read events. | 
| Instance Variable | _writers | A setofIWriteDescriptorproviders which the reactor is supposedly monitoring for write events. | 
set
of IReadDescriptor
providers which the reactor is supposedly monitoring for read events.
  set
of IWriteDescriptor
providers which the reactor is supposedly monitoring for write events.
  Return the list of file descriptors currently monitored for input events by the reactor.
| Returns | the list of file descriptors monitored for input events. (type: listofIReadDescriptor) | |
Return the list file descriptors currently monitored for output events by the reactor.
| Returns | the list of file descriptors monitored for output events. (type: listofIWriteDescriptor) | |
Remove all readers and writers.
Should not remove reactor internal reactor connections (like a waker).
| Returns | A list of IReadDescriptorandIWriteDescriptorproviders which were removed. | |