Home | Trees | Index | Help |
---|
Package twisted :: Package internet :: Module default :: Class PosixReactorBase |
|
ReactorBase
--+
|
PosixReactorBase
SelectReactor
,
Gtk2Reactor
,
GtkReactor
,
PollReactor
,
Win32Reactor
Method Summary | |
---|---|
__init__(self,
installSignalHandlers)
| |
addReader(self,
reader)
(inherited from ReactorBase )
| |
See twisted.internet.interfaces.IReactorCore.addSystemEventTrigger. (inherited from ReactorBase )
| |
addWriter(self,
writer)
(inherited from ReactorBase )
| |
See twisted.internet.interfaces.IReactorCore.callFromThread. (inherited from ReactorBase )
| |
callInThread(self,
callable,
*args,
**kwargs)
(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. | |
| |
| |
Connects a ConnectedDatagramProtocol instance to a UDP
port. | |
| |
connectWith(self,
connectorType,
*args,
**kw)
| |
See twisted.internet.interfaces.IReactorCore.crash. (inherited from ReactorBase )
| |
Disconnect every reader, and writer in the system. (inherited from ReactorBase )
| |
Do one iteration over the readers and writers we know about. (inherited from ReactorBase )
| |
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. | |
See twisted.internet.interfaces.IReactorCore.iterate. (inherited from ReactorBase )
| |
Connects a given DatagramProtocol to the given numeric UDP port. | |
| |
| |
Connects a given DatagramProtocol to the given numeric UDP
port. | |
| |
listenWith(self,
portType,
*args,
**kw)
| |
mainLoop(self)
| |
removeAll(self)
(inherited from ReactorBase )
| |
removeReader(self,
reader)
(inherited from ReactorBase )
| |
See twisted.internet.interfaces.IReactorCore.removeSystemEventTrigger. (inherited from ReactorBase )
| |
removeWriter(self,
writer)
(inherited from ReactorBase )
| |
Return a Deferred that will resolve a hostname. (inherited from ReactorBase )
| |
run(self)
| |
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)
| |
startRunning(self)
| |
See twisted.internet.interfaces.IReactorCore.stop. (inherited from ReactorBase )
| |
suggestThreadPoolSize(self,
size)
(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 )
| |
Install the signal handlers for the Twisted event loop. | |
_initThreadPool(self)
(inherited from ReactorBase )
| |
_internalResolve(self,
name,
timeout)
(inherited from ReactorBase )
| |
_resetCallLater(self,
tple)
(inherited from ReactorBase )
|
Class Variable Summary | |
---|---|
tuple |
__implements__
|
Method Details |
---|
connectMulticast(self, remotehost, remoteport, protocol, localport=0, interface='', maxPacketSize=8192)Connects a ConnectedDatagramProtocol instance to a UDP port. EXPERIMENTAL. |
connectSSL(self, host, port, factory, contextFactory, timeout=30, bindAddress=None)
|
connectTCP(self, host, port, factory, timeout=30, bindAddress=None)
|
connectUDP(self, remotehost, remoteport, protocol, localport=0, interface='', maxPacketSize=8192)Connects a |
connectUNIX(self, address, factory, timeout=30)
|
installWaker(self)Install a `waker' to allow other threads to wake up the IO thread. |
listenMulticast(self, port, protocol, interface='', maxPacketSize=8192)Connects a given DatagramProtocol to the given numeric UDP port. EXPERIMENTAL.
|
listenSSL(self, port, factory, contextFactory, backlog=5, interface='')
|
listenTCP(self, port, factory, backlog=5, interface='')
|
listenUDP(self, port, protocol, interface='', maxPacketSize=8192)Connects a given
|
listenUNIX(self, address, factory, backlog=5)
|
_handleSignals(self)Install the signal handlers for the Twisted event loop. |
Class Variable Details |
---|
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Sat Feb 15 21:19:03 2003 | http://epydoc.sf.net |