Go to the latest version of this document.

# ``twisted`.`internet`.`_pollingfile`.`_PollableReadPipe``

class documentation

`class _PollableReadPipe(_PollableResource): (source)`

Constructor: `_PollableReadPipe(pipe, receivedCallback, lostCallback)`

Implements interfaces: `twisted.internet.interfaces.IPushProducer`

View In Hierarchy

Undocumented

Method | `__init__` | Undocumented
Method | `checkWork` | Undocumented
Method | `cleanup` | Undocumented
Method | `close` | Undocumented
Method | `pauseProducing` | Pause producing data.
Method | `resumeProducing` | Resume producing data.
Method | `stopProducing` | Stop producing data.
Instance Variable | `lostCallback` | Undocumented
Instance Variable | `pipe` | Undocumented
Instance Variable | `receivedCallback` | Undocumented

Inherited from `_PollableResource`:

Method | `activate` | Undocumented
Method | `deactivate` | Undocumented
Instance Variable | `active` | Undocumented

def __init__(self, pipe, receivedCallback, lostCallback): (source)

Undocumented

def checkWork(self): (source)

Undocumented

def cleanup(self): (source)

Undocumented

def close(self): (source)

Undocumented

def pauseProducing(self): (source)
from `twisted.internet.interfaces.IPushProducer`

Pause producing data.

Tells a producer that it has produced too much data to process for the time being, and to stop until `resumeProducing()` is called.

def resumeProducing(self): (source)
from `twisted.internet.interfaces.IPushProducer`

Resume producing data.

This tells a producer to re-add itself to the main loop and produce more data for its consumer.

def stopProducing(self): (source)
from `twisted.internet.interfaces.IProducer`

Stop producing data.

This tells a producer that its consumer has died, so it must stop producing data for good.

lostCallback = (source)

Undocumented

pipe = (source)

Undocumented

receivedCallback = (source)

Undocumented