twisted.spread.test.test_pb.IOPump class documentationtwisted.spread.test.test_pb
(View In Hierarchy)
Utility to pump data between clients and servers for protocol testing.
Perhaps this is a utility worthy of being in protocol.py?
| Method | __init__ | Undocumented | 
| Method | flush | Pump until there is no more input or output or until stopis called. This does not run any timers, so don't use it with any code that
calls reactor.callLater. | 
| Method | stop | Stop a running flushoperation, even if data remains to be transferred. | 
| Method | pump | Move data back and forth. | 
Pump until there is no more input or output or until stop 
is called. This does not run any timers, so don't use it with any code that
calls reactor.callLater.