Package twisted :: Package test :: Module testutils :: Class IOPump
[show private | hide private]
[frames | no frames]

Class IOPump

Known Subclasses:
IOPump

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

Perhaps this is a utility worthy of being in protocol.py?
Method Summary
  __init__(self, client, server, clientIO, serverIO)
  flush(self)
Pump until there is no more input or output.
  pump(self)
Move data back and forth.

Method Details

flush(self)

Pump until there is no more input or output.

pump(self)

Move data back and forth.

Returns whether any data was moved.

Generated by Epydoc 2.1 on Tue Aug 17 17:08:21 2004 http://epydoc.sf.net