Trees | Index | Help |
---|
Package twisted :: Package internet :: Module posixbase :: Class PosixReactorBase |
|
ReactorBase
--+
|
PosixReactorBase
Method Summary | |
---|---|
__init__(self)
| |
| |
| |
Connects a ConnectedDatagramProtocol instance to a UDP port. | |
| |
Connects a ConnectedDatagramProtocol instance to a UDP port. | |
connectWith(self,
connectorType,
*args,
**kw)
| |
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 numeric UDP port. | |
listenWith(self,
portType,
*args,
**kw)
| |
mainLoop(self)
| |
run(self,
installSignalHandlers)
| |
spawnProcess(self,
processProtocol,
executable,
args,
env,
path,
uid,
gid,
usePTY,
childFDs)
| |
startRunning(self,
installSignalHandlers)
|
Class Variable Summary | |
---|---|
Implements |
__implemented__ = <implementedBy twisted.internet.posixb...
|
_implementsTuple |
__implements__ = (<MetaInterface twisted.internet.interf...
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
Method Details |
---|
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 ConnectedDatagramProtocol instance to a UDP port. EXPERIMENTAL. |
connectUNIX(self, address, factory, timeout=30, checkPID=0)
|
connectUNIXDatagram(self, remotehost, remoteport, protocol, localport=0, interface='', maxPacketSize=8192)Connects a ConnectedDatagramProtocol instance to a UDP port. EXPERIMENTAL. |
installWaker(self)Install a `waker' to allow threads and signals to wake up the IO thread. We use the self-pipe trick (http://cr.yp.to/docs/selfpipe.html) to wake the reactor. On Windows we use a pair of sockets. |
listenMulticast(self, port, protocol, interface='', maxPacketSize=8192, listenMultiple=False)Connects a given DatagramProtocol to the given numeric UDP port. EXPERIMENTAL.
|
listenSSL(self, port, factory, contextFactory, backlog=5, interface='')
|
listenTCP(self, port, factory, backlog=50, interface='')
|
listenUDP(self, port, protocol, interface='', maxPacketSize=8192)Connects a given DatagramProtocol to the given numeric UDP port. EXPERIMENTAL.
|
listenUNIX(self, address, factory, backlog=5, mode=438, wantPID=0)
|
listenUNIXDatagram(self, port, protocol, interface='', maxPacketSize=8192)Connects a given DatagramProtocol to the given numeric UDP port. EXPERIMENTAL.
|
Class Variable Details |
---|
__implemented__
|
__provides__
|
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Sun Sep 4 00:24:43 2005 | http://epydoc.sf.net |