class documentation

class BufferingMixin: (source)

View In Hierarchy

Mixin which adds write buffering.
Method flush Flush the buffer immediately.
Method reschedule Undocumented
Method schedule Undocumented
Method write Buffer some bytes to be written soon.
Class Variable DELAY Undocumented
Instance Variable data Undocumented
Instance Variable _delayedWriteCall Undocumented
def flush(self): (source)
Flush the buffer immediately.
def reschedule(self, token): (source)

Undocumented

def schedule(self): (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.

DELAY: float = (source)

Undocumented

data = (source)

Undocumented

_delayedWriteCall = (source)

Undocumented