t.c.m.BufferingMixin : class documentation

Part of twisted.conch.mixin View Source View In Hierarchy

Mixin which adds write buffering.
Method schedule Undocumented
Method reschedule Undocumented
Method write Buffer some bytes to be written soon.
Method flush Flush the buffer immediately.
def schedule(self): (source)
Undocumented
def reschedule(self, token): (source)
Undocumented
def write(self, bytes): (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 at 2014-05-12 18:27:00.