class documentation
class _PollableWritePipe(_PollableResource): (source)
Constructor: _PollableWritePipe(writePipe, lostCallback)
Implements interfaces: twisted.internet.interfaces.IConsumer
Undocumented
Method | __init__ |
Undocumented |
Method | buffer |
Undocumented |
Method | buffer |
Undocumented |
Method | check |
Undocumented |
Method | close |
Undocumented |
Method | register |
Register to receive data from a producer. |
Method | unregister |
Stop consuming data from a producer, without disconnecting. |
Method | write |
Append some bytes to the output buffer. |
Method | write |
Undocumented |
Method | write |
Append a list or tuple of bytes to the output buffer. |
Instance Variable | disconnecting |
Undocumented |
Instance Variable | lost |
Undocumented |
Instance Variable | out |
Undocumented |
Instance Variable | producer |
Undocumented |
Instance Variable | producer |
Undocumented |
Instance Variable | streaming |
Undocumented |
Instance Variable | write |
Undocumented |
Inherited from _PollableResource
:
Method | activate |
Undocumented |
Method | deactivate |
Undocumented |
Instance Variable | active |
Undocumented |
Register to receive data from a producer.
This sets this selectable to be a consumer for a producer. When this selectable runs out of data on a write() call, it will ask the producer to resumeProducing(). A producer should implement the IProducer interface.
FileDescriptor provides some infrastructure for producer methods.
Append some bytes to the output buffer.
Parameters | |
data:str. | str to be appended to the output buffer. |
Raises | |
TypeError | If data is unicode instead of str. |
Append a list or tuple of bytes to the output buffer.
Parameters | |
seq | list or tuple of str instances to be appended to the output buffer. |
Raises | |
TypeError | If seq contains unicode. |