Home | Trees | Index | Help |
|
---|
Package twisted :: Package internet :: Module win32eventreactor :: Class Win32Reactor |
|
ReactorBase
--+ |PosixReactorBase
--+ | Win32Reactor
Method Summary | |
---|---|
Make a win32 event object for a socket. | |
_runAction(self,
action,
fd)
| |
_runWrite(self,
fd)
| |
Add a new win32 event to the event loop. | |
Add a socket FileDescriptor for notification of data available to read. | |
Add a socket FileDescriptor for notification of data available to write. | |
doIteration(self,
timeout,
reads,
writes)
| |
doWaitForMultipleEvents(self,
timeout,
reads,
writes)
| |
Remove all selectables, and return a list of them. | |
Remove an event. | |
Remove a Selectable for notification of data available to read. | |
Remove a Selectable for notification of data available to write. | |
Spawn a process. | |
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...
|
NoneType |
dummyEvent = None |
Inherited from ReactorBase | |
str |
__name__ = 'ReactorBase'
|
NoneType |
_lock = None |
int |
installed = 0 |
NoneType |
threadCallQueue = None |
NoneType |
threadpool = None |
Method Details |
---|
_makeSocketEvent(self, fd, action, why, events={})Make a win32 event object for a socket. |
addEvent(self, event, fd, action, events={})Add a new win32 event to the event loop. |
addReader(self, reader, reads={})Add a socket FileDescriptor for notification of data available to read.
|
addWriter(self, writer, writes={})Add a socket FileDescriptor for notification of data available to write.
|
removeAll(self)Remove all selectables, and return a list of them.
|
removeEvent(self, event)Remove an event. |
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. |
spawnProcess(self, processProtocol, executable, args=(), env={}, path=None, usePTY=0)Spawn a process. |
Class Variable Details |
---|
dummyEvent
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat May 15 20:08:43 2004 | http://epydoc.sf.net |