Home | Trees | Index | Help |
---|
Package twisted :: Package internet :: Module default :: Class SelectReactor |
|
ReactorBase
--+ |PosixReactorBase
--+ | SelectReactor
PortableGtkReactor
,
PortableGtkReactor
Method Summary | |
---|---|
__init__(self)
(inherited from ReactorBase )
| |
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.IReactorThreads.callFromThread. (inherited from ReactorBase )
| |
See twisted.internet.interfaces.IReactorThreads.callInThread. (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 )
| |
connectWith(self,
connectorType,
*args,
**kw)
(inherited from PosixReactorBase )
| |
See twisted.internet.interfaces.IReactorCore.crash. (inherited from ReactorBase )
| |
Disconnect every reader, and writer in the system. (inherited from ReactorBase )
| |
Run one iteration of the I/O monitor loop. | |
Do one iteration over the readers and writers we know about. (inherited from ReactorBase )
| |
Run one iteration of the I/O monitor loop. | |
See twisted.internet.interfaces.IReactorCore.fireSystemEvent. (inherited from ReactorBase )
| |
getDelayedCalls(self)
(inherited from ReactorBase )
| |
initThreads(self)
(inherited from ReactorBase )
| |
installResolver(self,
resolver)
(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 )
| |
listenWith(self,
portType,
*args,
**kw)
(inherited from PosixReactorBase )
| |
mainLoop(self)
(inherited from PosixReactorBase )
| |
Remove all readers and writers, and return list of Selectables. | |
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 )
| |
run(self,
installSignalHandlers)
(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 )
| |
spawnProcess(self,
processProtocol,
executable,
args,
env,
path,
uid,
gid,
usePTY)
(inherited from PosixReactorBase )
| |
startRunning(self,
installSignalHandlers)
(inherited from PosixReactorBase )
| |
See twisted.internet.interfaces.IReactorCore.stop. (inherited from ReactorBase )
| |
See twisted.internet.interfaces.IReactorThreads.suggestThreadPoolSize. (inherited from ReactorBase )
| |
timeout(self)
(inherited from ReactorBase )
| |
Wake up the event loop. (inherited from ReactorBase )
| |
_cbContinueSystemEvent(self,
result,
eventType)
(inherited from ReactorBase )
| |
_continueSystemEvent(self,
eventType)
(inherited from ReactorBase )
| |
_doReadOrWrite(self,
selectable,
method,
dict,
faildict)
| |
Reap all processes on SIGCHLD. (inherited from PosixReactorBase )
| |
Install the signal handlers for the Twisted event loop. (inherited from PosixReactorBase )
| |
_initThreadPool(self)
(inherited from ReactorBase )
| |
_internalResolve(self,
name,
timeout)
(inherited from ReactorBase )
| |
_preenDescriptors(self)
| |
_resetCallLater(self,
tple)
(inherited from ReactorBase )
|
Class Variable Summary | |
---|---|
tuple |
__implements__
|
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&nb..., writes={}, rhk=<built-in method has_key of dict&n..., whk=<built-in method has_key of dict&n...)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&nb..., writes={}, rhk=<built-in method has_key of dict&n..., whk=<built-in method has_key of dict&n...)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 1.1 on Thu May 8 13:18:25 2003 | http://epydoc.sf.net |