Home | Trees | Index | Help |
|
---|
Package twisted :: Package internet :: Module pollreactor :: Class PollReactor |
|
ReactorBase
--+ |PosixReactorBase
--+ | PollReactor
Method Summary | |
---|---|
_dictRemove(self,
selectable,
mdict)
| |
_doReadOrWrite(self,
selectable,
fd,
event,
POLLIN,
POLLOUT,
log,
faildict)
| |
Register/unregister an fd with the poller. | |
Add a FileDescriptor for notification of data available to read. | |
Add a FileDescriptor for notification of data available to write. | |
Poll the poller for new events. | |
Poll the poller for new events. | |
Remove all selectables, and return a list of them. | |
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 | |
---|---|
Inherited from PosixReactorBase | |
tuple |
__implements__ = ((<class twisted.internet.interfaces.IR...
|
Inherited from ReactorBase | |
str |
__name__ = 'ReactorBase'
|
NoneType |
_lock = None |
int |
installed = 0 |
NoneType |
threadCallQueue = None |
NoneType |
threadpool = None |
Method Details |
---|
_updateRegistration(self, fd)Register/unregister an fd with the poller. |
addReader(self, reader)Add a FileDescriptor for notification of data available to read.
|
addWriter(self, writer, writes={}, selectables={})Add a FileDescriptor for notification of data available to write.
|
doIteration(self, timeout, reads={}, writes={}, selectables={}, select=<module 'select' from '/usr/lib/python2.2/lib-dynload/sel..., log=<module 'twisted.python.log' from './twisted/python/log.py'>, POLLIN=1, POLLOUT=4)Poll the poller for new events. |
doPoll(self, timeout, reads={}, writes={}, selectables={}, select=<module 'select' from '/usr/lib/python2.2/lib-dynload/sel..., log=<module 'twisted.python.log' from './twisted/python/log.py'>, POLLIN=1, POLLOUT=4)Poll the poller for new events. |
removeAll(self, reads={}, writes={}, selectables={})Remove all selectables, and return a list of them.
|
removeReader(self, reader, reads={})Remove a Selectable for notification of data available to read. |
removeWriter(self, writer, writes={})Remove a Selectable for notification of data available to write. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat May 15 20:07:59 2004 | http://epydoc.sf.net |