Package twisted :: Package internet :: Module process :: Class ProcessError |
[show private | hide private]
[frames | no frames]

## Class ProcessError

        Logger --+
                 |
     Ephemeral --+
                 |
    FileDescriptor --+
                     |
                    ProcessError

ProcessError

I am a selectable representation of a process's stderr.

Method Summary
| ``__init__`(self, proc)` Initialize, specifying a process to connect to.
| `__getstate__(self)` (inherited from `Ephemeral`)
| `__setstate__(self, state)` (inherited from `Ephemeral`)
| ``connectionLost`(self, reason)` I close my process's stderr.
| ``doRead`(self)` Call back to my process's doError.
| ``doWrite`(self)` Called when data is available for writing. (inherited from `FileDescriptor`)
| ``fileno`(self)` Return the fileno() of my process's stderr.
| ``logPrefix`(self)` Override this method to insert custom logging behavior. (inherited from `Logger`)
| ``loseConnection`(self)` Close the connection at the next available opportunity. (inherited from `FileDescriptor`)
| `pauseProducing(self)` (inherited from `FileDescriptor`)
| ``registerProducer`(self, producer, streaming)` Register to receive data from a producer. (inherited from `FileDescriptor`)
| `resumeProducing(self)` (inherited from `FileDescriptor`)
| ``startReading`(self)` Start waiting for read availability. (inherited from `FileDescriptor`)
| ``startWriting`(self)` Start waiting for write availability. (inherited from `FileDescriptor`)
| ``stopConsuming`(self)` Stop consuming data. (inherited from `FileDescriptor`)
| `stopProducing(self)` (inherited from `FileDescriptor`)
| ``stopReading`(self)` Stop waiting for read availability. (inherited from `FileDescriptor`)
| ``stopWriting`(self)` Stop waiting for write availability. (inherited from `FileDescriptor`)
| ``unregisterProducer`(self)` Stop consuming data from a producer, without disconnecting. (inherited from `FileDescriptor`)
| ``write`(self, data)` Reliably write some data. (inherited from `FileDescriptor`)
| `writeSequence(self, iovec)` (inherited from `FileDescriptor`)
| ``writeSomeData`(self, data)` Write as much as possible of the given data, immediately. (inherited from `FileDescriptor`)
| ``_postLoseConnection`(self)` Called after a loseConnection(), when all data has been written. (inherited from `FileDescriptor`)

Method Details

### __init__(self, proc) (Constructor) Initialize, specifying a process to connect to.

### connectionLost(self, reason) I close my process's stderr.

### doRead(self) Call back to my process's doError.

### fileno(self) Return the fileno() of my process's stderr.

Generated by Epydoc 1.1 on Thu May 8 13:18:27 2003 | http://epydoc.sf.net