Table of Contents

Class: PosixReactorBase Twisted-0.19.0/twisted/internet/default.py

A basis for reactors that use file descriptors.

Base Classes   
ReactorBase
Methods   
__init__
_handleSignals
clientSSL
clientTCP
clientUNIX
installWaker
listenSSL
listenTCP
listenUDP
listenUNIX
mainLoop
run
spawnProcess
startRunning
  __init__ 
__init__ ( self,  installSignalHandlers=1 )

  _handleSignals 
_handleSignals ( self )

Install the signal handlers for the Twisted event loop.

  clientSSL 
clientSSL (
        self,
        host,
        port,
        protocol,
        contextFactory,
        timeout=30,
        )

  clientTCP 
clientTCP (
        self,
        host,
        port,
        protocol,
        timeout=30,
        )

See twisted.internet.interfaces.IReactorTCP.clientTCP

  clientUNIX 
clientUNIX (
        self,
        address,
        protocol,
        timeout=30,
        )

See twisted.internet.interfaces.IReactorUNIX.clientUNIX

  installWaker 
installWaker ( self )

Install a `waker' to allow other threads to wake up the IO thread.

  listenSSL 
listenSSL (
        self,
        port,
        factory,
        contextFactory,
        backlog=5,
        interface='',
        )

  listenTCP 
listenTCP (
        self,
        port,
        factory,
        backlog=5,
        interface='',
        )

See twisted.internet.interfaces.IReactorTCP.listenTCP

  listenUDP 
listenUDP (
        self,
        port,
        factory,
        interface='',
        maxPacketSize=8192,
        )

See twisted.internet.interfaces.IReactorUDP.listenUDP

  listenUNIX 
listenUNIX (
        self,
        address,
        factory,
        backlog=5,
        )

Listen on a UNIX socket.

  mainLoop 
mainLoop ( self )

  run 
run ( self )

  spawnProcess 
spawnProcess (
        self,
        processProtocol,
        executable,
        args=(),
        env={},
        path=None,
        uid=None,
        gid=None,
        )

Exceptions   
NotImplementedError, "process only available in this reactor on POSIX"
  startRunning 
startRunning ( self )


Table of Contents

This document was automatically generated on Sun Jul 14 19:52:41 2002 by HappyDoc version 2.0