Package twisted :: Package internet :: Module default :: Class _UnixWaker
[frames | no frames]

Class _UnixWaker

Ephemeral --+
            |
   Logger --+
            |
           _UnixWaker


This class provides a simple interface to wake up the select() loop.

This is necessary only in multi-threaded programs.
Method Summary
  __init__(self, reactor)
Initialize.
  connectionLost(self, reason)
Close both ends of my pipe.
  doRead(self)
Read one byte from the pipe.
  wakeUp(self)
Write one byte to the pipe, and flush it.
    Inherited from Logger
  logPrefix(self)
Override this method to insert custom logging behavior.
    Inherited from Ephemeral
  __getstate__(self)
  __setstate__(self, state)

Class Variable Summary
int disconnected = 0                                                                     

Method Details

__init__(self, reactor)
(Constructor)

Initialize.

connectionLost(self, reason)

Close both ends of my pipe.

doRead(self)

Read one byte from the pipe.

wakeUp(self)

Write one byte to the pipe, and flush it.

Class Variable Details

disconnected

Type:
int
Value:
0                                                                     

Generated by Epydoc 2.0 on Tue Dec 9 17:48:11 2003 http://epydoc.sf.net