Home | Trees | Index | Help |
|
---|
Package twisted :: Package internet :: Module default :: Class SelectReactor |
|
ReactorBase
--+ |PosixReactorBase
--+ | SelectReactor
PortableGtkReactor
,
PortableGtkReactor
Method Summary | |
---|---|
_doReadOrWrite(self,
selectable,
method,
dict,
faildict)
| |
_preenDescriptors(self)
| |
Add a FileDescriptor for notification of data available to read. | |
Add a FileDescriptor for notification of data available to write. | |
Run one iteration of the I/O monitor loop. | |
Run one iteration of the I/O monitor loop. | |
Remove all readers and writers, and return list of Selectables. | |
Remove a Selectable for notification of data available to read. | |
Remove a Selectable for notification of data available to write. | |
Inherited from PosixReactorBase | |
| |
Reap all processes on SIGCHLD. | |
Install the signal handlers for the Twisted event loop. | |
Connects a ConnectedDatagramProtocol instance to a UDP port. | |
| |
| |
DEPRECATED. | |
| |
Connects a ConnectedDatagramProtocol instance to a
path. | |
| |
Install a `waker' to allow threads and signals to wake up the IO thread. | |
Connects a given DatagramProtocol to the given numeric UDP port. | |
| |
| |
Connects a given DatagramProtocol to the given numeric
UDP port. | |
| |
Connects a given DatagramProtocol to the given path. | |
| |
| |
| |
| |
| |
Inherited from ReactorBase | |
| |
| |
| |
| |
| |
See twisted.internet.interfaces.IReactorCore.addSystemEventTrigger. | |
See twisted.internet.interfaces.IReactorThreads.callFromThread. | |
See twisted.internet.interfaces.IReactorThreads.callInThread. | |
See twisted.internet.interfaces.IReactorTime.callLater. | |
See twisted.internet.interfaces.IReactorCore.callWhenRunning. | |
See twisted.internet.interfaces.IReactorTime.cancelCallLater. | |
Deprecated - use connectSSL instead. | |
Deprecated - use connectTCP instead. | |
Deprecated - use connectUNIX instead. | |
See twisted.internet.interfaces.IReactorCore.crash. | |
Disconnect every reader, and writer in the system. | |
See twisted.internet.interfaces.IReactorCore.fireSystemEvent. | |
| |
| |
| |
See twisted.internet.interfaces.IReactorCore.iterate. | |
See twisted.internet.interfaces.IReactorCore.removeSystemEventTrigger. | |
Return a Deferred that will resolve a hostname. | |
Run all pending timed calls. | |
Handle a SIGBREAK interrupt. | |
Handle a SIGINT interrupt. | |
Handle a SIGTERM interrupt. | |
See twisted.internet.interfaces.IReactorCore.stop. | |
See twisted.internet.interfaces.IReactorThreads.suggestThreadPoolSize. | |
| |
Wake up the event loop. |
Class Variable Summary | |
---|---|
tuple |
__implements__ = (((<class twisted.internet.interfaces.I...
|
Inherited from ReactorBase | |
str |
__name__ = 'ReactorBase'
|
NoneType |
_lock = None |
int |
installed = 0 |
NoneType |
threadCallQueue = None |
NoneType |
threadpool = None |
Method Details |
---|
addReader(self, reader)Add a FileDescriptor for notification of data available to read.
|
addWriter(self, writer)Add a FileDescriptor for notification of data available to write.
|
doIteration(self, timeout, reads={<twisted.internet.default._UnixWaker instance at 0x81f2c..., writes={})Run one iteration of the I/O monitor loop. This will run all selectables who had input or output readiness waiting for them. |
doSelect(self, timeout, reads={<twisted.internet.default._UnixWaker instance at 0x81f2c..., writes={})Run one iteration of the I/O monitor loop. This will run all selectables who had input or output readiness waiting for them. |
removeAll(self)Remove all readers and writers, and return list of Selectables.
|
removeReader(self, reader)Remove a Selectable for notification of data available to read. |
removeWriter(self, writer)Remove a Selectable for notification of data available to write. |
Class Variable Details |
---|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat May 15 20:08:44 2004 | http://epydoc.sf.net |