class documentation

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.
Method pump Move data back and forth, while also triggering any currently pending scheduled calls (i.e. callLater(0, f)).
Instance Variable client Undocumented
Instance Variable clientIO Undocumented
Instance Variable clock Undocumented
Instance Variable debug Undocumented
Instance Variable server Undocumented
Instance Variable serverIO Undocumented
def __init__(self, client, server, clientIO, serverIO, debug, clock=None):

Undocumented

def flush(self, debug=False, advanceClock=True):

Pump until there is no more input or output.

Returns whether any data was moved.

def pump(self, debug=False, advanceClock=True):

Move data back and forth, while also triggering any currently pending scheduled calls (i.e. callLater(0, f)).

Returns whether any data was moved.

client =

Undocumented

clientIO =

Undocumented

clock =

Undocumented

debug =

Undocumented

server =

Undocumented

serverIO =

Undocumented