Table of Contents

Class: IOPump Twisted-0.19.0/twisted/test/testutils.py

Utility to pump data between clients and servers for protocol testing.

Perhaps this is a utility worthy of being in protocol.py?

Methods   
__init__
flush
pump
  __init__ 
__init__ (
        self,
        client,
        server,
        clientIO,
        serverIO,
        )

  flush 
flush ( self )

Pump until there is no more input or output.

  pump 
pump ( self )

Move data back and forth.

Returns whether any data was moved.


Table of Contents

This document was automatically generated on Sun Jul 14 19:53:27 2002 by HappyDoc version 2.0