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

Class 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 1.2 prerelease on Wed Jan 29 06:29:10 2003 http://epydoc.sf.net