tubes.framing._FramesToSegments(object)
class documentationtubes.framing
(View In Hierarchy)
Method | __init__ | Undocumented |
Method | started | Flush any greeting data that has come from the wrapped framing parser. |
Method | received | A frame was received, manipulate it and yield a segment or segments. |
Method | _unflush | Put the given segments into the output buffer. |
Method | _flush | Clear the output buffer and return its previous contents. |
Flush any greeting data that has come from the wrapped framing parser.
Returns | any bytes written by makeConnection |
A frame was received, manipulate it and yield a segment or segments.
Parameters | data | a frame. |
Returns | a sequence of segments with appropriate framing information embedded to
frame data . |
Put the given segments into the output buffer.
Parameters | input | some values written to the underlying receiver's transport. (type: bytes ) |