class documentation

class twisted.conch.mixin.BufferingMixin: (source)

View In Hierarchy

Mixin which adds write buffering.

Instance Variable data Undocumented
Class Variable DELAY Undocumented
Method schedule Undocumented
Method reschedule Undocumented
Method write Buffer some bytes to be written soon.
Method flush Flush the buffer immediately.
Instance Variable _delayedWriteCall Undocumented
_delayedWriteCall = (source)

Undocumented

data = (source)

Undocumented

DELAY = (source)

Undocumented

(type: float)
def schedule(self): (source)

Undocumented

def reschedule(self, token): (source)

Undocumented

def write(self, data): (source)

Buffer some bytes to be written soon.

Every call to this function delays the real write by self.DELAY seconds. When the delay expires, all collected bytes are written to the underlying transport using ITransport.writeSequence.

def flush(self): (source)

Flush the buffer immediately.

API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.