Home | Trees | Index | Help |
---|
Package twisted :: Package internet :: Module pollreactor :: Class PollReactor |
|
ReactorBase
--+ |PosixReactorBase
--+ | PollReactor
Method Summary | |
---|---|
(inherited from PosixReactorBase )
| |
Add a FileDescriptor for notification of data available to read. | |
See twisted.internet.interfaces.IReactorCore.addSystemEventTrigger. (inherited from ReactorBase )
| |
Add a FileDescriptor for notification of data available to write. | |
See twisted.internet.interfaces.IReactorCore.callFromThread. (inherited from ReactorBase )
| |
(inherited from ReactorBase )
| |
See twisted.internet.interfaces.IReactorTime.callLater. (inherited from ReactorBase )
| |
See twisted.internet.interfaces.IReactorTime.cancelCallLater. (inherited from ReactorBase )
| |
Deprecated - use connectSSL instead. (inherited from ReactorBase )
| |
Deprecated - use connectTCP instead. (inherited from ReactorBase )
| |
Deprecated - use connectUNIX instead. (inherited from ReactorBase )
| |
Connects a ConnectedDatagramProtocol instance to a UDP port. (inherited from PosixReactorBase )
| |
(inherited from PosixReactorBase )
| |
(inherited from PosixReactorBase )
| |
Connects a ConnectedDatagramProtocol instance to a UDP
port. (inherited from PosixReactorBase )
| |
(inherited from PosixReactorBase )
| |
See twisted.internet.interfaces.IReactorCore.crash. (inherited from ReactorBase )
| |
Disconnect every reader, and writer in the system. (inherited from ReactorBase )
| |
Poll the poller for new events. | |
Do one iteration over the readers and writers we know about. (inherited from ReactorBase )
| |
Poll the poller for new events. | |
See twisted.internet.interfaces.IReactorCore.fireSystemEvent. (inherited from ReactorBase )
| |
(inherited from ReactorBase )
| |
(inherited from ReactorBase )
| |
(inherited from ReactorBase )
| |
Install a `waker' to allow other threads to wake up the IO thread. (inherited from PosixReactorBase )
| |
See twisted.internet.interfaces.IReactorCore.iterate. (inherited from ReactorBase )
| |
Connects a given DatagramProtocol to the given numeric UDP port. (inherited from PosixReactorBase )
| |
(inherited from PosixReactorBase )
| |
(inherited from PosixReactorBase )
| |
Connects a given DatagramProtocol to the given numeric UDP
port. (inherited from PosixReactorBase )
| |
(inherited from PosixReactorBase )
| |
(inherited from PosixReactorBase )
| |
Remove all selectables, and return a list of them. | |
Remove a Selectable for notification of data available to read. | |
See twisted.internet.interfaces.IReactorCore.removeSystemEventTrigger. (inherited from ReactorBase )
| |
Remove a Selectable for notification of data available to write. | |
Return a Deferred that will resolve a hostname. (inherited from ReactorBase )
| |
(inherited from PosixReactorBase )
| |
Run all pending timed calls. (inherited from ReactorBase )
| |
Handle a SIGBREAK interrupt. (inherited from ReactorBase )
| |
Handle a SIGINT interrupt. (inherited from ReactorBase )
| |
Handle a SIGTERM interrupt. (inherited from ReactorBase )
| |
(inherited from PosixReactorBase )
| |
(inherited from PosixReactorBase )
| |
See twisted.internet.interfaces.IReactorCore.stop. (inherited from ReactorBase )
| |
(inherited from ReactorBase )
| |
(inherited from ReactorBase )
| |
Wake up the event loop. (inherited from ReactorBase )
|
Method Details |
---|
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..., log=<module 'twisted.python.log' from './tw..., POLLIN=1, POLLOUT=4)Poll the poller for new events. |
doPoll(self, timeout, reads={}, writes={}, selectables={}, select=<module 'select' from '/usr/lib/python2..., log=<module 'twisted.python.log' from './tw..., POLLIN=1, POLLOUT=4)Poll the poller for new events. |
removeAll(self)Remove all selectables, and return a list of them.
|
removeReader(self, reader)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 1.2 prerelease on Wed Jan 29 06:25:40 2003 | http://epydoc.sf.net |